|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53754 - sandbox-branches/bhy/py3k/boost/python
From: divinekid_at_[hidden]
Date: 2009-06-08 12:35:19
Author: bhy
Date: 2009-06-08 12:35:18 EDT (Mon, 08 Jun 2009)
New Revision: 53754
URL: http://svn.boost.org/trac/boost/changeset/53754
Log:
fix definition of opaque<Pointer>::type_object
Text files modified:
sandbox-branches/bhy/py3k/boost/python/opaque_pointer_converter.hpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
Modified: sandbox-branches/bhy/py3k/boost/python/opaque_pointer_converter.hpp
==============================================================================
--- sandbox-branches/bhy/py3k/boost/python/opaque_pointer_converter.hpp (original)
+++ sandbox-branches/bhy/py3k/boost/python/opaque_pointer_converter.hpp 2009-06-08 12:35:18 EDT (Mon, 08 Jun 2009)
@@ -121,8 +121,7 @@
template <class Pointee>
PyTypeObject opaque<Pointee>::type_object =
{
- PyObject_HEAD_INIT(0)
- 0,
+ PyVarObject_HEAD_INIT(NULL, 0)
0,
sizeof( BOOST_DEDUCED_TYPENAME opaque<Pointee>::python_instance ),
0,
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk