mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-13 22:08:45 +00:00
feat(c-api) Implement wasm_exporttype_delete.
This commit is contained in:
@@ -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<Box<wasm_exporttype_t>>) {}
|
||||
|
||||
impl From<ExportType> for wasm_exporttype_t {
|
||||
fn from(other: ExportType) -> Self {
|
||||
(&other).into()
|
||||
|
||||
Reference in New Issue
Block a user