Add top-level wrappers.

This commit is contained in:
Stephen Chung
2022-08-08 09:10:15 +08:00
parent 862de2049b
commit 47f02b96d7
5 changed files with 204 additions and 21 deletions

View File

@@ -34,6 +34,10 @@ New features
* Using a script-defined function's name (in place of a variable) implicitly creates a function pointer to the function.
### Top-level functions
* Crate-level functions `rhai::eval`, `rhai::run`, `rhai::eval_file`, `rhai::run_file` are added as convenient wrappers.
Enhancements
------------