File indexing completed on 2025-03-13 09:21:00
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 #endif
0029 int _not_used;
0030 };
0031
0032
0033 #ifdef __cplusplus
0034 }
0035 #endif
0036 #endif