Skip to content

Commit b3e91f8

Browse files
author
Ralf W. Grosse-Kunstleve
committed
boost/python/object_core.hpp: work around Tru64 cxx 6.5 name lookup problems (with fully-qualified names)
[SVN r48629]
1 parent d67cd67 commit b3e91f8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

include/boost/python/object_core.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ namespace api
404404
static PyObject*
405405
get(T const& x, U)
406406
{
407-
return python::incref(get_managed_object(x, tag));
407+
return python::incref(get_managed_object(x, boost::python::tag));
408408
}
409409
};
410410

@@ -457,17 +457,17 @@ template <typename U>
457457
detail::args_proxy api::object_operators<U>::operator* () const
458458
{
459459
object_cref2 x = *static_cast<U const*>(this);
460-
return detail::args_proxy(x);
460+
return boost::python::detail::args_proxy(x);
461461
}
462462

463463
template <typename U>
464464
object api::object_operators<U>::operator()(detail::args_proxy const &args) const
465465
{
466466
U const& self = *static_cast<U const*>(this);
467-
PyObject *result = PyObject_Call(get_managed_object(self, tag),
467+
PyObject *result = PyObject_Call(get_managed_object(self, boost::python::tag),
468468
args.operator object().ptr(),
469469
0);
470-
return object(detail::new_reference(result));
470+
return object(boost::python::detail::new_reference(result));
471471

472472
}
473473

@@ -476,10 +476,10 @@ object api::object_operators<U>::operator()(detail::args_proxy const &args,
476476
detail::kwds_proxy const &kwds) const
477477
{
478478
U const& self = *static_cast<U const*>(this);
479-
PyObject *result = PyObject_Call(get_managed_object(self, tag),
479+
PyObject *result = PyObject_Call(get_managed_object(self, boost::python::tag),
480480
args.operator object().ptr(),
481481
kwds.operator object().ptr());
482-
return object(detail::new_reference(result));
482+
return object(boost::python::detail::new_reference(result));
483483

484484
}
485485

0 commit comments

Comments
 (0)