Chris@16: // Copyright Gottfried Ganßauge 2003. Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: # ifndef BOOST_PYTHON_DETAIL_DEALLOC_HPP_ Chris@16: # define BOOST_PYTHON_DETAIL_DEALLOC_HPP_ Chris@16: namespace boost { namespace python { namespace detail { Chris@16: extern "C" Chris@16: { Chris@16: inline void dealloc(PyObject* self) Chris@16: { Chris@16: PyObject_Del(self); Chris@16: } Chris@16: } Chris@16: }}} // namespace boost::python::detail Chris@16: # endif // BOOST_PYTHON_DETAIL_DEALLOC_HPP_