mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Compiler version stamp.
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user