os/ossrv/ossrv_pub/boost_apis/boost/python/detail/dealloc.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/python/detail/dealloc.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +// Copyright Gottfried Ganßauge 2003.
     1.5 +// Distributed under the Boost Software License, Version 1.0. (See
     1.6 +// accompanying file LICENSE_1_0.txt or copy at
     1.7 +// http://www.boost.org/LICENSE_1_0.txt)
     1.8 +
     1.9 +# ifndef BOOST_PYTHON_DETAIL_DEALLOC_HPP_
    1.10 +# define BOOST_PYTHON_DETAIL_DEALLOC_HPP_
    1.11 +namespace boost { namespace python { namespace detail {
    1.12 +    extern "C"
    1.13 +    {
    1.14 +        inline void dealloc(PyObject* self)
    1.15 +        {
    1.16 +          PyObject_Del(self);
    1.17 +        }
    1.18 +    }
    1.19 +}}} // namespace boost::python::detail
    1.20 +# endif    // BOOST_PYTHON_DETAIL_DEALLOC_HPP_