Blender  V2.93
Functions
bpy_capi_utils.h File Reference

Go to the source code of this file.

Functions

char * BPy_enum_as_string (const struct EnumPropertyItem *item)
 
short BPy_reports_to_error (struct ReportList *reports, PyObject *exception, const bool clear)
 
void BPy_reports_write_stdout (const struct ReportList *reports, const char *header)
 
bool BPy_errors_to_report_ex (struct ReportList *reports, const char *error_prefix, const bool use_full, const bool use_location)
 
bool BPy_errors_to_report_brief_with_prefix (struct ReportList *reports, const char *error_prefix)
 
bool BPy_errors_to_report (struct ReportList *reports)
 
struct bContextBPY_context_get (void)
 
void bpy_context_set (struct bContext *C, PyGILState_STATE *gilstate)
 
void bpy_context_clear (struct bContext *C, const PyGILState_STATE *gilstate)
 

Function Documentation

◆ bpy_context_clear()

void bpy_context_clear ( struct bContext C,
const PyGILState_STATE *  gilstate 
)

◆ BPY_context_get()

struct bContext* BPY_context_get ( void  )

◆ bpy_context_set()

void bpy_context_set ( struct bContext C,
PyGILState_STATE *  gilstate 
)

◆ BPy_enum_as_string()

char* BPy_enum_as_string ( const struct EnumPropertyItem item)

◆ BPy_errors_to_report()

bool BPy_errors_to_report ( struct ReportList reports)

◆ BPy_errors_to_report_brief_with_prefix()

bool BPy_errors_to_report_brief_with_prefix ( struct ReportList reports,
const char *  error_prefix 
)

◆ BPy_errors_to_report_ex()

bool BPy_errors_to_report_ex ( struct ReportList reports,
const char *  error_prefix,
const bool  use_full,
const bool  use_location 
)

◆ BPy_reports_to_error()

short BPy_reports_to_error ( struct ReportList reports,
PyObject *  exception,
const bool  clear 
)

◆ BPy_reports_write_stdout()

void BPy_reports_write_stdout ( const struct ReportList reports,
const char *  header 
)