diff options
author | chriseth <c@ethdev.com> | 2015-01-09 18:22:59 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-01-09 18:22:59 +0800 |
commit | 42d186fdfca29fc23aff72b97493cdc8e03ed6b1 (patch) | |
tree | 4599ce43eb672644f93ac618c1fab2e0bb600407 /AST.h | |
parent | 23eff4d24a18b6a82565dbf5074c4e1ed313bb9e (diff) | |
parent | a36af5364c82f970fd9503833c04c1b5863e6697 (diff) | |
download | dexon-solidity-42d186fdfca29fc23aff72b97493cdc8e03ed6b1.tar dexon-solidity-42d186fdfca29fc23aff72b97493cdc8e03ed6b1.tar.gz dexon-solidity-42d186fdfca29fc23aff72b97493cdc8e03ed6b1.tar.bz2 dexon-solidity-42d186fdfca29fc23aff72b97493cdc8e03ed6b1.tar.lz dexon-solidity-42d186fdfca29fc23aff72b97493cdc8e03ed6b1.tar.xz dexon-solidity-42d186fdfca29fc23aff72b97493cdc8e03ed6b1.tar.zst dexon-solidity-42d186fdfca29fc23aff72b97493cdc8e03ed6b1.zip |
Merge pull request #754 from LefterisJP/sol_abiFunctionHash
Calculation of ABI Function Identifier Hash
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -183,8 +183,9 @@ public: /// Can contain a nullptr in which case indicates absence of documentation ASTPointer<ASTString> const& getDocumentation() const { return m_documentation; } - /// Returns the functions that make up the calling interface in the intended order. - std::vector<FunctionDefinition const*> getInterfaceFunctions() const; + /// @returns a map of canonical function signatures to FunctionDefinitions + /// as intended for use by the ABI. + std::map<FixedHash<4>, FunctionDefinition const*> getInterfaceFunctions() const; /// Returns the constructor or nullptr if no constructor was specified FunctionDefinition const* getConstructor() const; |