| 6 | #[repr(C)] |
| 7 | #[derive(Copy, Clone)] |
| 8 | pub struct PyCodeObject { |
| 9 | #[cfg(py_sys_config = "Py_TRACE_REFS")] |
| 10 | pub _ob_next: *mut PyObject, |
| 11 | #[cfg(py_sys_config = "Py_TRACE_REFS")] |
| 12 | pub _ob_prev: *mut PyObject, |
| 13 | pub ob_refcnt: Py_ssize_t, |
| 14 | pub ob_type: *mut PyTypeObject, |
| 15 | pub co_argcount: c_int, |
| 16 | pub co_nlocals: c_int, |
| 17 | pub co_stacksize: c_int, |
| 18 | pub co_flags: c_int, |
| 19 | pub co_code: *mut PyObject, |
| 20 | pub co_consts: *mut PyObject, |
| 21 | pub co_names: *mut PyObject, |
| 22 | pub co_varnames: *mut PyObject, |
| 23 | pub co_freevars: *mut PyObject, |
| 24 | pub co_cellvars: *mut PyObject, |
| 25 | pub co_filename: *mut PyObject, |
| 26 | pub co_name: *mut PyObject, |
| 27 | pub co_firstlineno: c_int, |
| 28 | pub co_lnotab: *mut PyObject, |
| 29 | pub co_zombieframe: *mut c_void, |
| 30 | pub co_weakreflist: *mut PyObject, |
| 31 | } |
| 32 | |
| 33 | /* Masks for co_flags */ |
| 34 | pub const CO_OPTIMIZED: c_int = 0x0001; |
nothing calls this directly
no outgoing calls
no test coverage detected