Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv2271/wxLua/bindings/wxwidgets
Modified Files:
wxbase_override.hpp wxcore_override.hpp
Log Message:
Add ored enum DELETE_CLEAR_OBJECT for wxLuaState::RemoveTrackedObject to simplify
Apply patch to lparser.c "Too many variables in an assignment may cause a C stack overflow"
Index: wxbase_override.hpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxbase_override.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** wxbase_override.hpp 31 Jul 2007 20:54:02 -0000 1.3
--- wxbase_override.hpp 1 Aug 2007 19:15:31 -0000 1.4
***************
*** 180,184 ****
// we may not be tracked, but delete us anyway
! if (!wxlState.RemoveTrackedObject(self, wxLuaState::DELETE_OBJECT|wxLuaState::CLEAR_LUA_TRACKED|wxLuaState::CLEAR_DERIVED_METHODS))
delete self;
--- 180,184 ----
// we may not be tracked, but delete us anyway
! if (!wxlState.RemoveTrackedObject(self, wxLuaState::DELETE_CLEAR_OBJECT))
delete self;
Index: wxcore_override.hpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxcore_override.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** wxcore_override.hpp 1 Aug 2007 03:21:23 -0000 1.3
--- wxcore_override.hpp 1 Aug 2007 19:15:31 -0000 1.4
***************
*** 2465,2470 ****
// we must disconnect them from our tracking list
if (printoutForPrinting != NULL)
! wxlState.RemoveTrackedObject(printoutForPrinting, wxLuaState::UNDELETE);
! wxlState.RemoveTrackedObject(printout, wxLuaState::UNDELETE);
// call constructor
--- 2465,2470 ----
// we must disconnect them from our tracking list
if (printoutForPrinting != NULL)
! wxlState.RemoveTrackedObject(printoutForPrinting, wxLuaState::UNDELETE_OBJECT);
! wxlState.RemoveTrackedObject(printout, wxLuaState::UNDELETE_OBJECT);
// call constructor
|