Update of /cvsroot/python/python/dist/src/Mac/Modules/ibcarbon In directory sc8-pr-cvs1:/tmp/cvs-serv31491/ibcarbon Modified Files: _IBCarbon.c Log Message: - Various tweaks to shut up compiler warnings. - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls. Index: _IBCarbon.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ibcarbon/_IBCarbon.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** _IBCarbon.c 19 Dec 2002 21:24:33 -0000 1.6 --- _IBCarbon.c 23 Dec 2002 23:16:22 -0000 1.7 *************** *** 56,60 **** { DisposeNibReference(self->ob_itself); ! PyObject_Del(self); } --- 56,60 ---- { DisposeNibReference(self->ob_itself); ! self->ob_type->tp_free((PyObject *)self); } *************** *** 257,260 **** --- 257,261 ---- return; IBNibRef_Type.ob_type = &PyType_Type; + if (PyType_Ready(&IBNibRef_Type) < 0) return; Py_INCREF(&IBNibRef_Type); PyModule_AddObject(m, "IBNibRef", (PyObject *)&IBNibRef_Type);
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4