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

Function wasmtime_eqref_set_null

crates/c-api/include/wasmtime/eqref.h:22–24  ·  view source on GitHub ↗

\brief Initialize the `ref` to a null `eqref` value.

Source from the content-addressed store, hash-verified

20
21/// \brief Initialize the `ref` to a null `eqref` value.
22static inline void wasmtime_eqref_set_null(wasmtime_eqref_t *ref) {
23 ref->store_id = 0;
24}
25
26/// \brief Returns whether the provided `ref` is a null `eqref` value.
27static inline bool wasmtime_eqref_is_null(const wasmtime_eqref_t *ref) {

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68