]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/src/converter/arg_to_python_base.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / python / src / converter / arg_to_python_base.cpp
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
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>
11
12 namespace boost { namespace python { namespace converter {
13
14 namespace detail
15 {
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))
24 {
25 }
26 }
27
28 }}} // namespace boost::python::converter