mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-13 23:11:53 +00:00
global_get_set
This commit is contained in:
@ -409,6 +409,11 @@ impl GlobalSection {
|
||||
pub fn entries(&self) -> &[GlobalEntry] {
|
||||
&self.0
|
||||
}
|
||||
|
||||
/// Mutable list of all global entries in the section
|
||||
pub fn entries_mut(&mut self) -> &mut Vec<GlobalEntry> {
|
||||
&mut self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl Deserialize for GlobalSection {
|
||||
|
Reference in New Issue
Block a user