aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-27 20:28:32 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-27 20:28:32 +0800
commita3d829d074859d748f1fd392acb8b5883f646e61 (patch)
tree83297cd3280973d788bc366bb04bf83c3ef339b0 /Types.h
parentb1ca27ea93907dc500d0b84298f5d63a9d4a7c1d (diff)
downloaddexon-solidity-a3d829d074859d748f1fd392acb8b5883f646e61.tar.gz
dexon-solidity-a3d829d074859d748f1fd392acb8b5883f646e61.tar.zst
dexon-solidity-a3d829d074859d748f1fd392acb8b5883f646e61.zip
added externalTypes function to functionType
removed flag for externalSigniture
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Types.h b/Types.h
index c075ff07..99fd878f 100644
--- a/Types.h
+++ b/Types.h
@@ -511,6 +511,9 @@ public:
Bare };
virtual Category getCategory() const override { return Category::Function; }
+
+ virtual TypePointer externalType() const override;
+
explicit FunctionType(FunctionDefinition const& _function, bool _isInternal = true);
explicit FunctionType(VariableDeclaration const& _varDecl);
explicit FunctionType(EventDefinition const& _event);
@@ -553,8 +556,7 @@ public:
/// @returns the external signature of this function type given the function name
/// If @a _name is not provided (empty string) then the @c m_declaration member of the
/// function type is used
- /// @a isExternalCall shows if it is external function call
- std::string externalSignature(bool isExternalCall = false, std::string const& _name = "") const;
+ std::string externalSignature(std::string const& _name = "") const;
Declaration const& getDeclaration() const
{
solAssert(m_declaration, "Requested declaration from a FunctionType that has none");