From: John L. <jr...@us...> - 2006-05-14 07:48:13
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1343/wxLua/modules/wxlua/include Modified Files: wxlbind.h wxlstate.h Log Message: Add classinfo to the encapsulated classes for showing what they are in stacktree show the tracked class types in the stack tree use long for memory pointers not int in AddToTrackedMemory Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** wxlbind.h 18 Apr 2006 19:56:55 -0000 1.15 --- wxlbind.h 14 May 2006 07:48:09 -0000 1.16 *************** *** 164,170 **** --- 164,172 ---- private: \ theObject *m_p##theObject; \ + DECLARE_ABSTRACT_CLASS(wxObject_##theObject); \ }; #define wxLUA_IMPLEMENT_ENCAPSULATION(theObject) \ + IMPLEMENT_ABSTRACT_CLASS(wxObject_##theObject, wxObject); \ wxObject_##theObject::wxObject_##theObject(theObject *p##theObject) \ :m_p##theObject(p##theObject) \ Index: wxlstate.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlstate.h,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** wxlstate.h 14 May 2006 00:40:56 -0000 1.46 --- wxlstate.h 14 May 2006 07:48:09 -0000 1.47 *************** *** 406,410 **** void AddToTrackedMemoryList(wxObject *pObject); ! void AddToTrackedMemoryList(int obj_ptr, wxObject *pObject); bool RemoveTrackedMemory(void *pObject, bool fDelete = true); --- 406,410 ---- void AddToTrackedMemoryList(wxObject *pObject); ! void AddToTrackedMemoryList(long obj_ptr, wxObject *pObject); bool RemoveTrackedMemory(void *pObject, bool fDelete = true); |