wasmtime_component_resource_destructor_t typedef

wasmtime_component_resource_destructor_t = Pointer<NativeFunction<wasmtime_component_resource_destructor_tFunction>>

Type of the callback used in #wasmtime_component_linker_instance_add_resource

Implementation

typedef wasmtime_component_resource_destructor_t =
    ffi.Pointer<
      ffi.NativeFunction<wasmtime_component_resource_destructor_tFunction>
    >;