From: John L. <jr...@us...> - 2005-12-01 06:44:05
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24710/wxLua/modules/wxluadebug/include Modified Files: wxldebug.h Log Message: Make wxLuaDebugData have functions to BuildStack, BuildStackList, BuildTableList These replace the same functions in wxLuaInterface Replaces EnumerateStack, EnumerateStackEntry, EnumerateTable in wxLuaTarget and wxLuaDebugee moved helper functions MakeNumber, MakeBoolean, GetTableInfo, GetUserDataInfo as well Index: wxldebug.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/wxldebug.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wxldebug.h 1 Dec 2005 04:17:29 -0000 1.7 --- wxldebug.h 1 Dec 2005 06:43:53 -0000 1.8 *************** *** 110,113 **** --- 110,124 ---- virtual ~wxLuaDebugData(); + // fill this with the stack entries for the wxLuaState + // returns the number of stack entries added + int BuildStack(const wxLuaState& wxlState); + int BuildStackList(const wxLuaState& wxlState, int stackRef, wxArrayInt& references); + int BuildTableList(const wxLuaState& wxlState, int nRef, int nEntry, wxArrayInt& references); + + static wxString MakeNumber(double dnum); + static wxString MakeBoolean(int num); + static wxString GetTableInfo(const wxLuaState& wxlState, int index); + static wxString GetUserDataInfo(const wxLuaState& wxlState, int index, bool full = true); + wxLuaDebugData *Clone() const; static int SortFunction(wxLuaDebugDataItem *elem1, wxLuaDebugDataItem *elem2 ); *************** *** 134,143 **** int Ref(); - wxString GetTableInfo(int index); - wxString GetUserDataInfo(int index, bool full = true); - - static wxString MakeNumber(double dnum); - static wxString MakeBoolean(int num); - wxLuaState m_wxlState; wxArrayInt m_references; --- 145,148 ---- |