From fdb077236a6847a360b6e4cefe845682548f04e0 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Tue, 6 Oct 2020 22:19:50 +0200 Subject: [PATCH] feat(c-api) Implement `wasm_exporttype_delete`. --- lib/c-api/src/wasm_c_api/types/export.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/c-api/src/wasm_c_api/types/export.rs b/lib/c-api/src/wasm_c_api/types/export.rs index 1a9c0301183..919e0927164 100644 --- a/lib/c-api/src/wasm_c_api/types/export.rs +++ b/lib/c-api/src/wasm_c_api/types/export.rs @@ -30,6 +30,9 @@ pub extern "C" fn wasm_exporttype_type( unsafe { et.extern_type.as_ref() } } +#[no_mangle] +pub extern "C" fn wasm_exporttype_delete(_exporttype: Option>) {} + impl From for wasm_exporttype_t { fn from(other: ExportType) -> Self { (&other).into()