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

Class PyListObject

python27-sys/src/listobject.rs:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#[repr(C)]
7#[derive(Copy, Clone)]
8pub struct PyListObject {
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 ob_size: Py_ssize_t,
16 pub ob_item: *mut *mut PyObject,
17 pub allocated: Py_ssize_t,
18}
19
20#[cfg_attr(windows, link(name = "pythonXY"))]
21extern "C" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected