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

Method release

include/wasm.hh:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 auto release() -> T* {
94 size_ = invalid_size;
95 return data_.release();
96 }
97
98 void reset() {
99 free_data();

Callers 9

importsMethod · 0.80
exportsMethod · 0.80
~borrowed_vecMethod · 0.80
~borrowed_valMethod · 0.80
wasm_instance_newFunction · 0.80
vecMethod · 0.80
resetMethod · 0.80
ValMethod · 0.80
copyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected