| OLD | NEW |
| 1 #ifndef Py_OBJECT_H | 1 #ifndef Py_OBJECT_H |
| 2 #define Py_OBJECT_H | 2 #define Py_OBJECT_H |
| 3 #ifdef __cplusplus | 3 #ifdef __cplusplus |
| 4 extern "C" { | 4 extern "C" { |
| 5 #endif | 5 #endif |
| 6 | 6 |
| 7 | 7 |
| 8 /* Object and type object interface */ | 8 /* Object and type object interface */ |
| 9 | 9 |
| 10 /* | 10 /* |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS) | 472 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS) |
| 473 #define PyType_CheckExact(op) (Py_TYPE(op) == &PyType_Type) | 473 #define PyType_CheckExact(op) (Py_TYPE(op) == &PyType_Type) |
| 474 | 474 |
| 475 PyAPI_FUNC(int) PyType_Ready(PyTypeObject *); | 475 PyAPI_FUNC(int) PyType_Ready(PyTypeObject *); |
| 476 PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t); | 476 PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t); |
| 477 PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *, | 477 PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *, |
| 478 PyObject *, PyObject *); | 478 PyObject *, PyObject *); |
| 479 #ifndef Py_LIMITED_API | 479 #ifndef Py_LIMITED_API |
| 480 PyAPI_FUNC(PyObject *) _PyType_Lookup(PyTypeObject *, PyObject *); | 480 PyAPI_FUNC(PyObject *) _PyType_Lookup(PyTypeObject *, PyObject *); |
| 481 PyAPI_FUNC(PyObject *) _PyObject_LookupSpecial(PyObject *, _Py_Identifier *); | 481 PyAPI_FUNC(PyObject *) _PyObject_LookupSpecial(PyObject *, _Py_Identifier *); |
| 482 PyAPI_FUNC(PyTypeObject *) _PyType_CalculateMetaclass(PyTypeObject *, PyObject *
); | 482 PyAPI_FUNC(PyObject *) _PyType_BuildClass(PyObject *, PyObject *, PyObject *, Py
Object *); |
| 483 #endif | 483 #endif |
| 484 PyAPI_FUNC(unsigned int) PyType_ClearCache(void); | 484 PyAPI_FUNC(unsigned int) PyType_ClearCache(void); |
| 485 PyAPI_FUNC(void) PyType_Modified(PyTypeObject *); | 485 PyAPI_FUNC(void) PyType_Modified(PyTypeObject *); |
| 486 | 486 |
| 487 /* Generic operations on objects */ | 487 /* Generic operations on objects */ |
| 488 struct _Py_Identifier; | 488 struct _Py_Identifier; |
| 489 #ifndef Py_LIMITED_API | 489 #ifndef Py_LIMITED_API |
| 490 PyAPI_FUNC(int) PyObject_Print(PyObject *, FILE *, int); | 490 PyAPI_FUNC(int) PyObject_Print(PyObject *, FILE *, int); |
| 491 PyAPI_FUNC(void) _Py_BreakPoint(void); | 491 PyAPI_FUNC(void) _Py_BreakPoint(void); |
| 492 PyAPI_FUNC(void) _PyObject_Dump(PyObject *); | 492 PyAPI_FUNC(void) _PyObject_Dump(PyObject *); |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 974 if (_PyTrash_delete_later && _PyTrash_delete_nesting <= 0) \ | 974 if (_PyTrash_delete_later && _PyTrash_delete_nesting <= 0) \ |
| 975 _PyTrash_destroy_chain(); \ | 975 _PyTrash_destroy_chain(); \ |
| 976 } \ | 976 } \ |
| 977 else \ | 977 else \ |
| 978 _PyTrash_deposit_object((PyObject*)op); | 978 _PyTrash_deposit_object((PyObject*)op); |
| 979 | 979 |
| 980 #ifdef __cplusplus | 980 #ifdef __cplusplus |
| 981 } | 981 } |
| 982 #endif | 982 #endif |
| 983 #endif /* !Py_OBJECT_H */ | 983 #endif /* !Py_OBJECT_H */ |
| OLD | NEW |