Wasmtime
wasmtime_eqref Struct Reference

A WebAssembly eqref value. More...

#include <gc.h>

Data Fields

uint64_t store_id
 
uint32_t __private1
 Internal to Wasmtime.
 
uint32_t __private2
 Internal to Wasmtime.
 
void * __private3
 Internal to Wasmtime.
 

Detailed Description

A WebAssembly eqref value.

This structure represents a reference to a GC object that can be tested for equality. The subtypes of eqref include structref, arrayref, and i31ref.

This type has the same representation and ownership semantics as wasmtime_anyref_t. Values must be explicitly unrooted via wasmtime_eqref_unroot to enable garbage collection.

Field Documentation

◆ store_id

uint64_t wasmtime_eqref::store_id

Internal metadata tracking within the store, embedders should not configure or modify these fields.


The documentation for this struct was generated from the following file: