Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54646 - sandbox-branches/bhy/py3k/boost/python
From: divinekid_at_[hidden]
Date: 2009-07-04 12:18:57


Author: bhy
Date: 2009-07-04 12:18:56 EDT (Sat, 04 Jul 2009)
New Revision: 54646
URL: http://svn.boost.org/trac/boost/changeset/54646

Log:
.ob_type -> Py_TYPE() usage change
Text files modified:
   sandbox-branches/bhy/py3k/boost/python/lvalue_from_pytype.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox-branches/bhy/py3k/boost/python/lvalue_from_pytype.hpp
==============================================================================
--- sandbox-branches/bhy/py3k/boost/python/lvalue_from_pytype.hpp (original)
+++ sandbox-branches/bhy/py3k/boost/python/lvalue_from_pytype.hpp 2009-07-04 12:18:56 EDT (Sat, 04 Jul 2009)
@@ -63,7 +63,7 @@
 {
     static MemberType& execute(InstanceType& c)
     {
- (void)c.ob_type; // static assertion
+ (void)Py_TYPE(&c); // static assertion
         return c.*member;
     }
 };
@@ -75,7 +75,7 @@
 {
     static InstanceType& execute(InstanceType& c)
     {
- (void)c.ob_type; // static assertion
+ (void)Py_TYPE(&c); // static assertion
         return c;
     }
 };


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