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