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.
     1 //  (C) Copyright David Abrahams 2000.
     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 //  The author gratefully acknowleges the support of Dragon Systems, Inc., in
     7 //  producing this work.
     8 
     9 #ifndef NONE_DWA_052000_H_
    10 # define NONE_DWA_052000_H_
    11 
    12 # include <boost/python/detail/prefix.hpp>
    13 
    14 namespace boost { namespace python { namespace detail {
    15 
    16 inline PyObject* none() { Py_INCREF(Py_None); return Py_None; }
    17     
    18 }}} // namespace boost::python::detail
    19 
    20 #endif // NONE_DWA_052000_H_