| 1 | use std::os::raw::c_int; |
| 2 | |
| 3 | pub use crate::PyMemberDef; |
| 4 | |
| 5 | pub use crate::Py_T_BOOL as T_BOOL; |
| 6 | pub use crate::Py_T_BYTE as T_BYTE; |
| 7 | pub use crate::Py_T_CHAR as T_CHAR; |
| 8 | pub use crate::Py_T_DOUBLE as T_DOUBLE; |
| 9 | pub use crate::Py_T_FLOAT as T_FLOAT; |
| 10 | pub use crate::Py_T_INT as T_INT; |
| 11 | pub use crate::Py_T_LONG as T_LONG; |
| 12 | pub use crate::Py_T_LONGLONG as T_LONGLONG; |
| 13 | pub use crate::Py_T_OBJECT_EX as T_OBJECT_EX; |
| 14 | pub use crate::Py_T_SHORT as T_SHORT; |
| 15 | pub use crate::Py_T_STRING as T_STRING; |
| 16 | pub use crate::Py_T_STRING_INPLACE as T_STRING_INPLACE; |
| 17 | pub use crate::Py_T_UBYTE as T_UBYTE; |
| 18 | pub use crate::Py_T_UINT as T_UINT; |
| 19 | pub use crate::Py_T_ULONG as T_ULONG; |
| 20 | pub use crate::Py_T_ULONGLONG as T_ULONGLONG; |
| 21 | pub use crate::Py_T_USHORT as T_USHORT; |
| 22 | #[allow (deprecated)] |
| 23 | pub use crate::_Py_T_OBJECT as T_OBJECT; |
| 24 | |
| 25 | pub use crate::Py_T_PYSSIZET as T_PYSSIZET; |
| 26 | #[allow (deprecated)] |
| 27 | pub use crate::_Py_T_NONE as T_NONE; |
| 28 | |
| 29 | /* Flags */ |
| 30 | pub use crate::Py_READONLY as READONLY; |
| 31 | pub const READ_RESTRICTED: c_int = 2; |
| 32 | pub const PY_WRITE_RESTRICTED: c_int = 4; |
| 33 | pub const RESTRICTED: c_int = READ_RESTRICTED | PY_WRITE_RESTRICTED; |
| 34 | |