From: John L. <jr...@us...> - 2007-06-14 05:02:52
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29717/wxLua/modules/wxluadebug/src Modified Files: wxldebug.cpp Log Message: Rename TLUA_NOTAG to WXLUA_NOTAG since it's only for wxLua Replace calls to lua_pushliteral with lua_pushlstring for better performance Change wxLuaState::Has/Get/SetDerivedMethods to C functions wxlua_has/get/setderivedmethods for a little better speed. Test wxLuaObject in unittest.wx.lua Index: wxldebug.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxldebug.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** wxldebug.cpp 6 Jun 2007 03:53:40 -0000 1.32 --- wxldebug.cpp 14 Jun 2007 05:02:49 -0000 1.33 *************** *** 427,431 **** s += wxString::Format(wxT(" (approx %d items)"), nItems); ! if (nTag != TLUA_NOTAG) s += wxString::Format(wxT(" (tag %d)"), nTag); --- 427,431 ---- s += wxString::Format(wxT(" (approx %d items)"), nItems); ! if (nTag != WXLUA_NOTAG) s += wxString::Format(wxT(" (tag %d)"), nTag); *************** *** 443,449 **** if (full) { ! int nTag = wxlState.ttag(index); ! if (nTag != TLUA_NOTAG) { s += wxString::Format(wxT(" (tag %d)"), nTag); --- 443,449 ---- if (full) { ! int nTag = wxlua_ttag(L, index); ! if (nTag != WXLUA_NOTAG) { s += wxString::Format(wxT(" (tag %d)"), nTag); |