Changeset View
Changeset View
Standalone View
Standalone View
mercurial/cext/util.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
static const int dirstate_flag_mode_is_symlink = 1 << 7; | static const int dirstate_flag_mode_is_symlink = 1 << 7; | ||||
static const int dirstate_flag_expected_state_is_modified = 1 << 8; | static const int dirstate_flag_expected_state_is_modified = 1 << 8; | ||||
static const int dirstate_flag_all_unknown_recorded = 1 << 9; | static const int dirstate_flag_all_unknown_recorded = 1 << 9; | ||||
static const int dirstate_flag_all_ignored_recorded = 1 << 10; | static const int dirstate_flag_all_ignored_recorded = 1 << 10; | ||||
static const int dirstate_flag_fallback_exec = 1 << 11; | static const int dirstate_flag_fallback_exec = 1 << 11; | ||||
static const int dirstate_flag_has_fallback_exec = 1 << 12; | static const int dirstate_flag_has_fallback_exec = 1 << 12; | ||||
static const int dirstate_flag_fallback_symlink = 1 << 13; | static const int dirstate_flag_fallback_symlink = 1 << 13; | ||||
static const int dirstate_flag_has_fallback_symlink = 1 << 14; | static const int dirstate_flag_has_fallback_symlink = 1 << 14; | ||||
static const int dirstate_flag_mtime_second_ambiguous = 1 << 15; | |||||
extern PyTypeObject dirstateItemType; | extern PyTypeObject dirstateItemType; | ||||
#define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType) | #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType) | ||||
#ifndef MIN | #ifndef MIN | ||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b)) | #define MIN(a, b) (((a) < (b)) ? (a) : (b)) | ||||
#endif | #endif | ||||
/* VC9 doesn't include bool and lacks stdbool.h based on my searching */ | /* VC9 doesn't include bool and lacks stdbool.h based on my searching */ | ||||
Show All 34 Lines |