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
8 # include <boost/python/detail/prefix.hpp>
9 # include <boost/python/converter/rvalue_from_python_data.hpp>
11 namespace boost { namespace python { namespace converter {
16 BOOST_PYTHON_DECL void* get_lvalue_from_python(
17 PyObject* source, registration const&);
19 BOOST_PYTHON_DECL bool implicit_rvalue_convertible_from_python(
20 PyObject* source, registration const&);
22 BOOST_PYTHON_DECL rvalue_from_python_stage1_data rvalue_from_python_stage1(
23 PyObject* source, registration const&);
25 BOOST_PYTHON_DECL void* rvalue_from_python_stage2(
26 PyObject* source, rvalue_from_python_stage1_data&, registration const&);
28 BOOST_PYTHON_DECL void* rvalue_result_from_python(
29 PyObject*, rvalue_from_python_stage1_data&);
31 BOOST_PYTHON_DECL void* reference_result_from_python(PyObject*, registration const&);
32 BOOST_PYTHON_DECL void* pointer_result_from_python(PyObject*, registration const&);
34 BOOST_PYTHON_DECL void void_result_from_python(PyObject*);
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&);
39 }}} // namespace boost::python::converter
41 #endif // FIND_FROM_PYTHON_DWA2002223_HPP