Add Scope::set_alias.

This commit is contained in:
Stephen Chung
2022-03-09 09:25:32 +08:00
parent cbb1c5c6a0
commit 89426f8b3a
3 changed files with 29 additions and 6 deletions

View File

@@ -25,6 +25,7 @@ Enhancements
* The `event_handler_map` example is enhanced to prevent shadowing of the state object map.
* Separation of constants in function calls is removed as its performance benefit is dubious.
* A function `sleep` is added to block the current thread by a specified number of seconds.
* `Scope::set_alias` is added to export a variable under a particular alias name.
Version 1.5.0