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

Function make_own

include/wasm.hh:195–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193template<class T> using ownvec = vec<own<T>>;
194
195template<class T> own<T> make_own(T* ptr) {
196 return own<T>(ptr);
197}
198
199///////////////////////////////////////////////////////////////////////////////
200// Runtime Environment

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected