##// END OF EJS Templates
util: add clang-format control comment around struct and format macro...
Augie Fackler -
r34636:3455e2e2 default
parent child Browse files
Show More
@@ -14,6 +14,7 b''
14 14 #define IS_PY3K
15 15 #endif
16 16
17 /* clang-format off */
17 18 typedef struct {
18 19 PyObject_HEAD
19 20 char state;
@@ -21,11 +22,12 b' typedef struct {'
21 22 int size;
22 23 int mtime;
23 24 } dirstateTupleObject;
25 /* clang-format on */
24 26
25 27 extern PyTypeObject dirstateTupleType;
26 28 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateTupleType)
27 29
28 #define MIN(a, b) (((a)<(b))?(a):(b))
30 #define MIN(a, b) (((a) < (b)) ? (a) : (b))
29 31 /* VC9 doesn't include bool and lacks stdbool.h based on my searching */
30 32 #if defined(_MSC_VER) || __STDC_VERSION__ < 199901L
31 33 #define true 1
General Comments 0
You need to be logged in to leave comments. Login now