1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
| PyTypeObject PyInt_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, "int", sizeof(PyIntObject), 0, (destructor)int_dealloc, (printfunc)int_print, 0, 0, (cmpfunc)int_compare, (reprfunc)int_repr, &int_as_number, 0, 0, (hashfunc)int_hash, 0, (reprfunc)int_repr, PyObject_GenericGetAttr, 0, 0, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_CHECKTYPES | Py_TPFLAGS_BASETYPE, int_doc, 0, 0, 0, 0, 0, 0, int_methods, 0, 0, 0, 0, 0, 0, 0, 0, 0, int_new, (freefunc)int_free, };
|