Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/boost/python/detail/dealloc.hpp @ 29

Last change on this file since 29 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 542 bytes
RevLine 
[29]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_
8namespace 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.