Release 1.39.0
[boost.git] / Boost_1_39_0 / libs / python / test / as_to_python_function.cpp
blobcc083890a6a85c39ad037f0afb75fbf7222d10a9
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)
6 #include <boost/python/converter/as_to_python_function.hpp>
8 struct hopefully_illegal
10 static PyObject* convert(int&);
13 PyObject* x = boost::python::converter::as_to_python_function<int, hopefully_illegal>::convert(0);