mercurial/cext/util.h
changeset 48138 38488d488ec1
parent 48025 631f6b445a77
child 48221 a32a96079e2d
equal deleted inserted replaced
48137:25836b0029f5 48138:38488d488ec1
    31 } dirstateItemObject;
    31 } dirstateItemObject;
    32 /* clang-format on */
    32 /* clang-format on */
    33 
    33 
    34 static const unsigned char dirstate_flag_wc_tracked = 1;
    34 static const unsigned char dirstate_flag_wc_tracked = 1;
    35 static const unsigned char dirstate_flag_p1_tracked = 1 << 1;
    35 static const unsigned char dirstate_flag_p1_tracked = 1 << 1;
    36 static const unsigned char dirstate_flag_p2_tracked = 1 << 2;
    36 static const unsigned char dirstate_flag_p2_info = 1 << 2;
    37 static const unsigned char dirstate_flag_possibly_dirty = 1 << 3;
    37 static const unsigned char dirstate_flag_has_meaningful_data = 1 << 3;
    38 static const unsigned char dirstate_flag_merged = 1 << 4;
    38 static const unsigned char dirstate_flag_has_meaningful_mtime = 1 << 4;
    39 static const unsigned char dirstate_flag_clean_p1 = 1 << 5;
       
    40 static const unsigned char dirstate_flag_clean_p2 = 1 << 6;
       
    41 
    39 
    42 extern PyTypeObject dirstateItemType;
    40 extern PyTypeObject dirstateItemType;
    43 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType)
    41 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType)
    44 
    42 
    45 #ifndef MIN
    43 #ifndef MIN