mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 17:12:22 +00:00
22 lines
693 B
C++
22 lines
693 B
C++
// (C) Copyright David Abrahams 2000. Permission to copy, use, modify, sell and
|
|
// distribute this software is granted provided this copyright notice appears
|
|
// in all copies. This software is provided "as is" without express or implied
|
|
// warranty, and with no claim as to its suitability for any purpose.
|
|
//
|
|
// The author gratefully acknowleges the support of Dragon Systems, Inc., in
|
|
// producing this work.
|
|
|
|
#ifndef NONE_DWA_052000_H_
|
|
# define NONE_DWA_052000_H_
|
|
|
|
# include "pyconfig.h"
|
|
# include "wrap_python.h"
|
|
|
|
namespace python { namespace detail {
|
|
|
|
inline PyObject* none() { Py_INCREF(Py_None); return Py_None; }
|
|
|
|
}} // namespace python::detail
|
|
|
|
#endif // NONE_DWA_052000_H_
|