export section

This commit is contained in:
NikVolf
2017-03-31 01:54:04 +03:00
parent 7b6ea0a152
commit 9e3823c3f2
5 changed files with 124 additions and 3 deletions

View File

@ -5,10 +5,12 @@ mod section;
mod primitives;
mod types;
mod import_entry;
mod export_entry;
pub use self::module::Module;
pub use self::section::Section;
pub use self::import_entry::{ImportEntry, MemoryType, TableType};
pub use self::import_entry::{ImportEntry, MemoryType, TableType, External};
pub use self::export_entry::{ExportEntry, Internal};
pub use self::primitives::{VarUint32, VarUint7, VarUint1, VarInt7, Uint32, CountedList};
pub use self::types::ValueType;
@ -26,6 +28,7 @@ pub enum Error {
UnknownValueType(i8),
NonUtf8String,
UnknownExternalKind(u8),
UnknownInternalKind(u8),
}
impl From<io::Error> for Error {