summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 31f0442a..527a29c0 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -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_ */