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

Function wasm_module_share

src/wasm-c.cc:767–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767wasm_shared_module_t* wasm_module_share(const wasm_module_t* module) {
768 return release_shared_module(reveal_module(module)->share());
769}
770
771wasm_module_t* wasm_module_obtain(wasm_store_t* store, const wasm_shared_module_t* shared) {
772 return release_module(Module::obtain(store, shared));

Callers 1

mainFunction · 0.85

Calls 1

shareMethod · 0.80

Tested by

no test coverage detected