Compiler version stamp.

This commit is contained in:
chriseth
2015-10-06 14:20:06 +02:00
parent 44e42bf52e
commit 99351aebe0
7 changed files with 71 additions and 3 deletions
+6
View File
@@ -23,6 +23,7 @@
#pragma once
#include <string>
#include <libdevcore/Common.h>
namespace dev
{
@@ -32,5 +33,10 @@ namespace solidity
extern char const* VersionNumber;
extern std::string const VersionString;
/// @returns a binary form of the version string, where A.B.C-HASH is encoded such that
/// the first byte is zero, the following three bytes encode A B and C (interpreted as decimals)
/// and HASH is interpreted as 8 hex digits and encoded into the last four bytes.
bytes binaryVersion();
}
}