wasmtime_module_clone function

  1. @Native<Pointer<wasmtime_module_t> Function(Pointer<wasmtime_module_t> m)>(ffi.Pointer<wasmtime_module_t>)>()
Pointer<wasmtime_module_t> wasmtime_module_clone(
  1. Pointer<wasmtime_module_t> m
)

\brief Creates a shallow clone of the specified module, increasing the internal reference count.

Implementation

@ffi.Native<
  ffi.Pointer<wasmtime_module_t> Function(ffi.Pointer<wasmtime_module_t>)
>()
external ffi.Pointer<wasmtime_module_t> wasmtime_module_clone(
  ffi.Pointer<wasmtime_module_t> m,
);