42
39
#define BLANK_PYTHON_TYPE {PyVarObject_HEAD_INIT(NULL, 0) NULL}
46
43
short BPy_errors_to_report(struct ReportList *reports);
48
45
/* TODO - find a better solution! */
49
46
struct bContext *BPy_GetContext(void);
50
47
void BPy_SetContext(struct bContext *C);
53
49
extern void bpy_context_set(struct bContext *C, PyGILState_STATE *gilstate);
54
50
extern void bpy_context_clear(struct bContext *C, PyGILState_STATE *gilstate);