Fix no_function build.

This commit is contained in:
Stephen Chung
2020-11-16 23:25:19 +08:00
parent 699220057f
commit 7ef3bd6b20
6 changed files with 15 additions and 13 deletions

View File

@@ -1,10 +1,11 @@
//! Module defining macros for developing _plugins_.
pub use crate::ast::FnAccess;
pub use crate::fn_native::{CallableFunction, FnCallArgs};
pub use crate::stdlib::{any::TypeId, boxed::Box, format, mem, string::ToString, vec as new_vec};
pub use crate::{
Dynamic, Engine, EvalAltResult, FnAccess, ImmutableString, Module, NativeCallContext,
RegisterFn, RegisterResultFn,
Dynamic, Engine, EvalAltResult, ImmutableString, Module, NativeCallContext, RegisterFn,
RegisterResultFn,
};
#[cfg(not(features = "no_module"))]