sl@0
|
1 |
// Copyright Gottfried Ganßauge 2003.
|
sl@0
|
2 |
// Distributed under the Boost Software License, Version 1.0. (See
|
sl@0
|
3 |
// accompanying file LICENSE_1_0.txt or copy at
|
sl@0
|
4 |
// http://www.boost.org/LICENSE_1_0.txt)
|
sl@0
|
5 |
|
sl@0
|
6 |
# ifndef BOOST_PYTHON_DETAIL_DEALLOC_HPP_
|
sl@0
|
7 |
# define BOOST_PYTHON_DETAIL_DEALLOC_HPP_
|
sl@0
|
8 |
namespace boost { namespace python { namespace detail {
|
sl@0
|
9 |
extern "C"
|
sl@0
|
10 |
{
|
sl@0
|
11 |
inline void dealloc(PyObject* self)
|
sl@0
|
12 |
{
|
sl@0
|
13 |
PyObject_Del(self);
|
sl@0
|
14 |
}
|
sl@0
|
15 |
}
|
sl@0
|
16 |
}}} // namespace boost::python::detail
|
sl@0
|
17 |
# endif // BOOST_PYTHON_DETAIL_DEALLOC_HPP_
|