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

Method adopt

include/wasm.hh:172–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 static auto adopt(size_t size, T data[]) -> vec {
173 return vec(size, data);
174 }
175
176 static auto invalid() -> vec {
177 return vec(invalid_size, nullptr);

Callers

nothing calls this directly

Calls 1

vecClass · 0.85

Tested by

no test coverage detected