fixed comment on set_global
This commit is contained in:
@@ -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)
|
void set_global(const Boxed_Value &obj, const std::string &name)
|
||||||
{
|
{
|
||||||
validate_object_name(name);
|
validate_object_name(name);
|
||||||
|
Reference in New Issue
Block a user