Wasmtime
wasmtime_component_func Struct Reference

Representation of a function in Wasmtime. More...

#include <func.h>

Data Fields

struct {
   uint64_t   store_id
 Internal identifier of what store this belongs to, never zero.
 
   uint32_t   __private1
 Private internal wasmtime information.
 
}; 
 
uint32_t __private2
 Private internal wasmtime information.
 

Detailed Description

Representation of a function in Wasmtime.

Functions in Wasmtime are represented as an index into a store and don't have any data or destructor associated with the value. Functions cannot interoperate between wasmtime_store_t instances and if the wrong function is passed to the wrong store then it may trigger an assertion to abort the process.


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