Bring more functions into modules in plugins via rhai_fn(name) attribute.

This commit is contained in:
Stephen Chung
2020-08-16 23:41:59 +08:00
parent 31a05f8c48
commit e75d91e9bf
9 changed files with 210 additions and 244 deletions

View File

@@ -93,7 +93,7 @@
//! ```
//!
use quote::{quote, ToTokens};
use quote::quote;
use syn::parse_macro_input;
mod function;