elements & data section

This commit is contained in:
NikVolf
2017-04-03 13:42:04 +03:00
parent 54f59728c6
commit d375cec134
3 changed files with 115 additions and 0 deletions

View File

@ -9,6 +9,7 @@ mod export_entry;
mod global_entry;
mod ops;
mod func;
mod segment;
pub use self::module::Module;
pub use self::section::Section;
@ -19,6 +20,7 @@ pub use self::primitives::{VarUint32, VarUint7, VarUint1, VarInt7, Uint32, Uint6
pub use self::types::{ValueType, BlockType};
pub use self::ops::{Opcode, Opcodes, InitExpr};
pub use self::func::{FuncBody, Local};
pub use self::segment::{ElementSegment, DataSegment};
pub trait Deserialize : Sized {
type Error;