1414# include < boost/python/converter/rvalue_from_python_data.hpp>
1515# include < boost/mpl/select_type.hpp>
1616# include < boost/python/converter/registry.hpp>
17- # include < boost/python/converter/lvalue_from_python_chain .hpp>
18- # include < boost/python/converter/rvalue_from_python_chain .hpp>
17+ # include < boost/python/converter/from_python .hpp>
18+ # include < boost/python/converter/pointee_from_python .hpp>
1919# include < boost/python/detail/void_ptr.hpp>
2020# include < boost/python/back_reference.hpp>
2121# include < boost/python/detail/referent_storage.hpp>
@@ -229,7 +229,7 @@ inline pointer_cref_arg_from_python<T>::pointer_cref_arg_from_python(PyObject* p
229229 // a U object.
230230 python::detail::write_void_ptr_reference (
231231 m_result.bytes
232- , p == Py_None ? p : find (p, lvalue_from_python_chain <T>::value )
232+ , p == Py_None ? p : converter::get_lvalue_from_python (p, pointee_from_python <T>::converters )
233233 , (T (*)())0 );
234234}
235235
@@ -252,7 +252,7 @@ inline T pointer_cref_arg_from_python<T>::operator()(PyObject* p) const
252252template <class T >
253253inline pointer_arg_from_python<T>::pointer_arg_from_python(PyObject* p)
254254 : arg_lvalue_from_python_base(
255- p == Py_None ? p : find (p, lvalue_from_python_chain <T>::value ))
255+ p == Py_None ? p : converter::get_lvalue_from_python (p, pointee_from_python <T>::converters ))
256256{
257257}
258258
@@ -266,7 +266,7 @@ inline T pointer_arg_from_python<T>::operator()(PyObject* p) const
266266//
267267template <class T >
268268inline reference_arg_from_python<T>::reference_arg_from_python(PyObject* p)
269- : arg_lvalue_from_python_base(find (p,lvalue_from_python_chain <T>::value ))
269+ : arg_lvalue_from_python_base(converter::get_lvalue_from_python (p,from_python <T>::converters ))
270270{
271271}
272272
@@ -281,7 +281,7 @@ inline T reference_arg_from_python<T>::operator()(PyObject*) const
281281//
282282template <class T >
283283inline arg_rvalue_from_python<T>::arg_rvalue_from_python(PyObject* obj)
284- : m_data(find (obj, rvalue_from_python_chain <T>::value ))
284+ : m_data(converter::rvalue_from_python_stage1 (obj, from_python <T>::converters ))
285285{
286286}
287287
0 commit comments