##// END OF EJS Templates
manifest: use PyVarObject_HEAD_INIT...
Gregory Szorc -
r30168:1a327889 default
parent child Browse files
Show More
@@ -262,8 +262,7 b' done:'
262 #endif
262 #endif
263
263
264 static PyTypeObject lazymanifestEntriesIterator = {
264 static PyTypeObject lazymanifestEntriesIterator = {
265 PyObject_HEAD_INIT(NULL)
265 PyVarObject_HEAD_INIT(NULL, 0)
266 0, /*ob_size */
267 "parsers.lazymanifest.entriesiterator", /*tp_name */
266 "parsers.lazymanifest.entriesiterator", /*tp_name */
268 sizeof(lmIter), /*tp_basicsize */
267 sizeof(lmIter), /*tp_basicsize */
269 0, /*tp_itemsize */
268 0, /*tp_itemsize */
@@ -311,8 +310,7 b' static PyObject *lmiter_iterkeysnext(PyO'
311 #endif
310 #endif
312
311
313 static PyTypeObject lazymanifestKeysIterator = {
312 static PyTypeObject lazymanifestKeysIterator = {
314 PyObject_HEAD_INIT(NULL)
313 PyVarObject_HEAD_INIT(NULL, 0)
315 0, /*ob_size */
316 "parsers.lazymanifest.keysiterator", /*tp_name */
314 "parsers.lazymanifest.keysiterator", /*tp_name */
317 sizeof(lmIter), /*tp_basicsize */
315 sizeof(lmIter), /*tp_basicsize */
318 0, /*tp_itemsize */
316 0, /*tp_itemsize */
@@ -890,8 +888,7 b' static PyMethodDef lazymanifest_methods['
890 #endif
888 #endif
891
889
892 static PyTypeObject lazymanifestType = {
890 static PyTypeObject lazymanifestType = {
893 PyObject_HEAD_INIT(NULL)
891 PyVarObject_HEAD_INIT(NULL, 0)
894 0, /* ob_size */
895 "parsers.lazymanifest", /* tp_name */
892 "parsers.lazymanifest", /* tp_name */
896 sizeof(lazymanifest), /* tp_basicsize */
893 sizeof(lazymanifest), /* tp_basicsize */
897 0, /* tp_itemsize */
894 0, /* tp_itemsize */
General Comments 0
You need to be logged in to leave comments. Login now