Skip to content

Commit

Permalink
feat(c-api) Implement wasm_exporttype_delete.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Oct 6, 2020
1 parent b950081 commit 7443b30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/c-api/src/wasm_c_api/types/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7443b30

Please sign in to comment.