diff options
author | Ben Smith <binji@chromium.org> | 2015-11-26 12:50:37 -0800 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2015-12-03 17:08:03 -0800 |
commit | edb2d2f28524e5f510fe948ac4f58c84b0287294 (patch) | |
tree | a4a9c96216bf21539d912e3d2ff5c4174d3e1dbc /src/wasm.h | |
parent | fb8aae99be5bef3204f38287c863434b1c252345 (diff) | |
download | wabt-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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_ */ |