From 26d520af3cd25249987f0864cac66f1fc1683818 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 6 Jan 2002 14:35:27 +0000 Subject: [PATCH] avoiding naming conflict, object:: -> objects:: [SVN r12230] --- include/boost/python/converter/class.hpp | 10 +++++----- include/boost/python/object/class.hpp | 4 ++-- include/boost/python/object/class_unwrapper.hpp | 4 ++-- include/boost/python/object/construct.hpp | 4 ++-- include/boost/python/object/make_holder.hpp | 4 ++-- include/boost/python/object/value_holder.hpp | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/include/boost/python/converter/class.hpp b/include/boost/python/converter/class.hpp index 6e09a961..c6fef86a 100644 --- a/include/boost/python/converter/class.hpp +++ b/include/boost/python/converter/class.hpp @@ -32,31 +32,31 @@ struct class_unwrapper template void* class_unwrapper::can_convert(PyObject* p) const { - return object::find_holder(p); + return objects::find_holder(p); } template T& class_unwrapper::convert(PyObject*, void* holder_, boost::type) const { - return *static_cast*>(holder_)->target(); + return *static_cast*>(holder_)->target(); } template T const& class_unwrapper::convert(PyObject*, void* holder_, boost::type) const { - return *static_cast*>(holder_)->target(); + return *static_cast*>(holder_)->target(); } template T* class_unwrapper::convert(PyObject*, void* holder_, boost::type) const { - return static_cast*>(holder_)->target(); + return static_cast*>(holder_)->target(); } template T const* class_unwrapper::convert(PyObject*, void* holder_, boost::type) const { - return static_cast*>(holder_)->target(); + return static_cast*>(holder_)->target(); } }}} // namespace boost::python::converter diff --git a/include/boost/python/object/class.hpp b/include/boost/python/object/class.hpp index 35085e5f..b272d5fe 100644 --- a/include/boost/python/object/class.hpp +++ b/include/boost/python/object/class.hpp @@ -12,7 +12,7 @@ # include # include -namespace boost { namespace python { namespace object { +namespace boost { namespace python { namespace objects { template struct holder; @@ -98,6 +98,6 @@ holder::holder() { } -}}} // namespace boost::python::object +}}} // namespace boost::python::objects #endif // CLASS_DWA20011214_HPP diff --git a/include/boost/python/object/class_unwrapper.hpp b/include/boost/python/object/class_unwrapper.hpp index 4fa441e1..666c6e93 100644 --- a/include/boost/python/object/class_unwrapper.hpp +++ b/include/boost/python/object/class_unwrapper.hpp @@ -9,7 +9,7 @@ # include # include -namespace boost { namespace python { namespace object { +namespace boost { namespace python { namespace objects { template struct class_unwrapper @@ -35,6 +35,6 @@ struct class_unwrapper # endif }; -}}} // namespace boost::python::object +}}} // namespace boost::python::objects #endif // CLASS_UNWRAPPER_DWA20011221_HPP diff --git a/include/boost/python/object/construct.hpp b/include/boost/python/object/construct.hpp index 3ff701d2..1eb73e4a 100644 --- a/include/boost/python/object/construct.hpp +++ b/include/boost/python/object/construct.hpp @@ -6,7 +6,7 @@ #ifndef CONSTRUCT_DWA20011215_HPP # define CONSTRUCT_DWA20011215_HPP -namespace boost { namespace python { namespace object { +namespace boost { namespace python { namespace objects { template struct construct @@ -19,6 +19,6 @@ struct construct } }; -}}} // namespace boost::python::object +}}} // namespace boost::python::objects #endif // CONSTRUCT_DWA20011215_HPP diff --git a/include/boost/python/object/make_holder.hpp b/include/boost/python/object/make_holder.hpp index fb5ec382..76b3a5f4 100644 --- a/include/boost/python/object/make_holder.hpp +++ b/include/boost/python/object/make_holder.hpp @@ -11,7 +11,7 @@ # include # include -namespace boost { namespace python { namespace object { +namespace boost { namespace python { namespace objects { template struct undefined; @@ -119,6 +119,6 @@ struct make_holder<3> }; }; -}}} // namespace boost::python::object +}}} // namespace boost::python::objects #endif // MAKE_HOLDER_DWA20011215_HPP diff --git a/include/boost/python/object/value_holder.hpp b/include/boost/python/object/value_holder.hpp index 128d170b..a06afe84 100644 --- a/include/boost/python/object/value_holder.hpp +++ b/include/boost/python/object/value_holder.hpp @@ -8,7 +8,7 @@ # include -namespace boost { namespace python { namespace object { +namespace boost { namespace python { namespace objects { template struct value_holder : holder @@ -75,6 +75,6 @@ struct value_holder_generator }; }; -}}} // namespace boost::python::object +}}} // namespace boost::python::objects #endif // VALUE_HOLDER_DWA20011215_HPP