]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | ||
10 | namespace 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. | |
15 | typedef PyObject* (*to_python_function_t)(void const*); | |
16 | ||
17 | }}} // namespace boost::python::converter | |
18 | ||
19 | #endif // TO_PYTHON_FUNCTION_TYPE_DWA200236_HPP |