wasmtime_anyref_clone function
- @Native<Void Function(Pointer<
wasmtime_anyref_t> , Pointer<wasmtime_anyref_t> )>(ffi.Pointer<wasmtime_anyref_t>, ffi.Pointer<wasmtime_anyref_t>)>()
- Pointer<
wasmtime_anyref_t> anyref, - Pointer<
wasmtime_anyref_t> out
\brief Creates a new reference pointing to the same data that anyref
points to (depending on the configured collector this might increase a
reference count or create a new GC root).
The returned reference is stored in out.
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<wasmtime_anyref_t>,
ffi.Pointer<wasmtime_anyref_t>,
)
>()
external void wasmtime_anyref_clone(
ffi.Pointer<wasmtime_anyref_t> anyref,
ffi.Pointer<wasmtime_anyref_t> out,
);