mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add header for jsonCompiler
This commit is contained in:
+1
-7
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <libevmasm/Assembly.h>
|
||||
#include <libevmasm/ConstantOptimiser.h>
|
||||
#include <solc/jsonCompiler.h>
|
||||
|
||||
#include <json/json.h>
|
||||
|
||||
@@ -33,13 +34,6 @@ using namespace dev;
|
||||
using namespace dev::eth;
|
||||
namespace po = boost::program_options;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
extern char const* compileJSON(char const* _input, bool _optimize);
|
||||
typedef void (*CStyleReadFileCallback)(char const* _path, char** o_contents, char** o_error);
|
||||
extern char const* compileStandard(char const* _input, CStyleReadFileCallback _readCallback);
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
|
||||
@@ -23,22 +23,13 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <libdevcore/JSON.h>
|
||||
#include <libsolidity/interface/Version.h>
|
||||
#include <solc/jsonCompiler.h>
|
||||
|
||||
#include "../Metadata.h"
|
||||
#include "../TestHelper.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
extern char const* version();
|
||||
extern char const* license();
|
||||
extern char const* compileJSON(char const* _input, bool _optimize);
|
||||
extern char const* compileJSONMulti(char const* _input, bool _optimize);
|
||||
extern char const* compileJSONCallback(char const* _input, bool _optimize, void* _readCallback);
|
||||
extern char const* compileStandard(char const* _input, void* _readCallback);
|
||||
}
|
||||
|
||||
namespace dev
|
||||
{
|
||||
namespace solidity
|
||||
|
||||
Reference in New Issue
Block a user