From c55608f94b834d5286c4b638dd4daa77cf406807 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Wed, 7 Jan 2015 16:39:21 +0100 Subject: Solidity getInterfaceFunctions is now a map of hash to Function - Also introduced dependency between libsolidity and libdevcrypto - Compler's appendFunctionSelector now has a first version of using function signature hash instead of index --- AST.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'AST.h') 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 const& getDocumentation() const { return m_documentation; } - /// Returns the functions that make up the calling interface in the intended order. - std::vector getInterfaceFunctions() const; + /// @returns a map of canonical function signatures to FunctionDefinitions + /// as intended for use by the ABI. + std::map, FunctionDefinition const*> getInterfaceFunctions() const; /// Returns the constructor or nullptr if no constructor was specified FunctionDefinition const* getConstructor() const; -- cgit