Cleanup (indentation, comments) for non-const global support

@Zoomulator - I pulled in your non-const global commits.
This commit is contained in:
Jason Turner
2013-11-27 08:19:26 -07:00
parent d5fef3121a
commit a26d628e5c
2 changed files with 10 additions and 2 deletions

View File

@@ -478,7 +478,10 @@ namespace chaiscript
}
void add_global(const Boxed_Value &obj, const std::string &name)
/**
* Adds a new global (non-const) shared object, between all the threads
*/
void add_global(const Boxed_Value &obj, const std::string &name)
{
validate_object_name(name);