Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wasm-c-api
/ operator()
Method
operator()
include/wasm.hh:187–189 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
185
public:
186
template <typename T>
187
void operator()(T* ptr) {
188
ptr->destroy();
189
}
190
};
191
192
template<class T> using own = std::unique_ptr<T, destroyer>;
Callers
nothing calls this directly
Calls
1
destroy
Method · 0.45
Tested by
no test coverage detected