Add header for jsonCompiler

This commit is contained in:
Alex Beregszaszi
2017-08-29 13:43:55 +01:00
parent 2d39a42d37
commit c861817875
4 changed files with 47 additions and 24 deletions
+3 -7
View File
@@ -20,24 +20,20 @@
* JSON interface for the solidity compiler to be used from Javascript.
*/
#include <string>
#include <solc/jsonCompiler.h>
#include <libdevcore/Common.h>
#include <libdevcore/JSON.h>
#include <libsolidity/interface/StandardCompiler.h>
#include <libsolidity/interface/Version.h>
#include <string>
#include "license.h"
using namespace std;
using namespace dev;
using namespace solidity;
extern "C" {
/// Callback used to retrieve additional source files. "Returns" two pointers that should be
/// heap-allocated and are free'd by the caller.
typedef void (*CStyleReadFileCallback)(char const* _path, char** o_contents, char** o_error);
}
namespace
{