summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2015-11-26 12:50:37 -0800
committerBen Smith <binji@chromium.org>2015-12-03 17:08:03 -0800
commitedb2d2f28524e5f510fe948ac4f58c84b0287294 (patch)
treea4a9c96216bf21539d912e3d2ff5c4174d3e1dbc /src/wasm.h
parentfb8aae99be5bef3204f38287c863434b1c252345 (diff)
downloadwabt-edb2d2f28524e5f510fe948ac4f58c84b0287294.tar.gz
wabt-edb2d2f28524e5f510fe948ac4f58c84b0287294.tar.bz2
wabt-edb2d2f28524e5f510fe948ac4f58c84b0287294.zip
copy signature from func type, if unspecified
This happens in wasm-check.c, so I had to move where param_and_locals bindings are set to wasm-check too.
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index adefd6b1..caeec4f2 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -569,6 +569,8 @@ WasmFuncPtr wasm_get_func_by_var(WasmModule* module, WasmVar* var);
WasmFuncTypePtr wasm_get_func_type_by_var(WasmModule* module, WasmVar* var);
WasmImportPtr wasm_get_import_by_var(WasmModule* module, WasmVar* var);
+void wasm_extend_type_bindings(WasmTypeBindings* dst, WasmTypeBindings* src);
+
int wasm_func_is_exported(WasmModule* module, WasmFunc* func);
#endif /* WASM_H_ */