[Python-checkins] r77965 - python/branches/py3k/Modules/_testcapimodule.c
antoine.pitrou
python-checkins at python.org
Thu Feb 4 18:02:07 CET 2010
Author: antoine.pitrou
Date: Thu Feb 4 18:02:07 2010
New Revision: 77965
Log:
Followup to r77918: fix build under Windows.
Modified:
python/branches/py3k/Modules/_testcapimodule.c
Modified: python/branches/py3k/Modules/_testcapimodule.c
==============================================================================
--- python/branches/py3k/Modules/_testcapimodule.c (original)
+++ python/branches/py3k/Modules/_testcapimodule.c Thu Feb 4 18:02:07 2010
@@ -303,7 +303,7 @@
};
static PyTypeObject _MemoryViewTester_Type = {
- PyVarObject_HEAD_INIT(&PyType_Type, 0)
+ PyVarObject_HEAD_INIT(NULL, 0)
"memoryviewtester", /* Name of this type */
sizeof(PyObject), /* Basic object size */
0, /* Item size for varobject */
@@ -2245,6 +2245,7 @@
return NULL;
Py_TYPE(&_HashInheritanceTester_Type)=&PyType_Type;
+ Py_TYPE(&_MemoryViewTester_Type)=&PyType_Type;
Py_TYPE(&test_structmembersType)=&PyType_Type;
Py_INCREF(&test_structmembersType);
More information about the Python-checkins
mailing list