mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Merged revisions 68097,68099 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68097 | hirokazu.yamamoto | 2008-12-31 14:24:37 +0900 | 1 line Fixed compile error on windows. ........ r68099 | hirokazu.yamamoto | 2008-12-31 14:47:19 +0900 | 1 line Just inserted blank line. ........
This commit is contained in:
parent
6152558fc3
commit
8ebab5df63
1 changed files with 3 additions and 1 deletions
|
@ -179,7 +179,7 @@ test_dict_iteration(PyObject* self)
|
||||||
* PyType_Ready if it hasn't already been called
|
* PyType_Ready if it hasn't already been called
|
||||||
*/
|
*/
|
||||||
static PyTypeObject _HashInheritanceTester_Type = {
|
static PyTypeObject _HashInheritanceTester_Type = {
|
||||||
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
PyVarObject_HEAD_INIT(NULL, 0)
|
||||||
"hashinheritancetester", /* Name of this type */
|
"hashinheritancetester", /* Name of this type */
|
||||||
sizeof(PyObject), /* Basic object size */
|
sizeof(PyObject), /* Basic object size */
|
||||||
0, /* Item size for varobject */
|
0, /* Item size for varobject */
|
||||||
|
@ -1339,6 +1339,8 @@ PyInit__testcapi(void)
|
||||||
if (m == NULL)
|
if (m == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Py_TYPE(&_HashInheritanceTester_Type)=&PyType_Type;
|
||||||
|
|
||||||
Py_TYPE(&test_structmembersType)=&PyType_Type;
|
Py_TYPE(&test_structmembersType)=&PyType_Type;
|
||||||
Py_INCREF(&test_structmembersType);
|
Py_INCREF(&test_structmembersType);
|
||||||
PyModule_AddObject(m, "test_structmembersType", (PyObject *)&test_structmembersType);
|
PyModule_AddObject(m, "test_structmembersType", (PyObject *)&test_structmembersType);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue