| 6 | #[repr(C)] |
| 7 | #[derive(Copy, Clone)] |
| 8 | pub 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 */ |
| 23 | pub const T_SHORT: c_int = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected