py/obj.h: Make existing MP_TYPE_FLAG_xxx macros sequential.

There's no reason to have them non-sequential, this was likely a typo from
commit 9ec1caf42e.

Signed-off-by: Damien George <damien@micropython.org>
pull/6205/head
Damien George 2020-06-30 23:52:35 +10:00
rodzic 41b7734c46
commit d06ae1d2b1
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -475,8 +475,8 @@ typedef mp_obj_t (*mp_fun_kw_t)(size_t n, const mp_obj_t *, mp_map_t *);
// operator and not the __ne__ operator. If it's set then __ne__ may be implemented.
#define MP_TYPE_FLAG_IS_SUBCLASSED (0x0001)
#define MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS (0x0002)
#define MP_TYPE_FLAG_EQ_NOT_REFLEXIVE (0x0040)
#define MP_TYPE_FLAG_EQ_CHECKS_OTHER_TYPE (0x0080)
#define MP_TYPE_FLAG_EQ_NOT_REFLEXIVE (0x0004)
#define MP_TYPE_FLAG_EQ_CHECKS_OTHER_TYPE (0x0008)
#define MP_TYPE_FLAG_EQ_HAS_NEQ_TEST (0x0010)
typedef enum {