Chris@16: // Copyright David Abrahams 2002. Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: #ifndef OPERATOR_ID_DWA2002531_HPP Chris@16: # define OPERATOR_ID_DWA2002531_HPP Chris@16: Chris@16: namespace boost { namespace python { namespace detail { Chris@16: Chris@16: enum operator_id Chris@16: { Chris@16: op_add, Chris@16: op_sub, Chris@16: op_mul, Chris@16: op_div, Chris@16: op_mod, Chris@16: op_divmod, Chris@16: op_pow, Chris@16: op_lshift, Chris@16: op_rshift, Chris@16: op_and, Chris@16: op_xor, Chris@16: op_or, Chris@16: op_neg, Chris@16: op_pos, Chris@16: op_abs, Chris@16: op_invert, Chris@16: op_int, Chris@16: op_long, Chris@16: op_float, Chris@16: op_str, Chris@16: op_cmp, Chris@16: op_gt, Chris@16: op_ge, Chris@16: op_lt, Chris@16: op_le, Chris@16: op_eq, Chris@16: op_ne, Chris@16: op_iadd, Chris@16: op_isub, Chris@16: op_imul, Chris@16: op_idiv, Chris@16: op_imod, Chris@16: op_ilshift, Chris@16: op_irshift, Chris@16: op_iand, Chris@16: op_ixor, Chris@16: op_ior, Chris@16: op_complex, Chris@16: #if PY_VERSION_HEX >= 0x03000000 Chris@16: op_bool, Chris@16: #else Chris@16: op_nonzero, Chris@16: #endif Chris@16: op_repr Chris@16: #if PY_VERSION_HEX >= 0x03000000 Chris@16: ,op_truediv Chris@16: #endif Chris@16: }; Chris@16: Chris@16: }}} // namespace boost::python::detail Chris@16: Chris@16: #endif // OPERATOR_ID_DWA2002531_HPP