mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-05-31 04:53:22 +08:00
29 lines
812 B
C++
29 lines
812 B
C++
// Copyright David Abrahams 2002.
|
|
// Distributed under the Boost Software License, Version 1.0. (See
|
|
// accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#include <boost/python/converter/arg_to_python_base.hpp>
|
|
#include <boost/python/errors.hpp>
|
|
#include <boost/python/converter/registrations.hpp>
|
|
#include <boost/python/handle.hpp>
|
|
#include <boost/python/refcount.hpp>
|
|
|
|
namespace boost { namespace python { namespace converter {
|
|
|
|
namespace detail
|
|
{
|
|
arg_to_python_base::arg_to_python_base(
|
|
void const volatile* source, registration const& converters)
|
|
# if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102179
|
|
: handle<>
|
|
# else
|
|
: m_ptr
|
|
# endif
|
|
(converters.to_python(source))
|
|
{
|
|
}
|
|
}
|
|
|
|
}}} // namespace boost::python::converter
|