diff Modules/_cursesmodule.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 81e0c0e2a8c1
children b91ca87e6f32
line wrap: on
line diff
--- a/Modules/_cursesmodule.c	Wed Dec 19 02:07:34 2007 +0000
+++ b/Modules/_cursesmodule.c	Wed Dec 19 02:45:37 2007 +0000
@@ -2709,7 +2709,7 @@
 	static void *PyCurses_API[PyCurses_API_pointers];
 
 	/* Initialize object type */
-	Py_Type(&PyCursesWindow_Type) = &PyType_Type;
+	Py_TYPE(&PyCursesWindow_Type) = &PyType_Type;
 
 	/* Initialize the C API pointer array */
 	PyCurses_API[0] = (void *)&PyCursesWindow_Type;