diff Modules/cStringIO.c @ 44351:86a2679dca46

#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
author Christian Heimes <christian@cheimes.de>
date Wed, 19 Dec 2007 02:45:37 +0000
parents f324631462a2
children 1872bd6cf4b4
line wrap: on
line diff
--- a/Modules/cStringIO.c	Wed Dec 19 02:07:34 2007 +0000
+++ b/Modules/cStringIO.c	Wed Dec 19 02:45:37 2007 +0000
@@ -738,8 +738,8 @@
   d = PyModule_GetDict(m);
   
   /* Export C API */
-  Py_Type(&Itype)=&PyType_Type;
-  Py_Type(&Otype)=&PyType_Type;
+  Py_TYPE(&Itype)=&PyType_Type;
+  Py_TYPE(&Otype)=&PyType_Type;
   if (PyType_Ready(&Otype) < 0) return;
   if (PyType_Ready(&Itype) < 0) return;
   PyDict_SetItemString(d,"cStringIO_CAPI",