Export LittleEndianConvert (#148)
This commit is contained in:
parent
7191998216
commit
c7f9196df6
|
@ -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};
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue