Add the ability to save and restore the state of local variables #25

This commit is contained in:
Jason Turner
2012-07-16 21:27:42 -06:00
parent f5b7be3743
commit 1155720b14
5 changed files with 117 additions and 4 deletions

View File

@@ -140,7 +140,10 @@
///
/// \subsubsection addingobjects Adding Objects
///
/// Named objects can be created with the chaiscript::var function.
/// Named objects can be created with the chaiscript::var function. Note: adding a object
/// adds it to the current thread scope, not to a global scope. If you have multiple
/// threads that need to access the same variables you will need to add them
/// separately for each thread, from the thread itself.
///
/// \code
/// using namespace chaiscript;