Update contrib.
1 // Copyright David Abrahams 2002.
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 #ifndef SELF_DWA2002531_HPP
6 # define SELF_DWA2002531_HPP
8 # include <boost/python/detail/prefix.hpp>
10 namespace boost { namespace python {
12 #define BOOST_PYTHON_SELF_IS_CLASS
14 // Sink self_t into its own namespace so that we have a safe place to
15 // put the completely general operator templates which operate on
16 // it. It is possible to avoid this, but it turns out to be much more
17 // complicated and finally GCC 2.95.2 chokes on it.
20 # ifndef BOOST_PYTHON_SELF_IS_CLASS
24 extern BOOST_PYTHON_DECL self_t self;
28 using self_ns::self_t;
31 }} // namespace boost::python
33 #endif // SELF_DWA2002531_HPP