File tree Expand file tree Collapse file tree
include/boost/python/converter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ namespace registry
3030 BOOST_PYTHON_DECL void insert (to_python_function_t , type_info, PyTypeObject const * (*to_python_target_type)() = 0);
3131
3232 // Insert an lvalue from_python converter
33- BOOST_PYTHON_DECL void insert (void * (*convert)(PyObject*) , type_info, PyTypeObject const * (*expected_pytype)() = 0);
33+ BOOST_PYTHON_DECL void insert (convertible_function , type_info, PyTypeObject const * (*expected_pytype)() = 0);
3434
3535 // Insert an rvalue from_python converter
3636 BOOST_PYTHON_DECL void insert (
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ namespace registry
243243 }
244244
245245 // Insert an rvalue from_python converter
246- void insert (void * (* convertible)(PyObject*)
246+ void insert (convertible_function convertible
247247 , constructor_function construct
248248 , type_info key
249249 , PyTypeObject const * (*exp_pytype)())
@@ -261,7 +261,7 @@ namespace registry
261261 }
262262
263263 // Insert an rvalue from_python converter
264- void push_back (void * (* convertible)(PyObject*)
264+ void push_back (convertible_function convertible
265265 , constructor_function construct
266266 , type_info key
267267 , PyTypeObject const * (*exp_pytype)())
You can’t perform that action at this time.
0 commit comments