Wasmtime
wasmtime_linear_memory Struct Reference

#include <config.h>

Data Fields

void * env
 User provided value to be passed to get_memory and grow_memory.
 
wasmtime_memory_get_callback_t get_memory
 Callback to get the memory and size of this LinearMemory.
 
wasmtime_memory_grow_callback_t grow_memory
 Callback to request growing the memory.
 
void(* finalizer )(void *)
 An optional finalizer for env.
 

Detailed Description

A LinearMemory instance created from a wasmtime_new_memory_callback_t.

For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/trait.LinearMemory.html


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