Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wasm-c-api
/ reset
Method
reset
include/wasm.hh:535–540 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
533
template<class T> inline static auto make(own<T>&& x) -> Val;
534
535
void reset() {
536
if (is_ref() && impl_.ref) {
537
destroyer()(impl_.ref);
538
impl_.ref = nullptr;
539
}
540
}
541
542
void reset(Val& that) {
543
reset();
Callers
nothing calls this directly
Calls
2
is_ref
Function · 0.85
destroyer
Class · 0.85
Tested by
no test coverage detected