aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/JSONCompiler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-29 07:34:39 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-29 20:43:55 +0800
commitc86181787575d8cb18eebc824bf323b63b0b5484 (patch)
treeba718a397fc797c41556f9ff08effab45d03f773 /test/libsolidity/JSONCompiler.cpp
parent2d39a42d37cd03e62d0295e8137f2c411b9b1b9f (diff)
downloaddexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.tar.gz
dexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.tar.zst
dexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.zip
Add header for jsonCompiler
Diffstat (limited to 'test/libsolidity/JSONCompiler.cpp')
-rw-r--r--test/libsolidity/JSONCompiler.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/libsolidity/JSONCompiler.cpp b/test/libsolidity/JSONCompiler.cpp
index 541cfbf0..7dc4808b 100644
--- a/test/libsolidity/JSONCompiler.cpp
+++ b/test/libsolidity/JSONCompiler.cpp
@@ -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