mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-09 14:18:20 +00:00
feat(c-api) Implement wasm_importtype_delete.
This commit is contained in:
@@ -1869,6 +1869,9 @@ pub extern "C" fn wasm_importtype_type(
|
||||
unsafe { et.extern_type.as_ref() }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn wasm_importtype_delete(_importtype: Option<Box<wasm_importtype_t>>) {}
|
||||
|
||||
impl From<ImportType> for wasm_importtype_t {
|
||||
fn from(other: ImportType) -> Self {
|
||||
(&other).into()
|
||||
|
||||
Reference in New Issue
Block a user