2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 18:52:26 +00:00

destroy_reference -> destroy_referent

[SVN r14486]
This commit is contained in:
Dave Abrahams
2002-07-17 01:53:33 +00:00
parent 1d2dc98f50
commit 134bc44c45
3 changed files with 11 additions and 11 deletions

View File

@@ -129,7 +129,7 @@ template <class T>
inline rvalue_from_python_data<T>::~rvalue_from_python_data()
{
if (this->stage1.convertible == this->storage.bytes)
python::detail::destroy_reference<ref_type>(this->storage.bytes);
python::detail::destroy_referent<ref_type>(this->storage.bytes);
}
}}} // namespace boost::python::converter

View File

@@ -62,7 +62,7 @@ struct value_destroyer<false,true>
};
template <class T>
inline void destroy_reference_impl(void* p, T& (*)())
inline void destroy_referent_impl(void* p, T& (*)())
{
// note: cv-qualification needed for MSVC6
// must come *before* T for metrowerks
@@ -73,9 +73,9 @@ inline void destroy_reference_impl(void* p, T& (*)())
}
template <class T>
inline void destroy_reference(void* p, T(*)() = 0)
inline void destroy_referent(void* p, T(*)() = 0)
{
destroy_reference_impl(p, (T(*)())0);
destroy_referent_impl(p, (T(*)())0);
}
}}} // namespace boost::python::detail