wasmtime_c_api

Function wasm_globaltype_copy

Source
#[no_mangle]
pub extern "C" fn wasm_globaltype_copy(
    src: &wasm_globaltype_t,
) -> Box<wasm_globaltype_t>
Expand description

Creates a new wasm_globaltype_t which matches the provided one.

The caller is responsible for deleting the returned value via wasm_globaltype_delete.