export section exposed

This commit is contained in:
NikVolf
2017-04-20 17:35:53 +03:00
parent 3653b2e993
commit 31c1588a2f

View File

@ -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 {