MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PyGenObject

Class PyGenObject

python27-sys/src/genobject.rs:9–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#[repr(C)]
8#[derive(Copy, Clone)]
9pub struct PyGenObject {
10 #[cfg(py_sys_config = "Py_TRACE_REFS")]
11 pub _ob_next: *mut PyObject,
12 #[cfg(py_sys_config = "Py_TRACE_REFS")]
13 pub _ob_prev: *mut PyObject,
14 pub ob_refcnt: Py_ssize_t,
15 pub ob_type: *mut PyTypeObject,
16 pub gi_frame: *mut PyFrameObject,
17 pub gi_running: c_int,
18 pub gi_code: *mut PyObject,
19 pub gi_weakreflist: *mut PyObject,
20}
21
22#[cfg_attr(windows, link(name = "pythonXY"))]
23extern "C" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected