File indexing completed on 2025-09-17 09:08:48
0001 #ifndef Py_INTERNAL_OBJECT_STATE_H
0002 #define Py_INTERNAL_OBJECT_STATE_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007 #ifndef Py_BUILD_CORE
0008 # error "this header requires Py_BUILD_CORE define"
0009 #endif
0010
0011 struct _py_object_runtime_state {
0012 #ifdef Py_REF_DEBUG
0013 Py_ssize_t interpreter_leaks;
0014 #endif
0015 int _not_used;
0016 };
0017
0018 struct _py_object_state {
0019 #ifdef Py_REF_DEBUG
0020 Py_ssize_t reftotal;
0021 #endif
0022 #ifdef Py_TRACE_REFS
0023
0024
0025
0026
0027 PyObject *refchain;
0028
0029
0030
0031
0032
0033 PyObject _refchain_obj;
0034 #endif
0035 int _not_used;
0036 };
0037
0038
0039 #ifdef __cplusplus
0040 }
0041 #endif
0042 #endif