wasmtime_sharedmemory_clone function
- @Native<Pointer<
wasmtime_sharedmemory_t> Function()>(ffi.Pointer<wasmtime_sharedmemory_t>)>()
\brief Clones shared linear memory
\param memory memory to be cloned
This function makes shallow clone, ie. copy of reference counted memory handle.
Implementation
@ffi.Native<
ffi.Pointer<wasmtime_sharedmemory_t> Function(
ffi.Pointer<wasmtime_sharedmemory_t>,
)
>()
external ffi.Pointer<wasmtime_sharedmemory_t> wasmtime_sharedmemory_clone(
ffi.Pointer<wasmtime_sharedmemory_t> memory,
);