Remove variable.rs

This commit is contained in:
Sergey Pepyakin
2017-12-13 18:15:13 +01:00
parent 47ec274700
commit 5eaf2ca183
7 changed files with 20 additions and 202 deletions

View File

@ -1,6 +1,5 @@
use elements::ResizableLimits;
use interpreter::Error;
use interpreter::VariableType;
/// Execution context.
pub struct ExecutionParams<'a, St: 'static> {
@ -8,15 +7,6 @@ pub struct ExecutionParams<'a, St: 'static> {
pub state: &'a mut St,
}
/// Export type.
#[derive(Debug, Clone)]
pub enum ExportEntryType {
/// Any type.
Any,
/// Type of global.
Global(VariableType),
}
/// Item index in items index space.
#[derive(Debug, Clone, Copy)]
pub enum ItemIndex {