wasmtime_new_stack_memory_callback_t typedef

wasmtime_new_stack_memory_callback_t = Pointer<NativeFunction<wasmtime_new_stack_memory_callback_tFunction>>

A callback to create a new StackMemory from the specified parameters.

The result should be written to stack_ret and wasmtime will own the values written into that struct.

This callback must be thread-safe.

For more information about the parameters see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/trait.StackCreator.html#tymethod.new_stack

Implementation

typedef wasmtime_new_stack_memory_callback_t =
    ffi.Pointer<
      ffi.NativeFunction<wasmtime_new_stack_memory_callback_tFunction>
    >;