Clean up plugin module for no_module macro support

This commit is contained in:
J Henry Waugh
2020-08-12 23:57:51 -05:00
parent 0fb61eab00
commit fdcaa90cd9
2 changed files with 3 additions and 3 deletions

View File

@@ -14,6 +14,9 @@ pub use crate::{
RegisterResultFn,
};
#[cfg(features = "no_module")]
pub use rhai_codegen::{export_fn, register_exported_fn};
#[cfg(not(features = "no_module"))]
pub use rhai_codegen::*;
#[cfg(features = "sync")]