deimos.python.structmember

Mirror structmember.h

Interface to map C struct members to Python object attributes

Members

Aliases

RO
alias RO = READONLY

_

Functions

PyMember_GetOne
PyObject* PyMember_GetOne(const(char)*, PyMemberDef*)

_

PyMember_SetOne
int PyMember_SetOne(char*, PyMemberDef*, PyObject*)

_

Manifest constants

READONLY
enum READONLY;

_

READ_RESTRICTED
enum READ_RESTRICTED;

_

RESTRICTED
enum RESTRICTED;

_

T_BOOL
enum T_BOOL;

Availability: >= 2.6

T_BYTE
enum T_BYTE;
T_CHAR
enum T_CHAR;
T_DOUBLE
enum T_DOUBLE;
T_FLOAT
enum T_FLOAT;
T_INT
enum T_INT;
T_LONG
enum T_LONG;

Types

T_LONGLONG
enum T_LONGLONG;

Availability: >= 2.5

T_NONE
enum T_NONE;

Availability: >= 3.2

T_OBJECT
enum T_OBJECT;

Types

T_OBJECT_EX
enum T_OBJECT_EX;

_

T_PYSSIZET
enum T_PYSSIZET;

Availability: >= 2.6

T_SHORT
enum T_SHORT;
T_STRING
enum T_STRING;
T_STRING_INPLACE
enum T_STRING_INPLACE;
T_UBYTE
enum T_UBYTE;
T_UINT
enum T_UINT;
T_ULONG
enum T_ULONG;

Types

T_ULONGLONG
enum T_ULONGLONG;

Availability: >= 2.5

T_USHORT
enum T_USHORT;

Types

WRITE_RESTRICTED
enum WRITE_RESTRICTED;

_

Structs

PyMemberDef
struct PyMemberDef

_

Meta