From: John L. <jr...@us...> - 2007-03-23 00:09:56
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18290/wxLua/modules/wxluadebug/src Modified Files: wxldebug.cpp Log Message: change tget to not push nil on the stack if it fails since we'd never use it store the WXLUACLASS in our wxLuaReferences LUA_REGISTRY table to allow lookup by tag store the WXLUACLASS in our wxLuaClasses LUA_REGISTRY table to allow lookup by name use lua_createtable for pushing wxArrayInt/String to preallocate them don't call lua_objlen on the tables for getting wxArrayInt/String since objlen traverses it so why do it twice. Index: wxldebug.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxldebug.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** wxldebug.cpp 19 Mar 2007 22:07:27 -0000 1.27 --- wxldebug.cpp 23 Mar 2007 00:09:36 -0000 1.28 *************** *** 241,245 **** else { ! if (wxlState.tget(tableRef) != 0) { int nTop = lua_gettop(L); --- 241,245 ---- else { ! if (wxlState.tget(tableRef)) { int nTop = lua_gettop(L); |