pub(super) unsafe fn elem_drop(
store_modules: &AddrVec<ModuleAddr, ModuleInst<'_>>,
store_elements: &mut AddrVec<ElemAddr, ElemInst>,
current_module: ModuleAddr,
elem_idx: ElemIdx,
)Expand description
ยงSafety
- The module address
current_modulemust be valid instore_modulesfor some module instancemodule_inst. - The element index
elem_idxmust be valid inmodule_instfor some element addresselem_addr. elem_addrmust be valid instore_elements.