From: John L. <jr...@us...> - 2009-11-15 17:56:14
|
Update of /cvsroot/wxlua/wxLua/modules/wxluasocket/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32122/wxLua/modules/wxluasocket/src Modified Files: wxldtarg.cpp Log Message: Speedup the wxLuaStackDialog by passing the lua_State instead of the wxLuaState and use wxString::Printf() instead of wxString::Format() Index: wxldtarg.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/src/wxldtarg.cpp,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** wxldtarg.cpp 24 Jun 2009 19:57:41 -0000 1.48 --- wxldtarg.cpp 15 Nov 2009 17:56:04 -0000 1.49 *************** *** 454,458 **** EnterLuaCriticalSection(); ! debugData.EnumerateStack(m_wxlState); LeaveLuaCriticalSection(); --- 454,458 ---- EnterLuaCriticalSection(); ! debugData.EnumerateStack(m_wxlState.GetLuaState()); LeaveLuaCriticalSection(); *************** *** 465,469 **** EnterLuaCriticalSection(); ! debugData.EnumerateStackEntry(m_wxlState, stackRef, m_references); LeaveLuaCriticalSection(); --- 465,469 ---- EnterLuaCriticalSection(); ! debugData.EnumerateStackEntry(m_wxlState.GetLuaState(), stackRef, m_references); LeaveLuaCriticalSection(); *************** *** 476,480 **** EnterLuaCriticalSection(); ! debugData.EnumerateTable(m_wxlState, tableRef, nIndex, m_references); LeaveLuaCriticalSection(); --- 476,480 ---- EnterLuaCriticalSection(); ! debugData.EnumerateTable(m_wxlState.GetLuaState(), tableRef, nIndex, m_references); LeaveLuaCriticalSection(); *************** *** 570,574 **** int wxl_type = 0; wxString value; ! wxLuaDebugData::GetTypeValue(m_wxlState, -1, &wxl_type, value); strResult.Printf(wxT("%s : %s"), wxluaT_typename(L, wxl_type).c_str(), value.c_str()); --- 570,574 ---- int wxl_type = 0; wxString value; ! wxLuaDebugData::GetTypeValue(L, -1, &wxl_type, value); strResult.Printf(wxT("%s : %s"), wxluaT_typename(L, wxl_type).c_str(), value.c_str()); |