Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_capi_utils.h
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | bool BPy_errors_to_report_ex(struct ReportList *reports, | ||||
| const bool use_location); | const bool use_location); | ||||
| bool BPy_errors_to_report(struct ReportList *reports); | bool BPy_errors_to_report(struct ReportList *reports); | ||||
| /* TODO - find a better solution! */ | /* TODO - find a better solution! */ | ||||
| struct bContext *BPy_GetContext(void); | struct bContext *BPy_GetContext(void); | ||||
| void BPy_SetContext(struct bContext *C); | void BPy_SetContext(struct bContext *C); | ||||
| extern void bpy_context_set(struct bContext *C, PyGILState_STATE *gilstate); | extern void bpy_context_set(struct bContext *C, PyGILState_STATE *gilstate); | ||||
| extern void bpy_context_clear(struct bContext *C, PyGILState_STATE *gilstate); | extern void bpy_context_clear(struct bContext *C, const PyGILState_STATE *gilstate); | ||||
| #endif /* __BPY_CAPI_UTILS_H__ */ | #endif /* __BPY_CAPI_UTILS_H__ */ | ||||