mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[refactor] Move copying struct to storage to it's own util function.
This commit is contained in:
committed by
chriseth
parent
dfcba3bbd3
commit
b06936b11c
@@ -483,6 +483,10 @@ public:
|
||||
std::string externalCodeFunction();
|
||||
|
||||
private:
|
||||
/// @returns function that copies struct to storage
|
||||
/// signature: (slot, value) ->
|
||||
std::string copyStructToStorageFunction(StructType const& _from, StructType const& _to);
|
||||
|
||||
/// Special case of conversion functions - handles all array conversions.
|
||||
std::string arrayConversionFunction(ArrayType const& _from, ArrayType const& _to);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user