Rename packages to global modules.
This commit is contained in:
@@ -20,9 +20,9 @@ Functions from the following sources are included:
|
||||
|
||||
1) Script-defined functions in an [`AST`] (for `Engine::gen_fn_metadata_with_ast_to_json`)
|
||||
2) Native Rust functions registered into the global namespace via the `Engine::register_XXX` API
|
||||
3) _Public_ (i.e. non-[`private`]) functions (native Rust or Rhai scripted) in global sub-modules registered via
|
||||
[`Engine::register_module`]({{rootUrl}}/rust/modules/create.md)
|
||||
4) Native Rust functions in registered [packages] (optional)
|
||||
3) _Public_ (i.e. non-[`private`]) functions (native Rust or Rhai scripted) in static modules
|
||||
registered via `Engine::register_static_module`
|
||||
4) Native Rust functions in global modules registered via `Engine::register_global_module` (optional)
|
||||
|
||||
Notice that if a function has been [overloaded][function overloading], only the overriding function's
|
||||
metadata is included.
|
||||
|
@@ -17,9 +17,9 @@ As part of a _reflections_ API, `Engine::gen_fn_signatures` returns a list of fu
|
||||
Functions from the following sources are included, in order:
|
||||
|
||||
1) Native Rust functions registered into the global namespace via the `Engine::register_XXX` API
|
||||
2) _Public_ (i.e. non-[`private`]) functions (native Rust or Rhai scripted) in global sub-modules registered via
|
||||
[`Engine::register_module`]({{rootUrl}}/rust/modules/create.md)
|
||||
3) Native Rust functions in registered [packages] (optional)
|
||||
2) _Public_ (i.e. non-[`private`]) functions (native Rust or Rhai scripted) in global sub-modules
|
||||
registered via `Engine::register_static_module`.
|
||||
3) Native Rust functions in global modules registered via `Engine::register_global_module` (optional)
|
||||
|
||||
|
||||
Functions Metadata
|
||||
|
Reference in New Issue
Block a user