aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-12 22:44:35 +0800
committerChristian <c@ethdev.com>2015-02-12 22:44:35 +0800
commitb836d952b245935a0c03352fb0c80bd03c2f4b55 (patch)
treea3d7c60d0dbb60dce2bd916a5f0598044ffe6e0b /Types.cpp
parent5e40b7942689ffa5777ee88fe90d424608027656 (diff)
downloaddexon-solidity-b836d952b245935a0c03352fb0c80bd03c2f4b55.tar.gz
dexon-solidity-b836d952b245935a0c03352fb0c80bd03c2f4b55.tar.zst
dexon-solidity-b836d952b245935a0c03352fb0c80bd03c2f4b55.zip
length member for byte arrays.
Diffstat (limited to 'Types.cpp')
-rw-r--r--Types.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types.cpp b/Types.cpp
index b1029ec6..33cc8a1e 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -541,6 +541,8 @@ unsigned ByteArrayType::getSizeOnStack() const
return 1;
}
+const MemberList ByteArrayType::s_byteArrayMemberList = MemberList({{"length", make_shared<IntegerType >(256)}});
+
bool ContractType::operator==(Type const& _other) const
{
if (_other.getCategory() != getCategory())