Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_access.h
| Show First 20 Lines • Show All 745 Lines • ▼ Show 20 Lines | |||||
| const char *RNA_struct_identifier(const StructRNA *type); | const char *RNA_struct_identifier(const StructRNA *type); | ||||
| const char *RNA_struct_ui_name(const StructRNA *type); | const char *RNA_struct_ui_name(const StructRNA *type); | ||||
| const char *RNA_struct_ui_name_raw(const StructRNA *type); | const char *RNA_struct_ui_name_raw(const StructRNA *type); | ||||
| const char *RNA_struct_ui_description(const StructRNA *type); | const char *RNA_struct_ui_description(const StructRNA *type); | ||||
| const char *RNA_struct_ui_description_raw(const StructRNA *type); | const char *RNA_struct_ui_description_raw(const StructRNA *type); | ||||
| const char *RNA_struct_translation_context(const StructRNA *type); | const char *RNA_struct_translation_context(const StructRNA *type); | ||||
| int RNA_struct_ui_icon(const StructRNA *type); | int RNA_struct_ui_icon(const StructRNA *type); | ||||
| PropertyRNA *RNA_struct_name_property(StructRNA *type); | PropertyRNA *RNA_struct_name_property(const StructRNA *type); | ||||
| PropertyRNA *RNA_struct_iterator_property(StructRNA *type); | PropertyRNA *RNA_struct_iterator_property(StructRNA *type); | ||||
| StructRNA *RNA_struct_base(StructRNA *type); | StructRNA *RNA_struct_base(StructRNA *type); | ||||
| bool RNA_struct_is_ID(const StructRNA *type); | bool RNA_struct_is_ID(const StructRNA *type); | ||||
| bool RNA_struct_is_a(const StructRNA *type, const StructRNA *srna); | bool RNA_struct_is_a(const StructRNA *type, const StructRNA *srna); | ||||
| bool RNA_struct_undo_check(const StructRNA *type); | bool RNA_struct_undo_check(const StructRNA *type); | ||||
| ▲ Show 20 Lines • Show All 423 Lines • ▼ Show 20 Lines | int RNA_function_call_direct_lookup(struct bContext *C, struct ReportList *reports, PointerRNA *ptr, | ||||
| const char *identifier, const char *format, ...) ATTR_PRINTF_FORMAT(5, 6); | const char *identifier, const char *format, ...) ATTR_PRINTF_FORMAT(5, 6); | ||||
| int RNA_function_call_direct_va(struct bContext *C, struct ReportList *reports, PointerRNA *ptr, | int RNA_function_call_direct_va(struct bContext *C, struct ReportList *reports, PointerRNA *ptr, | ||||
| FunctionRNA *func, const char *format, va_list args); | FunctionRNA *func, const char *format, va_list args); | ||||
| int RNA_function_call_direct_va_lookup(struct bContext *C, struct ReportList *reports, PointerRNA *ptr, | int RNA_function_call_direct_va_lookup(struct bContext *C, struct ReportList *reports, PointerRNA *ptr, | ||||
| const char *identifier, const char *format, va_list args); | const char *identifier, const char *format, va_list args); | ||||
| /* ID */ | /* ID */ | ||||
| short RNA_type_to_ID_code(StructRNA *type); | short RNA_type_to_ID_code(const StructRNA *type); | ||||
| StructRNA *ID_code_to_RNA_type(short idcode); | StructRNA *ID_code_to_RNA_type(short idcode); | ||||
| #define RNA_POINTER_INVALIDATE(ptr) { \ | #define RNA_POINTER_INVALIDATE(ptr) { \ | ||||
| /* this is checked for validity */ \ | /* this is checked for validity */ \ | ||||
| (ptr)->type = \ | (ptr)->type = \ | ||||
| /* should not be needed but prevent bad pointer access, just in case */ \ | /* should not be needed but prevent bad pointer access, just in case */ \ | ||||
| (ptr)->id.data = NULL; \ | (ptr)->id.data = NULL; \ | ||||
| Show All 28 Lines | |||||