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

Method ref

crates/c-api/include/wasm.hh:537–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535 static auto f32(float32_t x) -> Val { return Val(x); }
536 static auto f64(float64_t x) -> Val { return Val(x); }
537 static auto ref(own<Ref>&& x) -> Val { return Val(std::move(x)); }
538 template<class T> inline static auto make(T x) -> Val;
539 template<class T> inline static auto make(own<T>&& x) -> Val;
540

Callers 1

TESTFunction · 0.45

Calls 3

assertFunction · 0.85
is_refFunction · 0.85
ValClass · 0.70

Tested by 1

TESTFunction · 0.36