mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove some global symbols
This commit is contained in:
@@ -38,6 +38,9 @@ extern "C" {
|
||||
typedef void (*CStyleReadFileCallback)(char const* _path, char** o_contents, char** o_error);
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
ReadFile::Callback wrapReadCallback(CStyleReadFileCallback _readCallback = nullptr)
|
||||
{
|
||||
ReadFile::Callback readCallback;
|
||||
@@ -260,6 +263,8 @@ string compileStandardInternal(string const& _input, CStyleReadFileCallback _rea
|
||||
return compiler.compile(_input);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static string s_outputBuffer;
|
||||
|
||||
extern "C"
|
||||
|
||||
Reference in New Issue
Block a user