wasmtime_array_ref_pre_new function
- @Native<Pointer<
wasmtime_array_ref_pre_t> Function(Pointer<wasmtime_context_t> context, Pointer<wasmtime_array_type_t> ty)>(ffi.Pointer<wasmtime_context_t>, ffi.Pointer<wasmtime_array_type_t>)>()
- Pointer<
wasmtime_context_t> context, - Pointer<
wasmtime_array_type_t> ty
\brief Create a new array pre-allocator.
\param context The store context. \param ty The array type (not consumed; caller retains ownership).
\return Returns a new array ref pre-allocator.
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_array_ref_pre_t> Function(
ffi.Pointer<wasmtime_context_t>,
ffi.Pointer<wasmtime_array_type_t>,
)
>()
external ffi.Pointer<wasmtime_array_ref_pre_t> wasmtime_array_ref_pre_new(
ffi.Pointer<wasmtime_context_t> context,
ffi.Pointer<wasmtime_array_type_t> ty,
);