wasmtime_module_type_clone function

  1. @Native<Pointer<wasmtime_module_type_t> Function(Pointer<wasmtime_module_type_t> ty)>(ffi.Pointer<wasmtime_module_type_t>)>()
Pointer<wasmtime_module_type_t> wasmtime_module_type_clone(
  1. Pointer<wasmtime_module_type_t> ty
)

\brief Clones a module type.

The pointer returned from this function must be deallocated with wasmtime_module_type_delete.

Implementation

@ffi.Native<
  ffi.Pointer<wasmtime_module_type_t> Function(
    ffi.Pointer<wasmtime_module_type_t>,
  )
>()
external ffi.Pointer<wasmtime_module_type_t> wasmtime_module_type_clone(
  ffi.Pointer<wasmtime_module_type_t> ty,
);