From: John L. <jr...@us...> - 2007-07-19 03:09:49
|
Update of /cvsroot/wxlua/wxLua/bindings/wxlua In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32730/wxLua/bindings/wxlua Modified Files: override.hpp 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: override.hpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxlua/override.hpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** override.hpp 16 Jul 2007 19:34:15 -0000 1.6 --- override.hpp 19 Jul 2007 03:09:45 -0000 1.7 *************** *** 735,741 **** lua_pushstring(L, "object"); if (wxlObject->objPtr != 0) ! wxlState.tpushusertag(wxlObject->objPtr, *wxlObject->class_tag); else ! wxlState.tpushusertag(*wxlObject->pObjPtr, *wxlObject->class_tag); lua_rawset(L, -3); --- 735,741 ---- lua_pushstring(L, "object"); if (wxlObject->objPtr != 0) ! wxlState.tpushusertag(wxlObject->objPtr, *wxlObject->class_tag, false); else ! wxlState.tpushusertag(*wxlObject->pObjPtr, *wxlObject->class_tag, false); lua_rawset(L, -3); |