diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-01-05 14:18:11 -0800 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2016-01-05 14:18:11 -0800 |
commit | ee7a01815045ffbe1ef097ea5af12594fd6ad2f7 (patch) | |
tree | 2bba2ea810565fd3331e591a85313a2f1899b16d /src/wasm.h | |
parent | 519b49121bf028d8646a78e2621c3934fc92c095 (diff) | |
parent | 3d9be10028c6c3136c8e98f32c91fae369bd3ed2 (diff) | |
download | wabt-ee7a01815045ffbe1ef097ea5af12594fd6ad2f7.tar.gz wabt-ee7a01815045ffbe1ef097ea5af12594fd6ad2f7.tar.bz2 wabt-ee7a01815045ffbe1ef097ea5af12594fd6ad2f7.zip |
Merge pull request #16 from WebAssembly/support_cxx
Support use of parser and AST in C++ programs
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -477,7 +477,7 @@ typedef struct WasmModuleField { union { WasmFunc func; WasmImport import; - WasmExport export; + WasmExport export_; WasmVarVector table; WasmFuncType func_type; WasmMemory memory; @@ -550,6 +550,7 @@ typedef struct WasmWriteBinaryOptions { int log_writes; } WasmWriteBinaryOptions; +EXTERN_C_BEGIN WasmScanner wasm_new_scanner(const char* filename); void wasm_free_scanner(WasmScanner scanner); void wasm_error(WasmLocation*, WasmScanner, WasmParser*, const char*, ...); @@ -600,5 +601,6 @@ WasmResult wasm_extend_type_bindings(WasmTypeBindings* dst, WasmTypeBindings* src) WARN_UNUSED; int wasm_func_is_exported(WasmModule* module, WasmFunc* func); +EXTERN_C_END #endif /* WASM_H_ */ |