source: NonGTP/Boost/boost/python/converter/from_python.hpp @ 857

Revision 857, 1.5 KB checked in by igarcia, 19 years ago (diff)
Line 
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
11namespace boost { namespace python { namespace converter {
12
13struct registration;
14
15
16BOOST_PYTHON_DECL void* get_lvalue_from_python(
17    PyObject* source, registration const&);
18
19BOOST_PYTHON_DECL bool implicit_rvalue_convertible_from_python(
20    PyObject* source, registration const&);
21
22BOOST_PYTHON_DECL rvalue_from_python_stage1_data rvalue_from_python_stage1(
23    PyObject* source, registration const&);
24
25BOOST_PYTHON_DECL void* rvalue_from_python_stage2(
26    PyObject* source, rvalue_from_python_stage1_data&, registration const&);
27
28BOOST_PYTHON_DECL void* rvalue_result_from_python(
29    PyObject*, rvalue_from_python_stage1_data&);
30
31BOOST_PYTHON_DECL void* reference_result_from_python(PyObject*, registration const&);
32BOOST_PYTHON_DECL void* pointer_result_from_python(PyObject*, registration const&);
33
34BOOST_PYTHON_DECL void void_result_from_python(PyObject*);
35
36BOOST_PYTHON_DECL void throw_no_pointer_from_python(PyObject*, registration const&);
37BOOST_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
Note: See TracBrowser for help on using the repository browser.