Export locked_read and locked_write under internals.

This commit is contained in:
Stephen Chung
2022-11-15 11:22:00 +08:00
parent 8815b88baf
commit 9e5e18af61
3 changed files with 6 additions and 6 deletions

View File

@@ -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")]