Export locked_read and locked_write under internals.
This commit is contained in:
@@ -201,8 +201,6 @@ pub use api::{eval::eval, events::VarDefInfo, run::run};
|
||||
pub use ast::{FnAccess, AST};
|
||||
pub use engine::{Engine, OP_CONTAINS, OP_EQUALS};
|
||||
pub use eval::EvalContext;
|
||||
#[cfg(feature = "internals")]
|
||||
pub use func::native::{locked_read, locked_write};
|
||||
pub use func::{NativeCallContext, RegisterNativeFunction};
|
||||
pub use module::{FnNamespace, Module};
|
||||
pub use tokenizer::Position;
|
||||
@@ -342,7 +340,7 @@ pub use eval::{Caches, FnResolutionCache, FnResolutionCacheEntry, GlobalRuntimeS
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
#[allow(deprecated)]
|
||||
pub use func::NativeCallContextStore;
|
||||
pub use func::{locked_read, locked_write, NativeCallContextStore};
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
#[cfg(feature = "metadata")]
|
||||
|
Reference in New Issue
Block a user