From: John L. <jr...@us...> - 2007-12-04 05:20:32
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16657/wxLua/modules/wxluadebug/include Modified Files: wxldebug.h wxlstack.h Log Message: After separating the tags, refs, and debug refs in the Lua registry rename the wxluaT_XXX functions to match what they operate on wxluaR_ for generic ref functions wxluaT_ for tag functions wxluaO_ for object functions Index: wxldebug.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/wxldebug.h,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** wxldebug.h 30 Nov 2007 23:00:08 -0000 1.45 --- wxldebug.h 4 Dec 2007 05:20:29 -0000 1.46 *************** *** 30,34 **** WXLUA_DEBUGITEM_EXPANDED = 0x0400, // for wxLuaStackDialog WXLUA_DEBUGITEM_LUAREFED = 0x0800 // This item was created with a ! // new wxluaT_insert() reference // rather than using an existing one. }; --- 30,34 ---- WXLUA_DEBUGITEM_EXPANDED = 0x0400, // for wxLuaStackDialog WXLUA_DEBUGITEM_LUAREFED = 0x0800 // This item was created with a ! // new wxluaR_ref() reference // rather than using an existing one. }; *************** *** 58,62 **** wxString GetSource() const { return m_itemSource; } ! int GetReference() const { return m_lua_ref; } // wxluaT_tag reference int GetIndex() const { return m_index; } // stack index or table level index int GetFlag() const { return m_flag; } // see wxLuaDebugItem_Type --- 58,62 ---- wxString GetSource() const { return m_itemSource; } ! int GetReference() const { return m_lua_ref; } // wxluaT_gettag() reference int GetIndex() const { return m_index; } // stack index or table level index int GetFlag() const { return m_flag; } // see wxLuaDebugItem_Type *************** *** 65,69 **** void SetFlag(int flag) { m_flag = flag; } void SetFlagBit(int bit, bool set) { m_flag = WXLUA_SETBIT(m_flag, bit, set); } ! void SetReference(int lua_ref) { m_lua_ref = lua_ref; } // only if you've wxluaT_removed it // Get a human readable string for debugging --- 65,69 ---- void SetFlag(int flag) { m_flag = flag; } void SetFlagBit(int bit, bool set) { m_flag = WXLUA_SETBIT(m_flag, bit, set); } ! void SetReference(int lua_ref) { m_lua_ref = lua_ref; } // only if you've wxluaR_unref()ed it // Get a human readable string for debugging Index: wxlstack.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/wxlstack.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wxlstack.h 2 Dec 2007 20:57:34 -0000 1.12 --- wxlstack.h 4 Dec 2007 05:20:29 -0000 1.13 *************** *** 194,198 **** void OnListRightClick(wxListEvent &event); ! // Expand a single list item bool ExpandItem(long lc_item); // Expand a list item and all it's children --- 194,198 ---- void OnListRightClick(wxListEvent &event); ! // Expand a single list item bool ExpandItem(long lc_item); // Expand a list item and all it's children *************** *** 221,225 **** wxLuaState m_wxlState; // lua_State to show stack for ! wxArrayInt m_luaReferences; // references from m_wxlState.wxluaT_Insert wxImageList* m_imageList; // image list for listctrl --- 221,225 ---- wxLuaState m_wxlState; // lua_State to show stack for ! wxArrayInt m_luaReferences; // references from m_wxlState.wxluaR_Ref() wxImageList* m_imageList; // image list for listctrl |