\brief Helper function to return whether the provided `ref` points to a null `anyref` value. Note that `ref` itself should not be null as null is represented internally within a #wasmtime_anyref_t value.
| 28 | /// Note that `ref` itself should not be null as null is represented internally |
| 29 | /// within a #wasmtime_anyref_t value. |
| 30 | static inline bool wasmtime_anyref_is_null(const wasmtime_anyref_t *ref) { |
| 31 | return ref->store_id == 0; |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * \brief Creates a new reference pointing to the same data that `anyref` |