mercurial/cext/manifest.c
changeset 45141 9719e118e4af
parent 45118 d0ef8c1dddd4
child 47043 12450fbea288
equal deleted inserted replaced
45140:c59e7bed8924 45141:9719e118e4af
   101 /* get the node hash and flags of a line as a tuple */
   101 /* get the node hash and flags of a line as a tuple */
   102 static PyObject *hashflags(line *l)
   102 static PyObject *hashflags(line *l)
   103 {
   103 {
   104 	char flag;
   104 	char flag;
   105 	PyObject *hash = nodeof(l, &flag);
   105 	PyObject *hash = nodeof(l, &flag);
   106 	ssize_t hlen;
       
   107 	Py_ssize_t hplen, flen;
       
   108 	PyObject *flags;
   106 	PyObject *flags;
   109 	PyObject *tup;
   107 	PyObject *tup;
   110 
   108 
   111 	if (!hash)
   109 	if (!hash)
   112 		return NULL;
   110 		return NULL;
   294 static PyObject *lmiter_iterentriesnext(PyObject *o)
   292 static PyObject *lmiter_iterentriesnext(PyObject *o)
   295 {
   293 {
   296 	Py_ssize_t pl;
   294 	Py_ssize_t pl;
   297 	line *l;
   295 	line *l;
   298 	char flag;
   296 	char flag;
   299 	Py_ssize_t consumed;
       
   300 	PyObject *ret = NULL, *path = NULL, *hash = NULL, *flags = NULL;
   297 	PyObject *ret = NULL, *path = NULL, *hash = NULL, *flags = NULL;
   301 	l = lmiter_nextline((lmIter *)o);
   298 	l = lmiter_nextline((lmIter *)o);
   302 	if (!l) {
   299 	if (!l) {
   303 		goto done;
   300 		goto done;
   304 	}
   301 	}