Improve vacpp support.
[boost.git] / boost / libs / python / src / converter / arg_to_python_base.cpp
blobd872314a74c44acda34fb86ce0604b1360fbdb4e
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/arg_to_python_base.hpp>
7 #include <boost/python/errors.hpp>
8 #include <boost/python/converter/registrations.hpp>
9 #include <boost/python/handle.hpp>
10 #include <boost/python/refcount.hpp>
12 namespace boost { namespace python { namespace converter {
14 namespace detail
16 arg_to_python_base::arg_to_python_base(
17 void const volatile* source, registration const& converters)
18 # if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102179
19 : handle<>
20 # else
21 : m_ptr
22 # endif
23 (converters.to_python(source))
28 }}} // namespace boost::python::converter