mod branch_offset;
mod constructor_params;
mod error;
mod func_ref;
mod global_variable;
mod hint_type;
mod host_error;
mod import_name;
mod nan_preserving_float;
mod opcode;
mod trap_code;
mod units;
mod untyped_value;
mod value;
pub use branch_offset::*;
pub use constructor_params::*;
pub use error::*;
pub use func_ref::*;
pub use global_variable::*;
pub use hint_type::*;
pub use host_error::*;
pub use import_name::*;
pub use nan_preserving_float::*;
pub use opcode::*;
pub use trap_code::*;
pub use units::*;
pub use untyped_value::*;
pub use value::*;
pub const N_DEFAULT_STACK_SIZE: usize = 32;
pub const N_MAX_STACK_SIZE: usize = 8192;
pub const N_MAX_RECURSION_DEPTH: usize = 1024;
pub const N_BYTES_PER_MEMORY_PAGE: u32 = 65536;
pub const N_DEFAULT_MAX_MEMORY_PAGES: u32 = 1024;
pub const N_MAX_ALLOWED_MEMORY_PAGES: u32 = 32768;
pub const DEFAULT_MEMORY_INDEX: u32 = 0;
pub const N_MAX_DATA_SEGMENTS: usize = 100_000;
pub const N_MAX_ELEM_SEGMENTS: usize = 100_000;
pub const N_MAX_DATA_SEGMENTS_BITS: usize =
N_MAX_DATA_SEGMENTS.div_ceil(usize::BITS as usize);
pub const N_MAX_ELEM_SEGMENTS_BITS: usize =
N_MAX_ELEM_SEGMENTS.div_ceil(usize::BITS as usize);
pub const NULL_FUNC_IDX: u32 = 0u32;
pub const SNIPPET_FUNC_IDX_UNRESOLVED: u32 = u32::MAX;
pub const N_MAX_TABLES: u32 = 100;
pub const N_MAX_TABLE_SIZE: u32 = 1024;
pub type InstrLoc = u32;
pub type LabelRef = u32;
pub type FuncTypeIdx = u32;
pub type SignatureIdx = u32;
pub type MemoryIdx = u32;
pub type GlobalIdx = u32;
pub type TableIdx = u16;
pub type FuncIdx = u32;
pub type DataSegmentIdx = u32;
pub type ElementSegmentIdx = u32;
pub type CompiledFunc = u32;
pub type LocalDepth = u32;
pub type BranchTableTargets = u32;
pub type MaxStackHeight = u32;
pub type SysFuncIdx = u32;
pub type AddressOffset = u32;
pub type BlockFuel = u32;
pub type NumLocals = u32;