mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merged revisions 77965 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r77965 | antoine.pitrou | 2010-02-04 18:02:07 +0100 (jeu., 04 févr. 2010) | 3 lines Followup to r77918: fix build under Windows. ........
This commit is contained in:
parent
13cc4fd51b
commit
a5b2873aef
1 changed files with 2 additions and 1 deletions
|
@ -302,7 +302,7 @@ static PyBufferProcs memoryviewtester_as_buffer = {
|
|||
};
|
||||
|
||||
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 */
|
||||
|
@ -1831,6 +1831,7 @@ PyInit__testcapi(void)
|
|||
return NULL;
|
||||
|
||||
Py_TYPE(&_HashInheritanceTester_Type)=&PyType_Type;
|
||||
Py_TYPE(&_MemoryViewTester_Type)=&PyType_Type;
|
||||
|
||||
Py_TYPE(&test_structmembersType)=&PyType_Type;
|
||||
Py_INCREF(&test_structmembersType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue