mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
fixed comment on set_global
This commit is contained in:
parent
43def57852
commit
3587c3e165
@ -561,7 +561,7 @@ namespace chaiscript
|
||||
}
|
||||
}
|
||||
|
||||
/// Adds a new global (non-const) shared object, between all the threads
|
||||
/// Updates an existing global shared object or adds a new global shared object if not found
|
||||
void set_global(const Boxed_Value &obj, const std::string &name)
|
||||
{
|
||||
validate_object_name(name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user