1 // Copyright David Abrahams 2002. 2 // Distributed under the Boost Software License, Version 1.0. (See 3 // accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 #ifndef FIND_FROM_PYTHON_DWA2002223_HPP 6 # define FIND_FROM_PYTHON_DWA2002223_HPP 7 8 # include <boost/python/detail/prefix.hpp> 9 # include <boost/python/converter/rvalue_from_python_data.hpp> 10 11 namespace boost { namespace python { namespace converter { 12 13 struct registration; 14 15 16 BOOST_PYTHON_DECL void* get_lvalue_from_python( 17 PyObject* source, registration const&); 18 19 BOOST_PYTHON_DECL bool implicit_rvalue_convertible_from_python( 20 PyObject* source, registration const&); 21 22 BOOST_PYTHON_DECL rvalue_from_python_stage1_data rvalue_from_python_stage1( 23 PyObject* source, registration const&); 24 25 BOOST_PYTHON_DECL void* rvalue_from_python_stage2( 26 PyObject* source, rvalue_from_python_stage1_data&, registration const&); 27 28 BOOST_PYTHON_DECL void* rvalue_result_from_python( 29 PyObject*, rvalue_from_python_stage1_data&); 30 31 BOOST_PYTHON_DECL void* reference_result_from_python(PyObject*, registration const&); 32 BOOST_PYTHON_DECL void* pointer_result_from_python(PyObject*, registration const&); 33 34 BOOST_PYTHON_DECL void void_result_from_python(PyObject*); 35 36 BOOST_PYTHON_DECL void throw_no_pointer_from_python(PyObject*, registration const&); 37 BOOST_PYTHON_DECL void throw_no_reference_from_python(PyObject*, registration const&); 38 39 }}} // namespace boost::python::converter 40 41 #endif // FIND_FROM_PYTHON_DWA2002223_HPP 42