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

Function wasm_callback_env_finalizer

src/wasm-c.cc:802–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800}
801
802void wasm_callback_env_finalizer(void* env) {
803 auto t = static_cast<wasm_callback_env_t*>(env);
804 if (t->finalizer) t->finalizer(t->env);
805 delete t;
806}
807
808} // extern "C++"
809

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected