Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

idprop_py_api.h File Reference

Go to the source code of this file.

Classes

struct  BPy_IDProperty
struct  BPy_IDArray
struct  BPy_IDGroup_Iter

Defines

#define IDPROP_ITER_KEYS   0
#define IDPROP_ITER_ITEMS   1

Typedefs

typedef struct BPy_IDProperty BPy_IDProperty
typedef struct BPy_IDArray BPy_IDArray
typedef struct BPy_IDGroup_Iter BPy_IDGroup_Iter

Functions

PyObject * BPy_Wrap_GetKeys (struct IDProperty *prop)
PyObject * BPy_Wrap_GetValues (struct ID *id, struct IDProperty *prop)
PyObject * BPy_Wrap_GetItems (struct ID *id, struct IDProperty *prop)
int BPy_Wrap_SetMapItem (struct IDProperty *prop, PyObject *key, PyObject *val)
PyObject * BPy_IDGroup_WrapData (struct ID *id, struct IDProperty *prop, struct IDProperty *parent)
const char * BPy_IDProperty_Map_ValidateAndCreate (PyObject *key, struct IDProperty *group, PyObject *ob)
void IDProp_Init_Types (void)

Detailed Description

Definition in file idprop_py_api.h.


Define Documentation

#define IDPROP_ITER_ITEMS   1

Definition at line 68 of file idprop_py_api.h.

Referenced by BPy_Group_Iter_Next(), and BPy_IDGroup_IterItems().

#define IDPROP_ITER_KEYS   0

Definition at line 67 of file idprop_py_api.h.

Referenced by BPy_IDGroup_iter().


Typedef Documentation

typedef struct BPy_IDArray BPy_IDArray

Function Documentation

PyObject* BPy_IDGroup_WrapData ( struct ID id,
struct IDProperty prop,
struct IDProperty parent 
)
const char* BPy_IDProperty_Map_ValidateAndCreate ( PyObject *  key,
struct IDProperty group,
PyObject *  ob 
)
PyObject* BPy_Wrap_GetItems ( struct ID id,
struct IDProperty prop 
)
PyObject* BPy_Wrap_GetKeys ( struct IDProperty prop)
PyObject* BPy_Wrap_GetValues ( struct ID id,
struct IDProperty prop 
)
int BPy_Wrap_SetMapItem ( struct IDProperty prop,
PyObject *  key,
PyObject *  val 
)
void IDProp_Init_Types ( void  )

Definition at line 1419 of file idprop_py_api.c.

Referenced by BPy_init_modules().