mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 05:38:19 +00:00
Move Webassembly objects to Store and remove Context
Co-authored-by: ptitSeb <sebastien.chev@gmail.com> Co-authored-by: Manos Pitsidianakis <manos@wasmer.io>
This commit is contained in:
committed by
Manos Pitsidianakis
parent
b5ae6399ce
commit
a419ccdf52
@@ -20,9 +20,9 @@
|
||||
)
|
||||
)]
|
||||
|
||||
mod context;
|
||||
mod export;
|
||||
mod extern_ref;
|
||||
mod function_env;
|
||||
mod global;
|
||||
mod imports;
|
||||
mod instance;
|
||||
@@ -30,6 +30,7 @@ mod memory;
|
||||
mod mmap;
|
||||
mod probestack;
|
||||
mod sig_registry;
|
||||
mod store;
|
||||
mod table;
|
||||
mod trap;
|
||||
mod vmcontext;
|
||||
@@ -38,11 +39,9 @@ pub mod libcalls;
|
||||
|
||||
use std::ptr::NonNull;
|
||||
|
||||
pub use crate::context::{
|
||||
ContextHandle, ContextId, ContextObjects, InternalContextHandle, MaybeInstanceOwned,
|
||||
};
|
||||
pub use crate::export::*;
|
||||
pub use crate::extern_ref::{VMExternObj, VMExternRef};
|
||||
pub use crate::function_env::VMFunctionEnvironment;
|
||||
pub use crate::global::*;
|
||||
pub use crate::imports::Imports;
|
||||
pub use crate::instance::{InstanceAllocator, InstanceHandle};
|
||||
@@ -50,10 +49,13 @@ pub use crate::memory::{MemoryError, VMMemory};
|
||||
pub use crate::mmap::Mmap;
|
||||
pub use crate::probestack::PROBESTACK;
|
||||
pub use crate::sig_registry::SignatureRegistry;
|
||||
pub use crate::store::{
|
||||
InternalStoreHandle, MaybeInstanceOwned, StoreHandle, StoreId, StoreObjects,
|
||||
};
|
||||
pub use crate::table::{TableElement, VMTable};
|
||||
pub use crate::trap::*;
|
||||
pub use crate::vmcontext::{
|
||||
VMCallerCheckedAnyfunc, VMContext, VMDynamicFunctionContext, VMFunctionEnvironment,
|
||||
VMCallerCheckedAnyfunc, VMContext, VMDynamicFunctionContext, VMFunctionContext,
|
||||
VMFunctionImport, VMFunctionKind, VMGlobalDefinition, VMGlobalImport, VMMemoryDefinition,
|
||||
VMMemoryImport, VMSharedSignatureIndex, VMTableDefinition, VMTableImport, VMTrampoline,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user