Wasmtime
|
Container for different kinds of extern items. More...
#include <extern.h>
Data Fields | |
wasmtime_extern_kind_t | kind |
Discriminant of which field of of is valid. | |
wasmtime_extern_union_t | of |
Container for the extern item's value. | |
Container for different kinds of extern items.
Note that this structure may contain an owned value, namely wasmtime_module_t, depending on the context in which this is used. APIs which consume a wasmtime_extern_t do not take ownership, but APIs that return wasmtime_extern_t require that wasmtime_extern_delete is called to deallocate the value.