Changeset 6763 for code/trunk/src/libraries/core/LuaState.cc
- Timestamp:
- Apr 19, 2010, 6:09:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/LuaState.cc
r6746 r6763 47 47 LuaState::ToluaInterfaceMap LuaState::toluaInterfaces_s; 48 48 std::vector<LuaState*> LuaState::instances_s; 49 50 const std::string LuaState::ERROR_HANDLER_NAME = "errorHandler"; 49 51 50 52 // Do this after declaring toluaInterfaces_s and instances_s to avoid larger problems … … 177 179 178 180 // Push custom error handler that uses the debugger 179 lua_getglobal(this->luaState_, "errorHandler");181 lua_getglobal(this->luaState_, ERROR_HANDLER_NAME.c_str()); 180 182 int errorHandler = lua_gettop(luaState_); 181 183 if (lua_isnil(this->luaState_, -1))
Note: See TracChangeset
for help on using the changeset viewer.