commit | e93237dfcc4ee4feee62adafb4e7899487ca864b | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Wed Dec 19 02:37:44 2007 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Wed Dec 19 02:37:44 2007 +0000 |
tree | b78abc265e7fb10639492f62e4ffd0ce1bcc67af | |
parent | d586559c31b77938b514cec99f2f8b431a34dff5 [diff] [blame] |
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index f1f8001..2d745c1 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c
@@ -1329,7 +1329,7 @@ PyObject *dict, *module; /* Patch the object type */ - Py_Type(&mmap_object_type) = &PyType_Type; + Py_TYPE(&mmap_object_type) = &PyType_Type; module = Py_InitModule("mmap", mmap_functions); if (module == NULL)