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

Revision 857, 783 bytes checked in by igarcia, 18 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 TO_PYTHON_FUNCTION_TYPE_DWA200236_HPP
6# define TO_PYTHON_FUNCTION_TYPE_DWA200236_HPP
7# include <boost/python/detail/prefix.hpp>
8# include <boost/static_assert.hpp>
9
10namespace boost { namespace python { namespace converter {
11
12// The type of stored function pointers which actually do conversion
13// by-value. The void* points to the object to be converted, and
14// type-safety is preserved through runtime registration.
15typedef PyObject* (*to_python_function_t)(void const*);
16
17}}} // namespace boost::python::converter
18
19#endif // TO_PYTHON_FUNCTION_TYPE_DWA200236_HPP
Note: See TracBrowser for help on using the repository browser.