commit | 4cb0de246cacc2c4259f7b05529abbcf7ba8e2ff | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Sep 28 21:49:49 2011 +0200 |
committer | Georg Brandl <georg@python.org> | Wed Sep 28 21:49:49 2011 +0200 |
tree | 35049b7aa75b2295b38e0150ecbe509b12c1830f | |
parent | 5ce1b0dbc0fbad355086882ebb54f1aebc6b7163 [diff] [blame] |
Rename new macros to conform to naming rules (function macros have "Py" prefix, not "PY").
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 9d49a97..90ca7c6 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c
@@ -2810,7 +2810,7 @@ PyInit_array(void) { PyObject *m; - char buffer[PY_ARRAY_LENGTH(descriptors)], *p; + char buffer[Py_ARRAY_LENGTH(descriptors)], *p; PyObject *typecodes; Py_ssize_t size = 0; struct arraydescr *descr;