Show More
@@ -244,9 +244,9 b' static PyObject *nullentry;' | |||||
244 | static long inline_scan(indexObject *self, const char **offsets); |
|
244 | static long inline_scan(indexObject *self, const char **offsets); | |
245 |
|
245 | |||
246 | #if LONG_MAX == 0x7fffffffL |
|
246 | #if LONG_MAX == 0x7fffffffL | |
247 |
static |
|
247 | static char *tuple_format = "Kiiiiiis#"; | |
248 | #else |
|
248 | #else | |
249 |
static |
|
249 | static char *tuple_format = "kiiiiiis#"; | |
250 | #endif |
|
250 | #endif | |
251 |
|
251 | |||
252 | /* RevlogNG format (all in big endian, data may be inlined): |
|
252 | /* RevlogNG format (all in big endian, data may be inlined): |
@@ -107,6 +107,9 b'' | |||||
107 | Note: msvc (8 or earlier) does not have ssize_t, so we use Py_ssize_t. |
|
107 | Note: msvc (8 or earlier) does not have ssize_t, so we use Py_ssize_t. | |
108 | */ |
|
108 | */ | |
109 | typedef int Py_ssize_t; |
|
109 | typedef int Py_ssize_t; | |
|
110 | typedef Py_ssize_t (*lenfunc)(PyObject *); | |||
|
111 | typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t); | |||
|
112 | ||||
110 | #if !defined(PY_SSIZE_T_MIN) |
|
113 | #if !defined(PY_SSIZE_T_MIN) | |
111 | #define PY_SSIZE_T_MAX INT_MAX |
|
114 | #define PY_SSIZE_T_MAX INT_MAX | |
112 | #define PY_SSIZE_T_MIN INT_MIN |
|
115 | #define PY_SSIZE_T_MIN INT_MIN |
General Comments 0
You need to be logged in to leave comments.
Login now