chore: gate func::native export under the internals
flag.
This commit is contained in:
parent
a381a485ec
commit
0790e5bc96
@ -96,9 +96,6 @@ mod tests;
|
|||||||
mod tokenizer;
|
mod tokenizer;
|
||||||
mod types;
|
mod types;
|
||||||
|
|
||||||
/// Export to create module resolvers.
|
|
||||||
pub use func::native;
|
|
||||||
|
|
||||||
/// Error encountered when parsing a script.
|
/// Error encountered when parsing a script.
|
||||||
type PERR = ParseErrorType;
|
type PERR = ParseErrorType;
|
||||||
/// Evaluation result.
|
/// Evaluation result.
|
||||||
@ -204,6 +201,8 @@ pub use api::{eval::eval, events::VarDefInfo, run::run};
|
|||||||
pub use ast::{FnAccess, AST};
|
pub use ast::{FnAccess, AST};
|
||||||
pub use engine::{Engine, OP_CONTAINS, OP_EQUALS};
|
pub use engine::{Engine, OP_CONTAINS, OP_EQUALS};
|
||||||
pub use eval::EvalContext;
|
pub use eval::EvalContext;
|
||||||
|
#[cfg(feature = "internals")]
|
||||||
|
pub use func::native;
|
||||||
pub use func::{NativeCallContext, RegisterNativeFunction};
|
pub use func::{NativeCallContext, RegisterNativeFunction};
|
||||||
pub use module::{FnNamespace, Module};
|
pub use module::{FnNamespace, Module};
|
||||||
pub use tokenizer::Position;
|
pub use tokenizer::Position;
|
||||||
|
Loading…
Reference in New Issue
Block a user