author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
1 // Copyright Gottfried Ganßauge 2003.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
6 # ifndef BOOST_PYTHON_DETAIL_DEALLOC_HPP_
7 # define BOOST_PYTHON_DETAIL_DEALLOC_HPP_
8 namespace boost { namespace python { namespace detail {
9 extern "C"
10 {
11 inline void dealloc(PyObject* self)
12 {
13 PyObject_Del(self);
14 }
15 }
16 }}} // namespace boost::python::detail
17 # endif // BOOST_PYTHON_DETAIL_DEALLOC_HPP_