Wasmtime
wasmtime_extern_union Union Reference

Container for different kinds of extern items. More...

#include <extern.h>

Data Fields

wasmtime_func_t func
 Field used if wasmtime_extern_t::kind is WASMTIME_EXTERN_FUNC.
 
wasmtime_global_t global
 Field used if wasmtime_extern_t::kind is WASMTIME_EXTERN_GLOBAL.
 
wasmtime_table_t table
 Field used if wasmtime_extern_t::kind is WASMTIME_EXTERN_TABLE.
 
wasmtime_memory_t memory
 Field used if wasmtime_extern_t::kind is WASMTIME_EXTERN_MEMORY.
 
struct wasmtime_sharedmemory * sharedmemory
 Field used if wasmtime_extern_t::kind is WASMTIME_EXTERN_SHAREDMEMORY.
 

Detailed Description

Container for different kinds of extern items.

This type is contained in wasmtime_extern_t and contains the payload for the various kinds of items an extern wasm item can be.


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