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

Class PyMemberDef

python3-sys/src/structmember.rs:8–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#[repr(C)]
7#[derive(Copy, Clone)]
8pub struct PyMemberDef {
9 #[cfg(not(Py_3_7))]
10 pub name: *mut c_char,
11 #[cfg(Py_3_7)]
12 pub name: *const c_char,
13 pub type_code: c_int,
14 pub offset: Py_ssize_t,
15 pub flags: c_int,
16 #[cfg(not(Py_3_7))]
17 pub doc: *mut c_char,
18 #[cfg(Py_3_7)]
19 pub doc: *const c_char,
20}
21
22/* Types */
23pub const T_SHORT: c_int = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected