Blender V2.61 - r43446
Defines | Functions

bpy_util.h File Reference

#include "RNA_types.h"

Go to the source code of this file.

Defines

#define BLANK_PYTHON_TYPE   {PyVarObject_HEAD_INIT(NULL, 0) NULL}

Functions

char * BPy_enum_as_string (struct EnumPropertyItem *item)
short BPy_reports_to_error (struct ReportList *reports, PyObject *exception, const short clear)
short BPy_errors_to_report (struct ReportList *reports)
struct bContextBPy_GetContext (void)
void BPy_SetContext (struct bContext *C)
void bpy_context_update (struct bContext *C)
void bpy_context_set (struct bContext *C, PyGILState_STATE *gilstate)
void bpy_context_clear (struct bContext *C, PyGILState_STATE *gilstate)

Detailed Description

Definition in file bpy_util.h.


Define Documentation

#define BLANK_PYTHON_TYPE   {PyVarObject_HEAD_INIT(NULL, 0) NULL}

Definition at line 42 of file bpy_util.h.


Function Documentation

void bpy_context_clear ( struct bContext C,
PyGILState_STATE *  gilstate 
)
void bpy_context_set ( struct bContext C,
PyGILState_STATE *  gilstate 
)
void bpy_context_update ( struct bContext C)
char* BPy_enum_as_string ( struct EnumPropertyItem item)
short BPy_errors_to_report ( struct ReportList reports)
struct bContext* BPy_GetContext ( void  ) [read]
short BPy_reports_to_error ( struct ReportList reports,
PyObject *  exception,
const short  clear 
)
void BPy_SetContext ( struct bContext C)

Definition at line 42 of file bpy_util.c.

References C.

Referenced by bpy_context_clear(), BPY_context_set(), and bpy_context_update().