2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-30 20:12:37 +00:00

opaque pointer conversions from Gottfried.Ganssauge@haufe.de

Acknowledgements for all


[SVN r17839]
This commit is contained in:
Dave Abrahams
2003-03-12 13:38:18 +00:00
parent 8c1a826ce8
commit b58503707f
5 changed files with 78 additions and 10 deletions

View File

@@ -44,12 +44,14 @@
# include <boost/python/object_protocol.hpp>
# include <boost/python/object_protocol_core.hpp>
# include <boost/python/operators.hpp>
# include <boost/python/opaque_pointer_converter.hpp>
# include <boost/python/other.hpp>
# include <boost/python/overloads.hpp>
# include <boost/python/pointee.hpp>
# include <boost/python/ptr.hpp>
# include <boost/python/reference_existing_object.hpp>
# include <boost/python/return_internal_reference.hpp>
# include <boost/python/return_opaque_pointer.hpp>
# include <boost/python/return_value_policy.hpp>
# include <boost/python/scope.hpp>
# include <boost/python/self.hpp>

View File

@@ -0,0 +1,15 @@
// Copyright Gottfried Ganßauge 2003. 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 BOOST_PYTHON_DETAIL_DEALLOC_HPP_
# define BOOST_PYTHON_DETAIL_DEALLOC_HPP_
namespace boost { namespace python { namespace detail {
extern "C" inline void dealloc(PyObject* self)
{
PyObject_Del(self);
}
}}} // namespace boost::python::detail
# endif // BOOST_PYTHON_DETAIL_DEALLOC_HPP_