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

Class PyClassObject

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

Source from the content-addressed store, hash-verified

6#[repr(C)]
7#[derive(Copy, Clone)]
8pub struct PyClassObject {
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 cl_bases: *mut PyObject,
16 pub cl_dict: *mut PyObject,
17 pub cl_name: *mut PyObject,
18 pub cl_getattr: *mut PyObject,
19 pub cl_setattr: *mut PyObject,
20 pub cl_delattr: *mut PyObject,
21 pub cl_weakreflist: *mut PyObject,
22}
23
24#[repr(C)]
25#[derive(Copy, Clone)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected