Enable ptr

This commit is contained in:
Syrus Akbary
2021-06-22 19:01:45 -07:00
parent 6a40185680
commit 25907c4103
2 changed files with 6 additions and 10 deletions

View File

@@ -4,11 +4,7 @@ mod memory;
// mod table;
pub use self::function::{
Function,
HostFunction,
WasmTypeList,
WithEnv,
WithoutEnv, // FromToNativeWasmType,
FromToNativeWasmType, Function, HostFunction, WasmTypeList, WithEnv, WithoutEnv,
};
// pub use self::global::Global;

View File

@@ -290,7 +290,7 @@ mod instance;
mod iterators;
mod module;
// mod native;
// mod ptr;
mod ptr;
mod store;
mod types;
mod utils;
@@ -303,16 +303,16 @@ pub use wasmer_derive::WasmerEnv;
pub use crate::env::{HostEnvInitError, LazyInit, WasmerEnv};
pub use crate::exports::{ExportError, Exportable, Exports, ExportsIterator};
pub use crate::externals::{
Extern,
Function, /* FromToNativeWasmType, Function, Global, HostFunction, Table, WasmTypeList, */
Memory,
Extern, FromToNativeWasmType, Function, HostFunction, Memory,
/* Global, Table, */
WasmTypeList,
};
pub use crate::import_object::{ImportObject, ImportObjectIterator, LikeNamespace};
pub use crate::instance::{Instance, InstantiationError};
pub use crate::module::Module;
pub use wasm_bindgen::JsValue as RuntimeError;
// pub use crate::native::NativeFunc;
// pub use crate::ptr::{Array, Item, WasmPtr};
pub use crate::ptr::{Array, Item, WasmPtr};
pub use crate::store::{Store, StoreObject};
pub use crate::types::{
ExportType, ExternType, FunctionType, GlobalType, ImportType, MemoryType, Mutability,