Commits

Anonymous committed eeb8a99

Followup to r77918: fix build under Windows.

  • Participants
  • Parent commits 0c2b089

Comments (0)

Files changed (1)

Modules/_testcapimodule.c

 };
 
 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 */
 		return NULL;
 
 	Py_TYPE(&_HashInheritanceTester_Type)=&PyType_Type;
+	Py_TYPE(&_MemoryViewTester_Type)=&PyType_Type;
 
 	Py_TYPE(&test_structmembersType)=&PyType_Type;
 	Py_INCREF(&test_structmembersType);