mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-05-29 07:31:54 +00:00
mutable global entries
This commit is contained in:
parent
825169d34e
commit
c52ccb7cd3
@ -399,6 +399,11 @@ impl GlobalSection {
|
|||||||
pub fn entries(&self) -> &[GlobalEntry] {
|
pub fn entries(&self) -> &[GlobalEntry] {
|
||||||
&self.0
|
&self.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// List of all global entries in the section (mutable)
|
||||||
|
pub fn entries_mut(&mut self) -> &mut Vec<GlobalEntry> {
|
||||||
|
&mut self.0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Deserialize for GlobalSection {
|
impl Deserialize for GlobalSection {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user