changeset 21809 | e250b8300e6e |
parent 19833 | 1935e8383a9e |
child 21838 | 0022ee690446 |
--- a/mercurial/util.h Tue May 27 17:10:28 2014 -0700 +++ b/mercurial/util.h Tue May 27 14:27:41 2014 -0700 @@ -151,6 +151,17 @@ #define inline __inline #endif +typedef struct { + PyObject_HEAD + char state; + int mode; + int size; + int mtime; +} dirstateTupleObject; + +PyTypeObject dirstateTupleType; +#define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateTupleType) + static inline uint32_t getbe32(const char *c) { const unsigned char *d = (const unsigned char *)c;