sl@0: // (C) Copyright David Abrahams 2000. sl@0: // Distributed under the Boost Software License, Version 1.0. (See sl@0: // accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: // sl@0: // The author gratefully acknowleges the support of Dragon Systems, Inc., in sl@0: // producing this work. sl@0: sl@0: #ifndef NONE_DWA_052000_H_ sl@0: # define NONE_DWA_052000_H_ sl@0: sl@0: # include sl@0: sl@0: namespace boost { namespace python { namespace detail { sl@0: sl@0: inline PyObject* none() { Py_INCREF(Py_None); return Py_None; } sl@0: sl@0: }}} // namespace boost::python::detail sl@0: sl@0: #endif // NONE_DWA_052000_H_