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