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

Function wasmtime_eqref_is_null

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

\brief Returns whether the provided `ref` is a null `eqref` value.

Source from the content-addressed store, hash-verified

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) {
28 return ref->store_id == 0;
29}
30
31/**
32 * \brief Clone an `eqref`, creating a new root.

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68