Skip to main content

wasmrust_clone_box

Function wasmrust_clone_box 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn wasmrust_clone_box( builder_ptr: *const c_void, ) -> *mut c_void
Expand description

Creates a clone of the builder.

ยงSafety

  • builder_ptr must be a valid pointer to a WasmrustBuilder
  • Caller must call wasmrust_drop on the returned pointer