Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ adopt
Method
adopt
crates/c-api/include/wasm.hh:178–180 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
176
}
177
178
static auto adopt(size_t size, T data[]) -> vec {
179
return vec(size, data);
180
}
181
182
static auto invalid() -> vec {
183
return vec(invalid_size, nullptr);
Callers
nothing calls this directly
Calls
1
vec
Class · 0.85
Tested by
no test coverage detected