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

Method to_anyref

crates/c-api/include/wasmtime/arrayref.hh:46–50  ·  view source on GitHub ↗

Upcast to anyref.

Source from the content-addressed store, hash-verified

44
45/// Upcast to anyref.
46inline AnyRef ArrayRef::to_anyref() const {
47 wasmtime_anyref_t out;
48 wasmtime_arrayref_to_anyref(&raw, &out);
49 return AnyRef(out);
50}
51
52/// Upcast to eqref.
53inline EqRef ArrayRef::to_eqref() const {

Callers

nothing calls this directly

Calls 2

AnyRefClass · 0.70

Tested by

no test coverage detected