This commit is contained in:
NikVolf
2017-03-31 17:31:33 +03:00
parent 5b93ee2236
commit f60b941cd4
6 changed files with 101 additions and 25 deletions

View File

@ -6,15 +6,17 @@ mod primitives;
mod types;
mod import_entry;
mod export_entry;
mod global_entry;
mod ops;
pub use self::module::Module;
pub use self::section::Section;
pub use self::import_entry::{ImportEntry, MemoryType, TableType, External};
pub use self::import_entry::{ImportEntry, MemoryType, TableType, GlobalType, External};
pub use self::export_entry::{ExportEntry, Internal};
pub use self::global_entry::GlobalEntry;
pub use self::primitives::{VarUint32, VarUint7, VarUint1, VarInt7, Uint32, Uint64, VarUint64, CountedList};
pub use self::types::{ValueType, BlockType};
pub use self::ops::{Opcode, Opcodes};
pub use self::ops::{Opcode, Opcodes, InitExpr};
pub trait Deserialize : Sized {
type Error;