diff options
author | Gav Wood <i@gavwood.com> | 2015-01-09 15:05:52 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-01-09 15:05:52 +0800 |
commit | 90cdc52ae788d24e79800bf44473f3c8c087c1f4 (patch) | |
tree | e694b29e26288e490fcb0914bb1fee3fd63e642d | |
parent | 9740a1b5dfbf983efa13c8da4955ef9ac20dd052 (diff) | |
download | dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.gz dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.bz2 dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.lz dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.xz dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.zst dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.zip |
Rename "JSON Documentation" -> Metadata.
solc integration for Solidity-format ABI.
-rw-r--r-- | SolidityABIJSON.cpp | 2 | ||||
-rw-r--r-- | SolidityNatspecJSON.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/SolidityABIJSON.cpp b/SolidityABIJSON.cpp index 714aa0f3..fdd0697a 100644 --- a/SolidityABIJSON.cpp +++ b/SolidityABIJSON.cpp @@ -50,7 +50,7 @@ public: msg += *extra; BOOST_FAIL(msg); } - std::string generatedInterfaceString = m_compilerStack.getJsonDocumentation("", DocumentationType::ABI_INTERFACE); + std::string generatedInterfaceString = m_compilerStack.getMetadata("", DocumentationType::ABI_INTERFACE); Json::Value generatedInterface; m_reader.parse(generatedInterfaceString, generatedInterface); Json::Value expectedInterface; diff --git a/SolidityNatspecJSON.cpp b/SolidityNatspecJSON.cpp index 5b48a67c..f6a33247 100644 --- a/SolidityNatspecJSON.cpp +++ b/SolidityNatspecJSON.cpp @@ -56,9 +56,9 @@ public: } if (_userDocumentation) - generatedDocumentationString = m_compilerStack.getJsonDocumentation("", DocumentationType::NATSPEC_USER); + generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NATSPEC_USER); else - generatedDocumentationString = m_compilerStack.getJsonDocumentation("", DocumentationType::NATSPEC_DEV); + generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NATSPEC_DEV); Json::Value generatedDocumentation; m_reader.parse(generatedDocumentationString, generatedDocumentation); Json::Value expectedDocumentation; |