MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / wasm_module_deserialize

Function wasm_module_deserialize

src/wasm-c.cc:760–765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758}
759
760wasm_module_t* wasm_module_deserialize(
761 wasm_store_t* store, const wasm_byte_vec_t* binary
762) {
763 auto binary_ = borrow_byte_vec(binary);
764 return release_module(Module::deserialize(store, binary_.it));
765}
766
767wasm_shared_module_t* wasm_module_share(const wasm_module_t* module) {
768 return release_shared_module(reveal_module(module)->share());

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected