diff options
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_ */ |