Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Macros | Typedefs | Functions
structmember.h File Reference
#include <stddef.h>

Go to the source code of this file.

Classes

struct  memberlist
 
struct  PyMemberDef
 

Macros

#define offsetof(type, member)   ( (int) & ((type*)0) -> member )
 
#define T_SHORT   0
 
#define T_INT   1
 
#define T_LONG   2
 
#define T_FLOAT   3
 
#define T_DOUBLE   4
 
#define T_STRING   5
 
#define T_OBJECT   6
 
#define T_CHAR   7 /* 1-character string */
 
#define T_BYTE   8 /* 8-bit signed int */
 
#define T_UBYTE   9
 
#define T_USHORT   10
 
#define T_UINT   11
 
#define T_ULONG   12
 
#define T_STRING_INPLACE   13
 
#define T_BOOL   14
 
#define T_OBJECT_EX
 
#define T_PYSSIZET   19 /* Py_ssize_t */
 
#define READONLY   1
 
#define RO   READONLY /* Shorthand */
 
#define READ_RESTRICTED   2
 
#define PY_WRITE_RESTRICTED   4
 
#define RESTRICTED   (READ_RESTRICTED | PY_WRITE_RESTRICTED)
 

Typedefs

typedef struct PyMemberDef PyMemberDef
 

Functions

 PyAPI_FUNC (PyObject *) PyMember_Get(const char *
 
struct memberlist const char * PyAPI_FUNC (int) PyMember_Set(char *
 

Macro Definition Documentation

#define offsetof (   type,
  member 
)    ( (int) & ((type*)0) -> member )
#define PY_WRITE_RESTRICTED   4
#define READ_RESTRICTED   2
#define READONLY   1
#define RESTRICTED   (READ_RESTRICTED | PY_WRITE_RESTRICTED)
#define RO   READONLY /* Shorthand */
#define T_BOOL   14
#define T_BYTE   8 /* 8-bit signed int */
#define T_CHAR   7 /* 1-character string */
#define T_DOUBLE   4
#define T_FLOAT   3
#define T_INT   1
#define T_LONG   2
#define T_OBJECT   6
#define T_OBJECT_EX
Value:
16 /* Like T_OBJECT, but raises AttributeError
when the value is NULL, instead of
converting to None. */
#define T_PYSSIZET   19 /* Py_ssize_t */
#define T_SHORT   0
#define T_STRING   5
#define T_STRING_INPLACE   13
#define T_UBYTE   9
#define T_UINT   11
#define T_ULONG   12
#define T_USHORT   10

Typedef Documentation

typedef struct PyMemberDef PyMemberDef

Function Documentation

PyAPI_FUNC ( PyObject ) const
struct memberlist const char* PyAPI_FUNC ( int  )
read

Copyright 2014 Google Inc. All rights reserved.