Update of /cvsroot/wxlua/wxLua/modules/wxlua/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32516/wxLua/modules/wxlua/include
Modified Files:
wxlstate.h
Log Message:
Add %gc, %ungc, %gc_this, and %ungc_this for fine tuning of tracking or
releasing the garbage collection of userdata objects that become
owned or released by something other than wxLua.
Added %delete to many more classes using the above tags to control when
and if they should be deleted.
Index: wxlstate.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlstate.h,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** wxlstate.h 16 Jun 2007 06:21:46 -0000 1.80
--- wxlstate.h 25 Jun 2007 03:19:49 -0000 1.81
***************
*** 595,598 ****
--- 595,600 ----
// Remove the object from the tracked memory and if fDelete, delete it too.
bool RemoveTrackedObject(void *pObject, bool fDelete = true);
+ // Is this object currently tracked?
+ bool IsTrackedObject(void *pObject) const;
wxLongToLongHashMap* GetTrackedObjects();
// Get an array of strings "wxObject_classname count#"
|