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

Method ManagedData

src/wasm-v8-lowlevel.cc:112–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111struct ManagedData {
112 ManagedData(void* info, void (*finalizer)(void*)) :
113 info(info), finalizer(finalizer) {}
114
115 ~ManagedData() {
116 if (finalizer) (*finalizer)(info);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected