MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / wasmtime_component_val_clone

Function wasmtime_component_val_clone

crates/c-api/src/component/val.rs:381–386  ·  view source on GitHub ↗
(
    src: &wasmtime_component_val_t,
    dst: &mut MaybeUninit<wasmtime_component_val_t>,
)

Source from the content-addressed store, hash-verified

379
380#[unsafe(no_mangle)]
381pub extern "C" fn wasmtime_component_val_clone(
382 src: &wasmtime_component_val_t,
383 dst: &mut MaybeUninit<wasmtime_component_val_t>,
384) {
385 dst.write(src.clone());
386}
387
388#[unsafe(no_mangle)]
389pub unsafe extern "C" fn wasmtime_component_val_delete(

Callers 4

copyMethod · 0.85
copyMethod · 0.85
copyMethod · 0.85
copyMethod · 0.85

Calls 2

writeMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected