mercurial/cext/revlog.c
changeset 40100 994010b87534
parent 40089 129bfc7ad2cc
child 40273 3b275f549777
equal deleted inserted replaced
40099:8a08aefa9273 40100:994010b87534
    92 	if (self->added == NULL)
    92 	if (self->added == NULL)
    93 		return self->length;
    93 		return self->length;
    94 	return self->length + PyList_GET_SIZE(self->added);
    94 	return self->length + PyList_GET_SIZE(self->added);
    95 }
    95 }
    96 
    96 
    97 static PyObject *nullentry;
    97 static PyObject *nullentry = NULL;
    98 static const char nullid[20];
    98 static const char nullid[20] = {0};
    99 
    99 
   100 static Py_ssize_t inline_scan(indexObject *self, const char **offsets);
   100 static Py_ssize_t inline_scan(indexObject *self, const char **offsets);
   101 
   101 
   102 #if LONG_MAX == 0x7fffffffL
   102 #if LONG_MAX == 0x7fffffffL
   103 static const char *const tuple_format = PY23("Kiiiiiis#", "Kiiiiiiy#");
   103 static const char *const tuple_format = PY23("Kiiiiiis#", "Kiiiiiiy#");