Commit 67e53a64 authored by Chris Toshok's avatar Chris Toshok

call PyType_Ready on PyCursesWindow_Type

parent 733660f8
......@@ -2739,6 +2739,9 @@ init_curses(void)
/* Initialize object type */
Py_TYPE(&PyCursesWindow_Type) = &PyType_Type;
/* Pyston change */
PyType_Ready(&PyCursesWindow_Type);
/* Initialize the C API pointer array */
PyCurses_API[0] = (void *)&PyCursesWindow_Type;
PyCurses_API[1] = (void *)func_PyCursesSetupTermCalled;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment