wasmtime_new_memory_callback_t typedef

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

The result should be written to memory_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.MemoryCreator.html#tymethod.new_memory

Implementation

typedef wasmtime_new_memory_callback_t =
    ffi.Pointer<ffi.NativeFunction<wasmtime_new_memory_callback_tFunction>>;