mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-23 03:31:56 +00:00
export section exposed
This commit is contained in:
@ -437,6 +437,11 @@ impl ExportSection {
|
|||||||
pub fn entries(&self) -> &[ExportEntry] {
|
pub fn entries(&self) -> &[ExportEntry] {
|
||||||
&self.0
|
&self.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// List of all export entries in the section (mutable)
|
||||||
|
pub fn entries_mut(&mut self) -> &mut Vec<ExportEntry> {
|
||||||
|
&mut self.0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Deserialize for ExportSection {
|
impl Deserialize for ExportSection {
|
||||||
|
Reference in New Issue
Block a user