Update of /cvsroot/wxlua/wxLua/modules/wxlua/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32730/wxLua/modules/wxlua/include
Modified Files:
wxlstate.h
Log Message:
Implement a better fix for the gc of duplicate pointers
Don't track wxLuaFunctions, should be much faster now
Make wxLuaState::RemoveTrackedMemory also clear the rest of the "tracking" info
Index: wxlstate.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlstate.h,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** wxlstate.h 28 Jun 2007 22:45:57 -0000 1.85
--- wxlstate.h 19 Jul 2007 03:09:46 -0000 1.86
***************
*** 171,175 ****
// with it's metatable set to the table from tget(tag). Returns true if the
// tag is known and the metatable was set.
! WXDLLIMPEXP_WXLUA bool LUACALL wxlua_tpushusertag(lua_State* L, const void* u, int tag);
// Get the numeric tag of the object at the stack index using the metatable's "tag" key.
// returns WXLUA_NOTAG if the metatable of the object doesn't have a "tag"
--- 171,175 ----
// with it's metatable set to the table from tget(tag). Returns true if the
// tag is known and the metatable was set.
! WXDLLIMPEXP_WXLUA bool LUACALL wxlua_tpushusertag(lua_State* L, const void* u, int tag, bool track);
// Get the numeric tag of the object at the stack index using the metatable's "tag" key.
// returns WXLUA_NOTAG if the metatable of the object doesn't have a "tag"
***************
*** 677,681 ****
// with it's metatable set to the table from tget(tag). Returns true if the
// tag is known and the metatable was set.
! bool tpushusertag(const void *u, int tag);
// Get the numeric tag of the object at the stack index using the metatable's "tag" key.
// returns WXLUA_NOTAG if the metatable of the object doesn't have a "tag"
--- 677,681 ----
// with it's metatable set to the table from tget(tag). Returns true if the
// tag is known and the metatable was set.
! bool tpushusertag(const void *u, int tag, bool track);
// Get the numeric tag of the object at the stack index using the metatable's "tag" key.
// returns WXLUA_NOTAG if the metatable of the object doesn't have a "tag"
|