[pyrrlicht-commit] SF.net SVN: pyrrlicht: [543] trunk/cpp
Status: Pre-Alpha
Brought to you by:
kbluck
|
From: <kb...@us...> - 2007-01-23 00:19:19
|
Revision: 543
http://svn.sourceforge.net/pyrrlicht/?rev=543&view=rev
Author: kbluck
Date: 2007-01-22 16:19:19 -0800 (Mon, 22 Jan 2007)
Log Message:
-----------
CHG: Defined helper macros to initialize tuples of multiple base typeobjects. The problem at hand is that filling a regular, garbage-collected tuple such as would be returned by Py_BuildValue() with unreadied typeobjects will cause garbage collection segfaults. This method generates a statically allocated PyTupleObject-compatible object instance that is unknown to the garbage collector, and as such will not cause the segfault problems while still allowing early init of the subtype. Macros are defined for varying numbers of supertypes.
Modified Paths:
--------------
trunk/cpp/irr_gui_class_IGUIElement.cpp
trunk/cpp/python_type.hpp
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|