diff --git a/include/boost/python/object_core.hpp b/include/boost/python/object_core.hpp index d05812ee..abd2ea5b 100644 --- a/include/boost/python/object_core.hpp +++ b/include/boost/python/object_core.hpp @@ -404,7 +404,7 @@ namespace api 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 @@ template detail::args_proxy api::object_operators::operator* () const { object_cref2 x = *static_cast(this); - return detail::args_proxy(x); + return boost::python::detail::args_proxy(x); } template object api::object_operators::operator()(detail::args_proxy const &args) const { U const& self = *static_cast(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 @@ object api::object_operators::operator()(detail::args_proxy const &args, detail::kwds_proxy const &kwds) const { U const& self = *static_cast(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)); }