CPoliceCreator::CPoliceCreator(void) { begin_time = clock(); tableTopIndex = 0; LoadScriptFromFile(); //printf_s("CreatePolice »ý¼ºÀÚ\n"); //printf_s("beginetime : %d\n", begin_time); }
bool AutotestingSystemLua::RunScriptFromFile(const FilePath &luaFilePath) { Logger::Debug("AutotestingSystemLua::RunScriptFromFile %s", luaFilePath.GetAbsolutePathname().c_str()); if(LoadScriptFromFile(luaFilePath)) { lua_pushstring(luaState, luaFilePath.GetBasename().c_str()); return RunScript(); } return false; }