MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / as_array

Method as_array

crates/c-api/include/wasmtime/eqref.hh:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25inline std::optional<ArrayRef> EqRef::as_array(Store::Context cx) const {
26 wasmtime_arrayref_t out;
27 if (wasmtime_eqref_as_array(cx.capi(), &raw, &out))
28 return ArrayRef(out);
29 return std::nullopt;
30}
31
32inline AnyRef EqRef::to_anyref() const {
33 wasmtime_anyref_t out;

Callers 3

wasmtime_eqref_as_arrayFunction · 0.45
wasmtime_anyref_as_arrayFunction · 0.45
TESTFunction · 0.45

Calls 3

wasmtime_eqref_as_arrayFunction · 0.85
ArrayRefClass · 0.70
capiMethod · 0.45

Tested by 1

TESTFunction · 0.36