Function gwasm_instrument::export_mutable_globals
source · pub fn export_mutable_globals(module: &mut Module, prefix: &str)
Expand description
Export all declared mutable globals as prefix_index
.
This will export all internal mutable globals under the name of
concat(prefix
, "_"
, i
) where i is the index inside the range of
[0..total number of internal mutable globals].