data_drop

Function data_drop 

Source
pub(super) unsafe fn data_drop(
    store_modules: &AddrVec<ModuleAddr, ModuleInst<'_>>,
    store_data: &mut AddrVec<DataAddr, DataInst>,
    current_module: ModuleAddr,
    data_idx: DataIdx,
)
Expand description

ยงSafety

The caller must ensure that the given data index is valid in store_modules.get(current_module).data_addrs.