Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:38

0001 // Copyright David Abrahams 2002.
0002 // Distributed under the Boost Software License, Version 1.0. (See
0003 // accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
0005 #ifndef OPERATOR_ID_DWA2002531_HPP
0006 # define OPERATOR_ID_DWA2002531_HPP
0007 
0008 namespace boost { namespace python { namespace detail {
0009 
0010 enum operator_id
0011 { 
0012     op_add, 
0013     op_sub, 
0014     op_mul, 
0015     op_div, 
0016     op_mod, 
0017     op_divmod,
0018     op_pow, 
0019     op_lshift, 
0020     op_rshift, 
0021     op_and, 
0022     op_xor, 
0023     op_or, 
0024     op_neg, 
0025     op_pos, 
0026     op_abs, 
0027     op_invert, 
0028     op_int, 
0029     op_long, 
0030     op_float, 
0031     op_str,
0032     op_cmp,
0033     op_gt,
0034     op_ge,
0035     op_lt,
0036     op_le,
0037     op_eq,
0038     op_ne,
0039     op_iadd,
0040     op_isub,
0041     op_imul,
0042     op_idiv,
0043     op_imod,
0044     op_ilshift,
0045     op_irshift,
0046     op_iand,
0047     op_ixor,
0048     op_ior,
0049     op_complex,
0050 #if PY_VERSION_HEX >= 0x03000000
0051     op_bool,
0052 #else
0053     op_nonzero,
0054 #endif
0055     op_repr
0056 #if PY_VERSION_HEX >= 0x03000000
0057     ,op_truediv
0058 #endif
0059 };
0060 
0061 }}} // namespace boost::python::detail
0062 
0063 #endif // OPERATOR_ID_DWA2002531_HPP