Giving name of script; fix signed/unsigned comparison
This commit is contained in:
parent
07f644f7d3
commit
7379c8c387
@ -32,8 +32,10 @@ extern "C" {
|
|||||||
|
|
||||||
ScriptingEnvironment::ScriptingEnvironment() {}
|
ScriptingEnvironment::ScriptingEnvironment() {}
|
||||||
ScriptingEnvironment::ScriptingEnvironment(const char * fileName) {
|
ScriptingEnvironment::ScriptingEnvironment(const char * fileName) {
|
||||||
|
INFO("Using script " << fileName);
|
||||||
|
|
||||||
// Create a new lua state
|
// Create a new lua state
|
||||||
for(unsigned i = 0; i < omp_get_max_threads(); ++i)
|
for(int i = 0; i < omp_get_max_threads(); ++i)
|
||||||
luaStateVector.push_back(luaL_newstate());
|
luaStateVector.push_back(luaL_newstate());
|
||||||
|
|
||||||
// Connect LuaBind to this lua state for all threads
|
// Connect LuaBind to this lua state for all threads
|
||||||
|
Loading…
Reference in New Issue
Block a user