From a16d9f91eea41c8cb1dbe1b2a77aa1d84bd6454a Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 8 Mar 2002 16:14:26 +0000 Subject: [PATCH] Initial checkin [SVN r13140] --- .../converter/callback_from_python_base.hpp | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/boost/python/converter/callback_from_python_base.hpp diff --git a/include/boost/python/converter/callback_from_python_base.hpp b/include/boost/python/converter/callback_from_python_base.hpp new file mode 100644 index 00000000..0eeccb0e --- /dev/null +++ b/include/boost/python/converter/callback_from_python_base.hpp @@ -0,0 +1,20 @@ +// Copyright David Abrahams 2002. Permission to copy, use, +// modify, sell and distribute this software is granted provided this +// copyright notice appears in all copies. This software is provided +// "as is" without express or implied warranty, and with no claim as +// to its suitability for any purpose. +#ifndef CALLBACK_FROM_PYTHON_BASE_DWA200237_HPP +# define CALLBACK_FROM_PYTHON_BASE_DWA200237_HPP + +namespace boost { namespace python { namespace converter { + +namespace detail +{ + // Throw an exception + BOOST_PYTHON_DECL void throw_if_not_registered(rvalue_stage1_data const&); + BOOST_PYTHON_DECL void* convert_rvalue(PyObject*, rvalue_stage1_data& data, void* storage); +} + +}}} // namespace boost::python::converter + +#endif // CALLBACK_FROM_PYTHON_BASE_DWA200237_HPP