Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48629 - trunk/boost/python
From: rwgk_at_[hidden]
Date: 2008-09-06 01:30:03


Author: rwgk
Date: 2008-09-06 01:30:02 EDT (Sat, 06 Sep 2008)
New Revision: 48629
URL: http://svn.boost.org/trac/boost/changeset/48629

Log:
boost/python/object_core.hpp: work around Tru64 cxx 6.5 name lookup problems (with fully-qualified names)
Text files modified:
   trunk/boost/python/object_core.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/python/object_core.hpp
==============================================================================
--- trunk/boost/python/object_core.hpp (original)
+++ trunk/boost/python/object_core.hpp 2008-09-06 01:30:02 EDT (Sat, 06 Sep 2008)
@@ -404,7 +404,7 @@
       static PyObject*
       get(T const& x, U)
       {
- return python::incref(get_managed_object(x, tag));
+ return python::incref(get_managed_object(x, boost::python::tag));
       }
   };
 
@@ -457,17 +457,17 @@
 detail::args_proxy api::object_operators<U>::operator* () const
 {
   object_cref2 x = *static_cast<U const*>(this);
- return detail::args_proxy(x);
+ return boost::python::detail::args_proxy(x);
 }
  
 template <typename U>
 object api::object_operators<U>::operator()(detail::args_proxy const &args) const
 {
   U const& self = *static_cast<U const*>(this);
- PyObject *result = PyObject_Call(get_managed_object(self, tag),
+ PyObject *result = PyObject_Call(get_managed_object(self, boost::python::tag),
                                    args.operator object().ptr(),
                                    0);
- return object(detail::new_reference(result));
+ return object(boost::python::detail::new_reference(result));
  
 }
  
@@ -476,10 +476,10 @@
                                             detail::kwds_proxy const &kwds) const
 {
   U const& self = *static_cast<U const*>(this);
- PyObject *result = PyObject_Call(get_managed_object(self, tag),
+ PyObject *result = PyObject_Call(get_managed_object(self, boost::python::tag),
                                    args.operator object().ptr(),
                                    kwds.operator object().ptr());
- return object(detail::new_reference(result));
+ return object(boost::python::detail::new_reference(result));
  
 }
 


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