Line | |
---|
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) |
---|
5 | |
---|
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_ |
---|
Note: See
TracBrowser
for help on using the repository browser.