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

Method reset

include/wasm.hh:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 void reset() {
99 free_data();
100 size_ = invalid_size;
101 data_.reset();
102 }
103
104 void reset(vec& that) {
105 free_data();

Callers 1

serializeMethod · 0.45

Calls 1

releaseMethod · 0.80

Tested by

no test coverage detected