mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Style.
This commit is contained in:
parent
52ef07695a
commit
cb869fd5a4
@ -218,7 +218,7 @@ string compileSingle(string const& _input, bool _optimize)
|
||||
return compile(sources, _optimize);
|
||||
}
|
||||
|
||||
static string outputBuffer;
|
||||
static string s_outputBuffer;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
@ -228,12 +228,12 @@ extern char const* version()
|
||||
}
|
||||
extern char const* compileJSON(char const* _input, bool _optimize)
|
||||
{
|
||||
outputBuffer = compileSingle(_input, _optimize);
|
||||
return outputBuffer.c_str();
|
||||
s_outputBuffer = compileSingle(_input, _optimize);
|
||||
return s_outputBuffer.c_str();
|
||||
}
|
||||
extern char const* compileJSONMulti(char const* _input, bool _optimize)
|
||||
{
|
||||
outputBuffer = compileMulti(_input, _optimize);
|
||||
return outputBuffer.c_str();
|
||||
s_outputBuffer = compileMulti(_input, _optimize);
|
||||
return s_outputBuffer.c_str();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user