diff options
author | chriseth <c@ethdev.com> | 2015-10-03 04:34:47 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-10-06 20:20:06 +0800 |
commit | 421dcf4c1a38a5e691aec5d791155adbcf732c90 (patch) | |
tree | 5798cb49bfd01ae81fa4bed88b0104797ea62ea7 /libsolidity/CompilerUtils.h | |
parent | 9cc7402c9583ca3bfc9fcb234443d2f90b890190 (diff) | |
download | dexon-solidity-421dcf4c1a38a5e691aec5d791155adbcf732c90.tar dexon-solidity-421dcf4c1a38a5e691aec5d791155adbcf732c90.tar.gz dexon-solidity-421dcf4c1a38a5e691aec5d791155adbcf732c90.tar.bz2 dexon-solidity-421dcf4c1a38a5e691aec5d791155adbcf732c90.tar.lz dexon-solidity-421dcf4c1a38a5e691aec5d791155adbcf732c90.tar.xz dexon-solidity-421dcf4c1a38a5e691aec5d791155adbcf732c90.tar.zst dexon-solidity-421dcf4c1a38a5e691aec5d791155adbcf732c90.zip |
Tests apart from new one work fine.
Diffstat (limited to 'libsolidity/CompilerUtils.h')
-rw-r--r-- | libsolidity/CompilerUtils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libsolidity/CompilerUtils.h b/libsolidity/CompilerUtils.h index 568a6307..f335eed5 100644 --- a/libsolidity/CompilerUtils.h +++ b/libsolidity/CompilerUtils.h @@ -91,13 +91,16 @@ public: /// @param _padToWordBoundaries if false, all values are concatenated without padding. /// @param _copyDynamicDataInPlace if true, dynamic types is stored (without length) /// together with fixed-length data. + /// @param _encodeAsLibraryTypes if true, encodes for a library function, e.g. does not + /// convert storage pointer types to memory types. /// @note the locations of target reference types are ignored, because it will always be /// memory. void encodeToMemory( TypePointers const& _givenTypes = {}, TypePointers const& _targetTypes = {}, bool _padToWordBoundaries = true, - bool _copyDynamicDataInPlace = false + bool _copyDynamicDataInPlace = false, + bool _encodeAsLibraryTypes = false ); /// Uses a CALL to the identity contract to perform a memory-to-memory copy. |