aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-01-09 18:22:59 +0800
committerchriseth <c@ethdev.com>2015-01-09 18:22:59 +0800
commit42d186fdfca29fc23aff72b97493cdc8e03ed6b1 (patch)
tree4599ce43eb672644f93ac618c1fab2e0bb600407 /AST.h
parent23eff4d24a18b6a82565dbf5074c4e1ed313bb9e (diff)
parenta36af5364c82f970fd9503833c04c1b5863e6697 (diff)
downloaddexon-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/AST.h b/AST.h
index 8493d432..95121d4c 100644
--- a/AST.h
+++ b/AST.h
@@ -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;