We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 842faf5 commit 50beb21Copy full SHA for 50beb21
wasmtime-api/src/wasm.rs
@@ -858,6 +858,11 @@ pub unsafe extern "C" fn wasm_valtype_new(kind: wasm_valkind_t) -> *mut wasm_val
858
Box::into_raw(ty)
859
}
860
861
+#[no_mangle]
862
+pub unsafe extern "C" fn wasm_valtype_delete(vt: *mut wasm_valtype_t) {
863
+ drop(Box::from_raw(vt));
864
+}
865
+
866
#[no_mangle]
867
pub unsafe extern "C" fn wasm_byte_vec_new(
868
out: *mut wasm_byte_vec_t,
0 commit comments