diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-18 22:20:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-18 22:20:56 +0800 |
commit | f676325d60dbc6c1120ce5a4478f363622c1b1cf (patch) | |
tree | 83eabcc9ff5b5481da4f98ab8b4d2dde34e0299b /libsolidity/codegen/ABIFunctions.h | |
parent | f473a43a25b562ee91aa8ddddd35f4174e0d4456 (diff) | |
parent | c001903cdc6db97f437150375a9b5343c70c3656 (diff) | |
download | dexon-solidity-f676325d60dbc6c1120ce5a4478f363622c1b1cf.tar dexon-solidity-f676325d60dbc6c1120ce5a4478f363622c1b1cf.tar.gz dexon-solidity-f676325d60dbc6c1120ce5a4478f363622c1b1cf.tar.bz2 dexon-solidity-f676325d60dbc6c1120ce5a4478f363622c1b1cf.tar.lz dexon-solidity-f676325d60dbc6c1120ce5a4478f363622c1b1cf.tar.xz dexon-solidity-f676325d60dbc6c1120ce5a4478f363622c1b1cf.tar.zst dexon-solidity-f676325d60dbc6c1120ce5a4478f363622c1b1cf.zip |
Merge pull request #1673 from ethereum/structs
Returning structs
Diffstat (limited to 'libsolidity/codegen/ABIFunctions.h')
-rw-r--r-- | libsolidity/codegen/ABIFunctions.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libsolidity/codegen/ABIFunctions.h b/libsolidity/codegen/ABIFunctions.h index 5bbd842f..de2a140a 100644 --- a/libsolidity/codegen/ABIFunctions.h +++ b/libsolidity/codegen/ABIFunctions.h @@ -123,6 +123,13 @@ private: bool _encodeAsLibraryTypes ); + /// Part of @a abiEncodingFunction for struct types. + std::string abiEncodingFunctionStruct( + StructType const& _givenType, + StructType const& _targetType, + bool _encodeAsLibraryTypes + ); + // @returns the name of the ABI encoding function with the given type // and queues the generation of the function to the requested functions. // Case for _givenType being a string literal |