os/ossrv/ossrv_pub/boost_apis/boost/python/detail/none.hpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
//  (C) Copyright David Abrahams 2000.
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
//  The author gratefully acknowleges the support of Dragon Systems, Inc., in
sl@0
     7
//  producing this work.
sl@0
     8
sl@0
     9
#ifndef NONE_DWA_052000_H_
sl@0
    10
# define NONE_DWA_052000_H_
sl@0
    11
sl@0
    12
# include <boost/python/detail/prefix.hpp>
sl@0
    13
sl@0
    14
namespace boost { namespace python { namespace detail {
sl@0
    15
sl@0
    16
inline PyObject* none() { Py_INCREF(Py_None); return Py_None; }
sl@0
    17
    
sl@0
    18
}}} // namespace boost::python::detail
sl@0
    19
sl@0
    20
#endif // NONE_DWA_052000_H_