diff --git a/include/boost/python/converter/arg_from_python.hpp b/include/boost/python/converter/arg_from_python.hpp index fa59f1d7..cf9e15ae 100755 --- a/include/boost/python/converter/arg_from_python.hpp +++ b/include/boost/python/converter/arg_from_python.hpp @@ -111,7 +111,7 @@ struct arg_rvalue_from_python result_type operator()(PyObject*); private: - rvalue_data m_data; + rvalue_from_python_data m_data; }; diff --git a/include/boost/python/converter/implicit.hpp b/include/boost/python/converter/implicit.hpp index ab78d8a1..48d680aa 100644 --- a/include/boost/python/converter/implicit.hpp +++ b/include/boost/python/converter/implicit.hpp @@ -28,7 +28,7 @@ struct implicit = static_cast(data->convertible); // Call the convertible function again - rvalue_data intermediate_data(registration->convertible(obj)); + rvalue_from_python_data intermediate_data(registration->convertible(obj)); // Use the result to construct the source type if the first // converter was an rvalue converter. diff --git a/include/boost/python/converter/return_from_python.hpp b/include/boost/python/converter/return_from_python.hpp index 2272f94b..85fd3671 100755 --- a/include/boost/python/converter/return_from_python.hpp +++ b/include/boost/python/converter/return_from_python.hpp @@ -41,7 +41,7 @@ namespace detail return_rvalue_from_python(); result_type operator()(PyObject*); private: - rvalue_data m_data; + rvalue_from_python_data m_data; }; template diff --git a/include/boost/python/converter/rvalue_from_python_data.hpp b/include/boost/python/converter/rvalue_from_python_data.hpp index db4103c1..90d5009c 100644 --- a/include/boost/python/converter/rvalue_from_python_data.hpp +++ b/include/boost/python/converter/rvalue_from_python_data.hpp @@ -83,25 +83,25 @@ struct rvalue_from_python_storage // Augments rvalue_from_python_storage with a destructor. If // stage1.convertible == storage.bytes, it indicates that an object of // remove_reference::type has been constructed in storage and -// should will be destroyed in ~rvalue_data(). It is crucial that -// successful rvalue conversions establish this equality and that -// unsuccessful ones do not. +// should will be destroyed in ~rvalue_from_python_data(). It is +// crucial that successful rvalue conversions establish this equality +// and that unsuccessful ones do not. template -struct rvalue_data : rvalue_from_python_storage +struct rvalue_from_python_data : rvalue_from_python_storage { // This must always be a POD struct with m_data its first member. BOOST_STATIC_ASSERT(offsetof(rvalue_from_python_storage,stage1) == 0); // The usual constructor - rvalue_data(rvalue_from_python_stage1_data const&); + rvalue_from_python_data(rvalue_from_python_stage1_data const&); // This constructor just sets m_convertible -- used by // implicitly_convertible<> to perform the final step of the // conversion, where the construct() function is already known. - rvalue_data(void* convertible); + rvalue_from_python_data(void* convertible); // Destroys any object constructed in the storage. - ~rvalue_data(); + ~rvalue_from_python_data(); private: typedef typename add_reference::type>::type ref_type; }; @@ -110,19 +110,19 @@ struct rvalue_data : rvalue_from_python_storage // Implementataions // template -inline rvalue_data::rvalue_data(rvalue_from_python_stage1_data const& stage1) +inline rvalue_from_python_data::rvalue_from_python_data(rvalue_from_python_stage1_data const& stage1) { this->stage1 = stage1; } template -inline rvalue_data::rvalue_data(void* convertible) +inline rvalue_from_python_data::rvalue_from_python_data(void* convertible) { this->stage1.convertible = convertible; } template -inline rvalue_data::~rvalue_data() +inline rvalue_from_python_data::~rvalue_from_python_data() { if (this->stage1.convertible == this->storage.bytes) python::detail::destroy_reference(this->storage.bytes);