From e0737c56c1e384e05064a0c6e1ac46979371041b Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 19 Dec 2018 22:58:32 +0100 Subject: New upstream version 2.0.0+repack --- .../python/src/converter/arg_to_python_base.cpp | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 boost/libs/python/src/converter/arg_to_python_base.cpp (limited to 'boost/libs/python/src/converter/arg_to_python_base.cpp') diff --git a/boost/libs/python/src/converter/arg_to_python_base.cpp b/boost/libs/python/src/converter/arg_to_python_base.cpp new file mode 100644 index 00000000..d872314a --- /dev/null +++ b/boost/libs/python/src/converter/arg_to_python_base.cpp @@ -0,0 +1,28 @@ +// 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 +#include +#include +#include +#include + +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 -- cgit v1.2.3