Skip to content

Commit

Permalink
Export LittleEndianConvert (wasmi-labs#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
eira-fransham authored and pepyakin committed Nov 28, 2018
1 parent 7191998 commit c7f9196
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ mod tests;

pub use self::memory::{MemoryInstance, MemoryRef, LINEAR_MEMORY_PAGE_SIZE};
pub use self::table::{TableInstance, TableRef};
pub use self::value::{RuntimeValue, FromRuntimeValue};
pub use self::value::{FromRuntimeValue, RuntimeValue, LittleEndianConvert, Error as ValueError};
pub use self::host::{Externals, NopExternals, HostError, RuntimeArgs};
pub use self::imports::{ModuleImportResolver, ImportResolver, ImportsBuilder};
pub use self::module::{ModuleInstance, ModuleRef, ExternVal, NotStartedModuleRef};
Expand Down
2 changes: 2 additions & 0 deletions src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ use nan_preserving_float::{F32, F64};
use types::ValueType;
use TrapKind;

/// Error for `LittleEndianConvert`
#[derive(Debug)]
pub enum Error {
/// The buffer is too short for the type being deserialized
InvalidLittleEndianBuffer,
}

Expand Down

0 comments on commit c7f9196

Please sign in to comment.