|
Blender V4.3
|
#include <algorithm>#include <cerrno>#include <cfloat>#include <cinttypes>#include <climits>#include <cmath>#include <cstdio>#include <cstdlib>#include <cstring>#include <limits>#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_string.h"#include "BLI_system.h"#include "BLI_utildefines.h"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "RNA_types.hh"#include "rna_internal.hh"#include "CLG_log.h"#include <sys/stat.h>#include "RNA_enum_items.hh"Go to the source code of this file.
Classes | |
| struct | RNAProcessItem |
Macros | |
| #define | TMP_EXT ".tmp" |
| #define | WRITE_COMMA |
| #define | WRITE_PARAM(param) |
| #define | REN_IF_DIFF |
| #define | RNA_MAKESRNA |
| #define | DEF_ENUM(id) |
| #define | DEF_ENUM(id) #id, |
Functions | |
| void | BLI_system_backtrace (FILE *fp) |
| static bool | file_older (const char *file1, const char *file2) |
| static const char * | path_basename (const char *path) |
| static void | rna_generate_static_parameter_prototypes (FILE *f, StructRNA *srna, FunctionDefRNA *dfunc, const char *name_override, int close_prototype) |
| static int | replace_if_different (const char *tmpfile, const char *dep_files[]) |
| static const char * | rna_safe_id (const char *id) |
| static int | cmp_struct (const void *a, const void *b) |
| static int | cmp_property (const void *a, const void *b) |
| static int | cmp_def_struct (const void *a, const void *b) |
| static int | cmp_def_property (const void *a, const void *b) |
| static void | rna_sortlist (ListBase *listbase, int(*cmp)(const void *, const void *)) |
| static void | rna_print_c_string (FILE *f, const char *str) |
| static void | rna_print_data_get (FILE *f, PropertyDefRNA *dp) |
| static void | rna_print_id_get (FILE *f, PropertyDefRNA *) |
| static void | rna_construct_function_name (char *buffer, int size, const char *structname, const char *propname, const char *type) |
| static void | rna_construct_wrapper_function_name (char *buffer, int size, const char *structname, const char *propname, const char *type) |
| void * | rna_alloc_from_buffer (const char *buffer, int buffer_size) |
| void * | rna_calloc (int buffer_size) |
| static char * | rna_alloc_function_name (const char *structname, const char *propname, const char *type) |
| static StructRNA * | rna_find_struct (const char *identifier) |
| static const char * | rna_find_type (const char *type) |
| static const char * | rna_find_dna_type (const char *type) |
| static const char * | rna_type_type_name (PropertyRNA *prop) |
| static const char * | rna_type_type (PropertyRNA *prop) |
| static const char * | rna_type_struct (PropertyRNA *prop) |
| static const char * | rna_parameter_type_name (PropertyRNA *parm) |
| static int | rna_enum_bitmask (PropertyRNA *prop) |
| static bool | rna_parameter_is_const (const PropertyDefRNA *dparm) |
| static bool | rna_color_quantize (PropertyRNA *prop, PropertyDefRNA *dp) |
| static const char * | rna_enum_id_from_pointer (const EnumPropertyItem *item) |
| template<typename T > | |
| static const char * | rna_function_string (T *func) |
| static void | rna_float_print (FILE *f, float num) |
| static const char * | rna_ui_scale_type_string (const PropertyScaleType type) |
| static void | rna_int_print (FILE *f, int64_t num) |
| static char * | rna_def_property_get_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *dp, const char *manualfunc) |
| static void | rna_clamp_value_range (FILE *f, PropertyRNA *prop) |
| static void | rna_clamp_value (FILE *f, PropertyRNA *prop, int array) |
| static char * | rna_def_property_search_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *, const char *manualfunc) |
| static char * | rna_def_property_set_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *dp, const char *manualfunc) |
| static char * | rna_def_property_length_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *dp, const char *manualfunc) |
| static char * | rna_def_property_begin_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *dp, const char *manualfunc) |
| static char * | rna_def_property_lookup_int_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *dp, const char *manualfunc, const char *nextfunc) |
| static char * | rna_def_property_lookup_string_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *dp, const char *manualfunc, const char *item_type) |
| static char * | rna_def_property_next_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *, const char *manualfunc) |
| static char * | rna_def_property_end_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *, const char *manualfunc) |
| static void | rna_set_raw_property (PropertyDefRNA *dp, PropertyRNA *prop) |
| static void | rna_set_raw_offset (FILE *f, StructRNA *srna, PropertyRNA *prop) |
| static void | rna_def_property_funcs (FILE *f, StructRNA *srna, PropertyDefRNA *dp) |
| static void | rna_def_property_funcs_header (FILE *f, StructRNA *srna, PropertyDefRNA *dp) |
| static void | rna_def_function_funcs_header (FILE *f, StructRNA *srna, FunctionDefRNA *dfunc) |
| static void | rna_def_property_funcs_header_cpp (FILE *f, StructRNA *srna, PropertyDefRNA *dp) |
| static const char * | rna_parameter_type_cpp_name (PropertyRNA *prop) |
| static void | rna_def_struct_function_prototype_cpp (FILE *f, StructRNA *, FunctionDefRNA *dfunc, const char *cpp_namespace, int close_prototype) |
| static void | rna_def_struct_function_header_cpp (FILE *f, StructRNA *srna, FunctionDefRNA *dfunc) |
| static void | rna_def_property_funcs_impl_cpp (FILE *f, StructRNA *srna, PropertyDefRNA *dp) |
| static void | rna_def_struct_function_call_impl_cpp (FILE *f, StructRNA *srna, FunctionDefRNA *dfunc) |
| static void | rna_def_struct_function_impl_cpp (FILE *f, StructRNA *srna, FunctionDefRNA *dfunc) |
| static void | rna_def_property_wrapper_funcs (FILE *f, StructDefRNA *dsrna, PropertyDefRNA *dp) |
| static void | rna_def_function_wrapper_funcs (FILE *f, StructDefRNA *dsrna, FunctionDefRNA *dfunc) |
| static void | rna_def_function_funcs (FILE *f, StructDefRNA *dsrna, FunctionDefRNA *dfunc) |
| static void | rna_sanity_checks () |
| static void | rna_auto_types () |
| static void | rna_sort (BlenderRNA *brna) |
| static const char * | rna_property_structname (PropertyType type) |
| static const char * | rna_property_subtypename (PropertySubType type) |
| static const char * | rna_property_subtype_unit (PropertySubType type) |
| static void | rna_generate_struct_rna_prototypes (BlenderRNA *brna, FILE *f) |
| static void | rna_generate_blender (BlenderRNA *brna, FILE *f) |
| static void | rna_generate_external_property_prototypes (BlenderRNA *brna, FILE *f) |
| static void | rna_generate_internal_property_prototypes (BlenderRNA *, StructRNA *srna, FILE *f) |
| static void | rna_generate_parameter_prototypes (BlenderRNA *, StructRNA *srna, FunctionRNA *func, FILE *f) |
| static void | rna_generate_function_prototypes (BlenderRNA *brna, StructRNA *srna, FILE *f) |
| static void | rna_generate_static_function_prototypes (BlenderRNA *, StructRNA *srna, FILE *f) |
| static void | rna_generate_struct_prototypes (FILE *f) |
| static void | rna_generate_property (FILE *f, StructRNA *srna, const char *nest, PropertyRNA *prop) |
| static void | rna_generate_struct (BlenderRNA *, StructRNA *srna, FILE *f) |
| static void | rna_generate (BlenderRNA *brna, FILE *f, const char *filename, const char *api_filename) |
| static void | rna_generate_header (BlenderRNA *, FILE *f) |
| static bool | rna_is_collection_prop (PropertyRNA *prop) |
| static bool | rna_is_collection_functions_struct (const char **collection_structs, const char *struct_name) |
| static void | rna_generate_header_class_cpp (StructDefRNA *ds, FILE *f) |
| static void | rna_generate_header_cpp (BlenderRNA *, FILE *f) |
| static void | make_bad_file (const char *file, int line) |
| static int | rna_preprocess (const char *outfile, const char *public_header_outfile) |
| static void | mem_error_cb (const char *errorStr) |
| int | main (int argc, char **argv) |
Variables | |
| static CLG_LogRef | LOG = {"makesrna"} |
| static int | debugSRNA = 0 |
| static const char * | makesrna_path = nullptr |
| static RNAProcessItem | PROCESS_ITEMS [] |
| static const char * | cpp_classes |
| #define DEF_ENUM | ( | id | ) |
| #define DEF_ENUM | ( | id | ) | #id, |
| #define REN_IF_DIFF |
Referenced by replace_if_different().
| #define RNA_MAKESRNA |
| #define TMP_EXT ".tmp" |
Definition at line 54 of file makesrna.cc.
Referenced by replace_if_different(), and rna_preprocess().
| #define WRITE_COMMA |
Definition at line 100 of file makesrna.cc.
Referenced by rna_def_function_wrapper_funcs(), rna_def_struct_function_call_impl_cpp(), and rna_def_struct_function_prototype_cpp().
| #define WRITE_PARAM | ( | param | ) |
Definition at line 109 of file makesrna.cc.
Referenced by rna_def_function_wrapper_funcs(), rna_def_struct_function_call_impl_cpp(), and rna_def_struct_function_prototype_cpp().
| void BLI_system_backtrace | ( | FILE * | fp | ) |
Write a backtrace into a file for systems which support it.
Definition at line 47 of file makesrna.cc.
Referenced by _BLI_assert_print_backtrace(), arg_handle_log_show_backtrace_set(), callback_clg_fatal(), clog_abort_on_error_callback(), blender::gpu::debug::debug_callback(), sig_handle_crash_backtrace(), wm_ghost_init(), wm_ghost_init_background(), and wm_main_playanim_intern().
|
static |
Definition at line 332 of file makesrna.cc.
References b, cmp_property(), and PropertyDefRNA::prop.
Referenced by rna_sort().
|
static |
Definition at line 324 of file makesrna.cc.
References b, cmp_struct(), and StructDefRNA::srna.
Referenced by rna_sort().
|
static |
Definition at line 302 of file makesrna.cc.
References b, PropertyRNA::identifier, PropertyRNA::name, and STREQ.
Referenced by cmp_def_property(), and rna_sort().
|
static |
Definition at line 294 of file makesrna.cc.
References b, and StructRNA::identifier.
Referenced by cmp_def_struct(), and rna_sort().
|
static |
Definition at line 58 of file makesrna.cc.
References debugSRNA, and printf.
Referenced by replace_if_different().
Definition at line 5798 of file makesrna.cc.
References CLG_exit(), CLG_init(), CLG_level_set(), CLG_output_use_basename_set(), debugSRNA, makesrna_path, mem_error_cb(), MEM_init_memleak_detection(), MEM_set_error_callback, and rna_preprocess().
|
static |
Definition at line 5586 of file makesrna.cc.
Referenced by rna_preprocess().
|
static |
Definition at line 5792 of file makesrna.cc.
Referenced by main().
|
static |
Definition at line 76 of file makesrna.cc.
Referenced by replace_if_different().
|
static |
Definition at line 119 of file makesrna.cc.
References CLOG_ERROR, file_older(), L, LOG, makesrna_path, MEM_freeN(), MEM_mallocN, path_basename(), REN_IF_DIFF, SNPRINTF, STRNCPY, and TMP_EXT.
Referenced by rna_preprocess().
| void * rna_alloc_from_buffer | ( | const char * | buffer, |
| int | buffer_size ) |
Definition at line 439 of file makesrna.cc.
References BlenderDefRNA::allocs, DefRNA, AllocDefRNA::mem, MEM_callocN, MEM_mallocN, and rna_addtail().
Referenced by rna_alloc_function_name().
|
static |
Definition at line 456 of file makesrna.cc.
References rna_alloc_from_buffer(), and rna_construct_function_name().
Referenced by rna_def_function_funcs(), rna_def_property_begin_func(), rna_def_property_end_func(), rna_def_property_funcs_header(), rna_def_property_get_func(), rna_def_property_length_func(), rna_def_property_lookup_int_func(), rna_def_property_lookup_string_func(), rna_def_property_next_func(), rna_def_property_search_func(), and rna_def_property_set_func().
|
static |
Definition at line 3460 of file makesrna.cc.
References StructDefRNA::cont, DefRNA, StructDefRNA::dnaname, ListBase::first, PropertyRNA::flag, CollectionPropertyRNA::get, PointerPropertyRNA::get, CollectionPropertyRNA::item_type, LISTBASE_FOREACH, ContainerDefRNA::next, PROP_COLLECTION, PROP_ID_REFCOUNT, PROP_POINTER, ContainerDefRNA::properties, PointerPropertyRNA::property, rna_find_struct(), rna_find_type(), STREQ, STRUCT_ID_REFCOUNT, BlenderDefRNA::structs, and PointerPropertyRNA::type.
Referenced by rna_preprocess().
| void * rna_calloc | ( | int | buffer_size | ) |
Definition at line 448 of file makesrna.cc.
References BlenderDefRNA::allocs, DefRNA, AllocDefRNA::mem, MEM_callocN, and rna_addtail().
Referenced by RNA_def_property_float_sdna(), and RNA_def_property_int_sdna().
|
static |
Definition at line 1097 of file makesrna.cc.
References FLT_MAX, FloatPropertyRNA::hardmax, IntPropertyRNA::hardmax, FloatPropertyRNA::hardmin, IntPropertyRNA::hardmin, PROP_FLOAT, PROP_INT, FloatPropertyRNA::range, IntPropertyRNA::range, rna_float_print(), rna_int_print(), and PropertyRNA::type.
Referenced by rna_def_property_set_func().
|
static |
Definition at line 1036 of file makesrna.cc.
References PROP_FLOAT, PROP_INT, FloatPropertyRNA::range, IntPropertyRNA::range, rna_function_string(), and PropertyRNA::type.
Referenced by rna_def_property_set_func().
|
static |
Definition at line 612 of file makesrna.cc.
References PropertyDefRNA::dnatype, ELEM, IS_DNATYPE_FLOAT_COMPAT, PROP_COLOR, PROP_COLOR_GAMMA, PROP_FLOAT, PropertyRNA::subtype, and PropertyRNA::type.
Referenced by rna_def_property_get_func(), and rna_def_property_set_func().
|
static |
Definition at line 422 of file makesrna.cc.
References BLI_snprintf().
Referenced by rna_alloc_function_name().
|
static |
Definition at line 428 of file makesrna.cc.
References BLI_snprintf().
Referenced by rna_def_function_funcs_header(), rna_def_function_wrapper_funcs(), rna_def_property_funcs_header(), rna_def_property_wrapper_funcs(), and rna_def_struct_function_call_impl_cpp().
|
static |
Definition at line 3135 of file makesrna.cc.
References PropertyRNA::arraydimension, FunctionRNA::c_ret, FunctionDefRNA::call, FunctionDefRNA::cont, StructDefRNA::dnafromname, StructDefRNA::dnafromprop, StructDefRNA::dnaname, ListBase::first, flag, FunctionRNA::flag, PropertyRNA::flag, PropertyRNA::flag_parameter, FunctionDefRNA::func, FUNC_NO_SELF, FUNC_USE_CONTEXT, FUNC_USE_MAIN, FUNC_USE_REPORTS, FUNC_USE_SELF_ID, FUNC_USE_SELF_TYPE, FunctionDefRNA::gencall, FunctionRNA::identifier, PropertyRNA::identifier, StructRNA::identifier, PropertyDefRNA::next, PARM_OUTPUT, PARM_RNAPTR, PropertyDefRNA::prop, PROP_DYNAMIC, PROP_POINTER, PROP_STRING, PROP_THICK_WRAP, ContainerDefRNA::properties, rna_alloc_function_name(), rna_find_parameter_def(), rna_parameter_is_const(), rna_parameter_size(), rna_parameter_size_pad(), rna_parameter_type_name(), rna_safe_id(), rna_type_struct(), StructDefRNA::srna, and PropertyRNA::type.
Referenced by rna_generate().
|
static |
Definition at line 2459 of file makesrna.cc.
References FunctionDefRNA::func, FunctionRNA::identifier, StructRNA::identifier, rna_construct_wrapper_function_name(), and rna_generate_static_parameter_prototypes().
Referenced by rna_generate_header().
|
static |
Definition at line 3062 of file makesrna.cc.
References FunctionRNA::c_ret, FunctionDefRNA::call, FunctionDefRNA::cont, ListBase::first, FunctionRNA::flag, PropertyRNA::flag, FunctionDefRNA::func, FUNC_NO_SELF, FUNC_USE_CONTEXT, FUNC_USE_MAIN, FUNC_USE_REPORTS, FUNC_USE_SELF_ID, FUNC_USE_SELF_TYPE, FunctionRNA::identifier, PropertyRNA::identifier, StructRNA::identifier, PropertyDefRNA::next, PropertyDefRNA::prop, PROP_DYNAMIC, ContainerDefRNA::properties, rna_construct_wrapper_function_name(), rna_generate_static_parameter_prototypes(), rna_safe_id(), StructDefRNA::srna, WRITE_COMMA, and WRITE_PARAM.
Referenced by rna_generate().
|
static |
Definition at line 1596 of file makesrna.cc.
References CLOG_ERROR, DefRNA, PropertyDefRNA::dnalengthfixed, PropertyDefRNA::dnalengthname, PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, BlenderDefRNA::error, PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, LOG, PROP_IDPROPERTY, rna_alloc_function_name(), rna_print_data_get(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1957 of file makesrna.cc.
References PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, PROP_IDPROPERTY, rna_alloc_function_name(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 2038 of file makesrna.cc.
References PropertyRNA::arraydimension, CollectionPropertyRNA::begin, PropertyDefRNA::booleanbit, CLOG_ERROR, DefRNA, PropertyDefRNA::dnalengthfixed, PropertyDefRNA::dnalengthname, PropertyDefRNA::dnatype, CollectionPropertyRNA::end, BlenderDefRNA::error, PropertyRNA::flag, PropertyRNA::flag_internal, BoolPropertyRNA::get, CollectionPropertyRNA::get, EnumPropertyRNA::get, FloatPropertyRNA::get, IntPropertyRNA::get, PointerPropertyRNA::get, StringPropertyRNA::get, BoolPropertyRNA::getarray, FloatPropertyRNA::getarray, IntPropertyRNA::getarray, BoolPropertyRNA::getarray_ex, FloatPropertyRNA::getarray_ex, IntPropertyRNA::getarray_ex, PropertyRNA::identifier, StructRNA::identifier, CollectionPropertyRNA::item_type, CollectionPropertyRNA::length, StringPropertyRNA::length, LOG, CollectionPropertyRNA::lookupint, CollectionPropertyRNA::lookupstring, CollectionPropertyRNA::next, PropertyDefRNA::prop, PROP_BOOLEAN, PROP_COLLECTION, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_IDPROPERTY, PROP_INT, PROP_INTERN_RAW_ARRAY, PROP_POINTER, PROP_STRING, rna_def_property_begin_func(), rna_def_property_end_func(), rna_def_property_get_func(), rna_def_property_length_func(), rna_def_property_lookup_int_func(), rna_def_property_lookup_string_func(), rna_def_property_next_func(), rna_def_property_search_func(), rna_def_property_set_func(), rna_set_raw_property(), StringPropertyRNA::search, BoolPropertyRNA::set, EnumPropertyRNA::set, FloatPropertyRNA::set, IntPropertyRNA::set, PointerPropertyRNA::set, StringPropertyRNA::set, BoolPropertyRNA::set_ex, EnumPropertyRNA::set_ex, FloatPropertyRNA::set_ex, IntPropertyRNA::set_ex, StringPropertyRNA::set_ex, BoolPropertyRNA::setarray, FloatPropertyRNA::setarray, IntPropertyRNA::setarray, BoolPropertyRNA::setarray_ex, FloatPropertyRNA::setarray_ex, IntPropertyRNA::setarray_ex, STREQ, PointerPropertyRNA::type, and PropertyRNA::type.
Referenced by rna_generate().
|
static |
Definition at line 2318 of file makesrna.cc.
References PropertyRNA::arraydimension, PropertyRNA::flag, PropertyRNA::flag_internal, PropertyRNA::getlength, EnumPropertyItem::identifier, PropertyRNA::identifier, StructRNA::identifier, EnumPropertyRNA::item, CollectionPropertyRNA::length, CollectionPropertyRNA::lookupint, CollectionPropertyRNA::lookupstring, StringPropertyRNA::maxlength, PropertyDefRNA::prop, PROP_BOOLEAN, PROP_COLLECTION, PROP_DYNAMIC, PROP_ENUM, PROP_FLOAT, PROP_IDPROPERTY, PROP_INT, PROP_INTERN_BUILTIN, PROP_POINTER, PROP_STRING, rna_alloc_function_name(), rna_construct_wrapper_function_name(), rna_safe_id(), PropertyRNA::totarraylength, EnumPropertyRNA::totitem, PropertyRNA::type, and EnumPropertyItem::value.
Referenced by rna_generate_header().
|
static |
Definition at line 2469 of file makesrna.cc.
References PropertyRNA::arraydimension, PropertyRNA::description, PropertyRNA::flag, PropertyRNA::flag_internal, PropertyRNA::getlength, EnumPropertyItem::identifier, PropertyRNA::identifier, StructRNA::identifier, EnumPropertyRNA::item, CollectionPropertyRNA::item_type, CollectionPropertyRNA::length, CollectionPropertyRNA::lookupint, CollectionPropertyRNA::lookupstring, PropertyRNA::name, PropertyDefRNA::prop, PROP_BOOLEAN, PROP_COLLECTION, PROP_ENUM, PROP_FLOAT, PROP_IDPROPERTY, PROP_INT, PROP_INTERN_BUILTIN, PROP_POINTER, PROP_STRING, CollectionPropertyRNA::property, rna_safe_id(), PropertyRNA::srna, PropertyRNA::totarraylength, EnumPropertyRNA::totitem, PointerPropertyRNA::type, PropertyRNA::type, and EnumPropertyItem::value.
Referenced by rna_generate_header_class_cpp().
|
static |
Definition at line 2761 of file makesrna.cc.
References PropertyRNA::arraydimension, PropertyRNA::flag, PropertyRNA::flag_internal, PropertyRNA::getlength, PropertyRNA::identifier, StructRNA::identifier, CollectionPropertyRNA::length, CollectionPropertyRNA::lookupint, CollectionPropertyRNA::lookupstring, PropertyDefRNA::prop, PROP_BOOLEAN, PROP_COLLECTION, PROP_ENUM, PROP_FLOAT, PROP_IDPROPERTY, PROP_INT, PROP_INTERN_BUILTIN, PROP_POINTER, PROP_STRING, rna_safe_id(), PropertyRNA::totarraylength, PointerPropertyRNA::type, and PropertyRNA::type.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 698 of file makesrna.cc.
References PropertyRNA::arraydimension, BLI_assert_unreachable, PropertyDefRNA::booleanbit, PropertyDefRNA::booleannegative, CLOG_ERROR, DefRNA, PropertyDefRNA::dnaarraylength, PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, PropertyDefRNA::dnatype, ELEM, PropertyDefRNA::enumbitflags, BlenderDefRNA::error, PropertyRNA::flag, FloatPropertyRNA::hardmin, IntPropertyRNA::hardmin, PropertyRNA::identifier, StructRNA::identifier, IS_DNATYPE_BOOLEAN_COMPAT, IS_DNATYPE_FLOAT_COMPAT, IS_DNATYPE_INT_COMPAT, CollectionPropertyRNA::item_type, LOG, StringPropertyRNA::maxlength, MEM_freeN(), PROP_BOOLEAN, PROP_COLLECTION, PROP_COLOR_GAMMA, PROP_DYNAMIC, PROP_ENUM, PROP_FLOAT, PROP_IDPROPERTY, PROP_INT, PROP_POINTER, PROP_SCALE_LOG, PROP_STRING, rna_alloc_function_name(), rna_color_quantize(), rna_enum_bitmask(), rna_int_print(), rna_print_data_get(), RNA_property_typename(), rna_safe_id(), rna_type_type(), FloatPropertyRNA::softmin, IntPropertyRNA::softmin, STR_ELEM, PropertyRNA::subtype, PropertyRNA::totarraylength, PointerPropertyRNA::type, PropertyRNA::type, FloatPropertyRNA::ui_scale_type, IntPropertyRNA::ui_scale_type, and UNUSED_VARS_NDEBUG.
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1510 of file makesrna.cc.
References CLOG_ERROR, DefRNA, PropertyDefRNA::dnaarraylength, PropertyDefRNA::dnalengthfixed, PropertyDefRNA::dnalengthname, PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, BlenderDefRNA::error, PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, LOG, PROP_COLLECTION, PROP_IDPROPERTY, PROP_STRING, rna_alloc_function_name(), rna_print_data_get(), rna_safe_id(), and PropertyRNA::type.
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1674 of file makesrna.cc.
References PropertyDefRNA::dnalengthfixed, PropertyDefRNA::dnalengthname, PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, PROP_IDPROPERTY, rna_alloc_function_name(), rna_print_data_get(), rna_safe_id(), and STREQ.
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1814 of file makesrna.cc.
References StructRNA::base, PropertyDefRNA::dnaname, PropertyDefRNA::dnastructname, PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, StructRNA::nameproperty, PROP_IDPROPERTY, rna_alloc_function_name(), rna_find_struct(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1926 of file makesrna.cc.
References PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, PROP_IDPROPERTY, rna_alloc_function_name(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1152 of file makesrna.cc.
References PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, PROP_IDPROPERTY, rna_alloc_function_name(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1181 of file makesrna.cc.
References PropertyRNA::arraydimension, BLI_assert_unreachable, PropertyDefRNA::booleanbit, PropertyDefRNA::booleannegative, CLOG_ERROR, DefRNA, PropertyDefRNA::dnaarraylength, PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, PropertyDefRNA::dnatype, ELEM, PropertyDefRNA::enumbitflags, BlenderDefRNA::error, PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, LOG, StringPropertyRNA::maxlength, MEM_freeN(), PropertyDefRNA::prop, PROP_BOOLEAN, PROP_BYTESTRING, PROP_DIRPATH, PROP_DYNAMIC, PROP_EDITABLE, PROP_ENUM, PROP_FILENAME, PROP_FILEPATH, PROP_FLOAT, PROP_ID_REFCOUNT, PROP_ID_SELF_CHECK, PROP_IDPROPERTY, PROP_INT, PROP_POINTER, PROP_STRING, rna_alloc_function_name(), rna_clamp_value(), rna_clamp_value_range(), rna_color_quantize(), rna_enum_bitmask(), rna_find_struct(), rna_int_print(), rna_print_data_get(), rna_print_id_get(), rna_safe_id(), rna_type_type(), STRUCT_ID, PropertyRNA::subtype, PropertyRNA::totarraylength, PointerPropertyRNA::type, and PropertyRNA::type.
Referenced by rna_def_property_funcs().
|
static |
Definition at line 3049 of file makesrna.cc.
References PropertyRNA::getlength, PropertyRNA::identifier, StructRNA::identifier, PropertyDefRNA::prop, rna_construct_wrapper_function_name(), rna_function_string(), and StructDefRNA::srna.
Referenced by rna_generate().
|
static |
Definition at line 2893 of file makesrna.cc.
References FunctionRNA::c_ret, FunctionDefRNA::cont, StructDefRNA::dnafromname, StructDefRNA::dnafromprop, StructDefRNA::dnaname, ListBase::first, FunctionRNA::flag, PropertyRNA::flag, PropertyRNA::flag_parameter, FunctionDefRNA::func, FUNC_NO_SELF, FUNC_USE_CONTEXT, FUNC_USE_MAIN, FUNC_USE_REPORTS, FUNC_USE_SELF_ID, FUNC_USE_SELF_TYPE, FunctionRNA::identifier, PropertyRNA::identifier, StructRNA::identifier, PropertyDefRNA::next, PARM_OUTPUT, PARM_RNAPTR, PropertyDefRNA::prop, PROP_DYNAMIC, PROP_POINTER, PROP_THICK_WRAP, ContainerDefRNA::properties, rna_construct_wrapper_function_name(), rna_find_struct_def(), rna_parameter_type_name(), rna_safe_id(), PropertyRNA::type, WRITE_COMMA, and WRITE_PARAM.
Referenced by rna_def_struct_function_impl_cpp().
|
static |
Definition at line 2748 of file makesrna.cc.
References FunctionDefRNA::call, FunctionRNA::description, FunctionDefRNA::func, and rna_def_struct_function_prototype_cpp().
Referenced by rna_generate_header_class_cpp().
|
static |
Definition at line 2993 of file makesrna.cc.
References FunctionRNA::c_ret, FunctionDefRNA::call, StructRNA::flag, PropertyRNA::flag_parameter, FunctionDefRNA::func, StructRNA::identifier, PARM_RNAPTR, PropertyDefRNA::prop, PROP_POINTER, rna_def_struct_function_call_impl_cpp(), rna_def_struct_function_prototype_cpp(), rna_find_parameter_def(), rna_find_struct(), rna_parameter_type_name(), STRUCT_ID, PointerPropertyRNA::type, and PropertyRNA::type.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 2653 of file makesrna.cc.
References FunctionRNA::c_ret, FunctionDefRNA::cont, flag, FunctionRNA::flag, FunctionDefRNA::func, FUNC_USE_CONTEXT, FUNC_USE_MAIN, FunctionRNA::identifier, LISTBASE_FOREACH, PARM_OUTPUT, PropertyDefRNA::prop, PROP_DYNAMIC, PROP_POINTER, PROP_STRING, PROP_THICK_WRAP, ContainerDefRNA::properties, rna_find_parameter_def(), rna_parameter_type_cpp_name(), rna_safe_id(), WRITE_COMMA, and WRITE_PARAM.
Referenced by rna_def_struct_function_header_cpp(), and rna_def_struct_function_impl_cpp().
|
static |
Definition at line 591 of file makesrna.cc.
References EnumPropertyItem::identifier, EnumPropertyRNA::item, mask(), EnumPropertyRNA::totitem, and EnumPropertyItem::value.
Referenced by rna_def_property_get_func(), and rna_def_property_set_func().
|
static |
Return the identifier for an enum which is defined in "RNA_enum_items.hh".
Prevents expanding duplicate enums bloating the binary size.
Definition at line 623 of file makesrna.cc.
Referenced by rna_generate_property().
|
static |
Definition at line 495 of file makesrna.cc.
References StructDefRNA::cont, DefRNA, StructDefRNA::dnaname, ListBase::first, StructRNA::identifier, ContainerDefRNA::next, StructDefRNA::srna, STREQ, and BlenderDefRNA::structs.
Referenced by rna_parameter_type_name().
|
static |
Definition at line 465 of file makesrna.cc.
References StructDefRNA::cont, DefRNA, ListBase::first, StructRNA::identifier, ContainerDefRNA::next, StructDefRNA::srna, STREQ, and BlenderDefRNA::structs.
Referenced by rna_auto_types(), rna_def_property_lookup_string_func(), rna_def_property_set_func(), rna_def_struct_function_impl_cpp(), and rna_generate_property().
|
static |
Definition at line 480 of file makesrna.cc.
References StructDefRNA::cont, DefRNA, StructDefRNA::dnaname, ListBase::first, StructRNA::identifier, ContainerDefRNA::next, StructDefRNA::srna, STREQ, and BlenderDefRNA::structs.
Referenced by rna_auto_types().
|
static |
Definition at line 640 of file makesrna.cc.
References fabsf, FLT_MAX, and INT64_MAX.
Referenced by rna_clamp_value(), and rna_generate_property().
Definition at line 635 of file makesrna.cc.
Referenced by rna_clamp_value_range(), rna_def_property_wrapper_funcs(), rna_generate_property(), and rna_generate_struct().
|
static |
Definition at line 4882 of file makesrna.cc.
References FunctionDefRNA::cont, StructDefRNA::cont, DefRNA, StructDefRNA::filename, ListBase::first, StructDefRNA::functions, LISTBASE_FOREACH, ContainerDefRNA::next, ContainerDefRNA::properties, rna_def_function_funcs(), rna_def_function_wrapper_funcs(), rna_def_property_funcs(), rna_def_property_wrapper_funcs(), rna_generate_blender(), rna_generate_function_prototypes(), rna_generate_internal_property_prototypes(), rna_generate_static_function_prototypes(), rna_generate_struct(), StructDefRNA::srna, STREQ, and BlenderDefRNA::structs.
Referenced by rna_preprocess().
|
static |
Definition at line 3697 of file makesrna.cc.
References ListBase::first, StructRNA::identifier, ListBase::last, and BlenderRNA::structs.
Referenced by rna_generate().
|
static |
Definition at line 3726 of file makesrna.cc.
References ListBase::first, PropertyRNA::identifier, LISTBASE_FOREACH, rna_generate_struct_rna_prototypes(), and BlenderRNA::structs.
Referenced by rna_preprocess().
|
static |
Definition at line 3792 of file makesrna.cc.
References StructRNA::base, FunctionRNA::cont, ListBase::first, StructRNA::functions, FunctionRNA::identifier, StructRNA::identifier, ContainerRNA::next, and rna_generate_parameter_prototypes().
Referenced by rna_generate().
|
static |
Definition at line 4999 of file makesrna.cc.
References StructRNA::base, FunctionDefRNA::cont, StructDefRNA::cont, DefRNA, ListBase::first, StructDefRNA::functions, StructRNA::identifier, LISTBASE_FOREACH, StructRNA::name, ContainerDefRNA::next, ContainerDefRNA::properties, rna_def_function_funcs_header(), rna_def_property_funcs_header(), StructDefRNA::srna, and BlenderDefRNA::structs.
Referenced by rna_preprocess().
|
static |
Definition at line 5422 of file makesrna.cc.
References StructRNA::base, FunctionDefRNA::cont, StructDefRNA::cont, ListBase::first, StructDefRNA::functions, StructRNA::identifier, LISTBASE_FOREACH, StructRNA::name, ContainerDefRNA::next, ContainerDefRNA::properties, rna_def_property_funcs_header_cpp(), rna_def_struct_function_header_cpp(), rna_is_collection_prop(), and StructDefRNA::srna.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 5459 of file makesrna.cc.
References FunctionDefRNA::cont, StructDefRNA::cont, cpp_classes, DefRNA, ListBase::first, StructDefRNA::functions, StructRNA::identifier, LISTBASE_FOREACH, ContainerDefRNA::next, printf, ContainerDefRNA::properties, rna_def_property_funcs_impl_cpp(), rna_def_struct_function_impl_cpp(), rna_generate_header_class_cpp(), rna_generate_struct_prototypes(), rna_is_collection_functions_struct(), rna_is_collection_prop(), PropertyRNA::srna, StructDefRNA::srna, STREQ, and BlenderDefRNA::structs.
Referenced by rna_preprocess().
|
static |
Definition at line 3745 of file makesrna.cc.
References StructRNA::base, StructRNA::cont, ListBase::first, PropertyRNA::identifier, StructRNA::identifier, LISTBASE_FOREACH, and ContainerRNA::properties.
Referenced by rna_generate().
|
static |
Definition at line 3772 of file makesrna.cc.
References FunctionRNA::cont, ListBase::first, FunctionRNA::identifier, StructRNA::identifier, LISTBASE_FOREACH, and ContainerRNA::properties.
Referenced by rna_generate_function_prototypes().
|
static |
Definition at line 4078 of file makesrna.cc.
References PropertyRNA::arraydimension, PropertyRNA::arraylength, CollectionPropertyRNA::assignint, CollectionPropertyRNA::begin, CLOG_ERROR, BoolPropertyRNA::defaultarray, FloatPropertyRNA::defaultarray, IntPropertyRNA::defaultarray, BoolPropertyRNA::defaultvalue, EnumPropertyRNA::defaultvalue, FloatPropertyRNA::defaultvalue, IntPropertyRNA::defaultvalue, StringPropertyRNA::defaultvalue, DefRNA, EnumPropertyItem::description, PropertyRNA::description, PropertyRNA::editable, CollectionPropertyRNA::end, BlenderDefRNA::error, PropertyRNA::flag, PropertyRNA::flag_internal, PropertyRNA::flag_override, PropertyRNA::flag_parameter, BoolPropertyRNA::get, CollectionPropertyRNA::get, EnumPropertyRNA::get, FloatPropertyRNA::get, IntPropertyRNA::get, PointerPropertyRNA::get, StringPropertyRNA::get, BoolPropertyRNA::get_default, FloatPropertyRNA::get_default, IntPropertyRNA::get_default, BoolPropertyRNA::get_default_array, FloatPropertyRNA::get_default_array, IntPropertyRNA::get_default_array, BoolPropertyRNA::get_ex, EnumPropertyRNA::get_ex, FloatPropertyRNA::get_ex, IntPropertyRNA::get_ex, StringPropertyRNA::get_ex, BoolPropertyRNA::getarray, FloatPropertyRNA::getarray, IntPropertyRNA::getarray, BoolPropertyRNA::getarray_ex, FloatPropertyRNA::getarray_ex, IntPropertyRNA::getarray_ex, PropertyRNA::getlength, FloatPropertyRNA::hardmax, IntPropertyRNA::hardmax, FloatPropertyRNA::hardmin, IntPropertyRNA::hardmin, EnumPropertyItem::icon, PropertyRNA::icon, EnumPropertyItem::identifier, PropertyRNA::identifier, StructRNA::identifier, EnumPropertyRNA::item, EnumPropertyRNA::item_fn, CollectionPropertyRNA::item_type, PropertyRNA::itemeditable, len, CollectionPropertyRNA::length, StringPropertyRNA::length, StringPropertyRNA::length_ex, LOG, CollectionPropertyRNA::lookupint, CollectionPropertyRNA::lookupstring, PropertyRNA::magic, StringPropertyRNA::maxlength, MEM_freeN(), MEM_mallocN, EnumPropertyItem::name, PropertyRNA::name, CollectionPropertyRNA::next, PropertyRNA::next, PropertyRNA::noteflag, PropertyRNA::override_apply, PropertyRNA::override_diff, PropertyRNA::override_store, PointerPropertyRNA::poll, FloatPropertyRNA::precision, PropertyRNA::prev, PROP_BOOLEAN, PROP_COLLECTION, PROP_CONTEXT_UPDATE, PROP_ENUM, PROP_ENUM_FLAG, PROP_FLOAT, PROP_INT, PROP_INTERN_PTR_OWNERSHIP_FORCED, PROP_INTERN_RAW_ACCESS, PROP_POINTER, PROP_PTR_NO_OWNERSHIP, PROP_STRING, FloatPropertyRNA::range, IntPropertyRNA::range, FloatPropertyRNA::range_ex, IntPropertyRNA::range_ex, RNA_def_property_flag(), rna_enum_dummy_NULL_items, rna_enum_id_from_pointer(), rna_find_struct(), rna_float_print(), rna_function_string(), rna_int_print(), rna_print_c_string(), rna_property_structname(), rna_property_subtype_unit(), rna_property_subtypename(), RNA_property_typename(), rna_set_raw_offset(), rna_ui_scale_type_string(), StringPropertyRNA::search, StringPropertyRNA::search_flag, BoolPropertyRNA::set, EnumPropertyRNA::set, FloatPropertyRNA::set, IntPropertyRNA::set, PointerPropertyRNA::set, StringPropertyRNA::set, BoolPropertyRNA::set_ex, EnumPropertyRNA::set_ex, FloatPropertyRNA::set_ex, IntPropertyRNA::set_ex, StringPropertyRNA::set_ex, BoolPropertyRNA::setarray, FloatPropertyRNA::setarray, IntPropertyRNA::setarray, BoolPropertyRNA::setarray_ex, FloatPropertyRNA::setarray_ex, IntPropertyRNA::setarray_ex, FloatPropertyRNA::softmax, IntPropertyRNA::softmax, FloatPropertyRNA::softmin, IntPropertyRNA::softmin, PropertyRNA::srna, FloatPropertyRNA::step, IntPropertyRNA::step, STRUCT_ID, PropertyRNA::subtype, PropertyRNA::tags, PropertyRNA::totarraylength, EnumPropertyRNA::totitem, PropertyRNA::translation_context, PointerPropertyRNA::type, PropertyRNA::type, PointerPropertyRNA::type_fn, FloatPropertyRNA::ui_scale_type, IntPropertyRNA::ui_scale_type, PropertyRNA::update, and EnumPropertyItem::value.
Referenced by rna_generate_struct().
|
static |
Definition at line 3996 of file makesrna.cc.
References FunctionDefRNA::call, FunctionRNA::cont, ListBase::first, StructRNA::functions, ContainerRNA::next, rna_find_function_def(), and rna_generate_static_parameter_prototypes().
Referenced by rna_generate().
|
static |
Definition at line 3825 of file makesrna.cc.
References FunctionRNA::c_ret, FunctionDefRNA::call, FunctionDefRNA::cont, StructDefRNA::dnafromname, StructDefRNA::dnafromprop, StructDefRNA::dnaname, flag, FunctionRNA::flag, FunctionDefRNA::func, FUNC_NO_SELF, FUNC_USE_CONTEXT, FUNC_USE_MAIN, FUNC_USE_REPORTS, FUNC_USE_SELF_ID, FUNC_USE_SELF_TYPE, StructRNA::identifier, LISTBASE_FOREACH, PARM_OUTPUT, PARM_RNAPTR, PROP_DYNAMIC, PROP_POINTER, PROP_STRING, PROP_THICK_WRAP, ContainerDefRNA::properties, rna_find_struct_def(), rna_parameter_type_name(), rna_safe_id(), and rna_type_struct().
Referenced by rna_def_function_funcs_header(), rna_def_function_wrapper_funcs(), and rna_generate_static_function_prototypes().
|
static |
Definition at line 4598 of file makesrna.cc.
References StructRNA::base, FunctionRNA::c_ret, CLOG_ERROR, FunctionRNA::cont, StructRNA::cont, DefRNA, FunctionRNA::description, StructRNA::description, BlenderDefRNA::error, ListBase::first, FunctionRNA::flag, StructRNA::flag, StructRNA::functions, FunctionDefRNA::gencall, StructRNA::icon, FunctionRNA::identifier, PropertyRNA::identifier, StructRNA::identifier, StructRNA::idproperties, StructRNA::instance, StructRNA::iteratorproperty, ListBase::last, LISTBASE_FOREACH, LOG, StructRNA::name, StructRNA::nameproperty, StructRNA::nested, ContainerRNA::next, StructRNA::path, ContainerRNA::prev, ContainerRNA::properties, StructRNA::refine, StructRNA::reg, rna_find_function_def(), rna_function_string(), rna_generate_property(), rna_print_c_string(), StructRNA::translation_context, and StructRNA::unreg.
Referenced by rna_generate().
|
static |
Definition at line 4028 of file makesrna.cc.
References ARRAY_SIZE, FunctionDefRNA::call, FunctionDefRNA::cont, StructDefRNA::cont, DefRNA, ListBase::first, StructDefRNA::functions, LISTBASE_FOREACH, ContainerDefRNA::next, printf, PROP_POINTER, ContainerDefRNA::properties, rna_parameter_type_name(), STREQ, and BlenderDefRNA::structs.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 3685 of file makesrna.cc.
References StructRNA::cont, ListBase::first, StructRNA::identifier, ContainerRNA::next, and BlenderRNA::structs.
Referenced by rna_generate_external_property_prototypes(), and rna_preprocess().
|
static |
Definition at line 676 of file makesrna.cc.
References INT64_MAX, INT64_MIN, and PRId64.
Referenced by rna_clamp_value(), rna_def_property_get_func(), rna_def_property_set_func(), and rna_generate_property().
|
static |
Definition at line 5405 of file makesrna.cc.
References STREQ.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 5394 of file makesrna.cc.
References PropertyRNA::flag, PropertyRNA::flag_internal, PROP_COLLECTION, PROP_IDPROPERTY, PROP_INTERN_BUILTIN, and PropertyRNA::type.
Referenced by rna_generate_header_class_cpp(), and rna_generate_header_cpp().
|
static |
Definition at line 607 of file makesrna.cc.
References PropertyRNA::arraydimension, PropertyRNA::flag_parameter, PARM_OUTPUT, and PropertyDefRNA::prop.
Referenced by rna_def_function_funcs().
|
static |
Definition at line 2642 of file makesrna.cc.
References PROP_POINTER, rna_parameter_type_name(), PointerPropertyRNA::type, and PropertyRNA::type.
Referenced by rna_def_struct_function_prototype_cpp().
|
static |
Definition at line 564 of file makesrna.cc.
References PropertyRNA::flag_parameter, PARM_RNAPTR, PROP_COLLECTION, PROP_POINTER, rna_find_dna_type(), rna_type_type_name(), PointerPropertyRNA::type, and PropertyRNA::type.
Referenced by rna_def_function_funcs(), rna_def_struct_function_call_impl_cpp(), rna_def_struct_function_impl_cpp(), rna_generate_static_parameter_prototypes(), rna_generate_struct_prototypes(), and rna_parameter_type_cpp_name().
|
static |
| extern_outfile | Directory to put public headers into. Can be nullptr, in which case everything is put into outfile. |
Definition at line 5601 of file makesrna.cc.
References BlenderDefRNA::animate, RNAProcessItem::api_filename, BLI_str_endswith(), StructDefRNA::cont, define(), RNAProcessItem::define, DefRNA, BlenderDefRNA::error, file, RNAProcessItem::filename, StructDefRNA::filename, ListBase::first, make_bad_file(), ContainerDefRNA::next, PROCESS_ITEMS, replace_if_different(), rna_auto_types(), RNA_create(), RNA_define_free(), RNA_free(), rna_generate(), rna_generate_external_property_prototypes(), rna_generate_header(), rna_generate_header_cpp(), rna_generate_struct_rna_prototypes(), rna_sanity_checks(), rna_sort(), SNPRINTF, BlenderDefRNA::structs, and TMP_EXT.
Referenced by main().
|
static |
Definition at line 373 of file makesrna.cc.
References str.
Referenced by rna_generate_property(), and rna_generate_struct().
|
static |
Definition at line 402 of file makesrna.cc.
References PropertyDefRNA::dnastructfromname, PropertyDefRNA::dnastructfromprop, and PropertyDefRNA::dnastructname.
Referenced by rna_def_property_begin_func(), rna_def_property_get_func(), rna_def_property_length_func(), rna_def_property_lookup_int_func(), and rna_def_property_set_func().
|
static |
Definition at line 417 of file makesrna.cc.
Referenced by rna_def_property_set_func().
|
static |
Definition at line 3542 of file makesrna.cc.
References PROP_BOOLEAN, PROP_COLLECTION, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_POINTER, and PROP_STRING.
Referenced by rna_generate_property().
|
static |
Definition at line 3645 of file makesrna.cc.
References PROP_UNIT_ACCELERATION, PROP_UNIT_AREA, PROP_UNIT_CAMERA, PROP_UNIT_COLOR_TEMPERATURE, PROP_UNIT_FREQUENCY, PROP_UNIT_LENGTH, PROP_UNIT_MASS, PROP_UNIT_NONE, PROP_UNIT_POWER, PROP_UNIT_ROTATION, PROP_UNIT_TEMPERATURE, PROP_UNIT_TIME, PROP_UNIT_TIME_ABSOLUTE, PROP_UNIT_VELOCITY, PROP_UNIT_VOLUME, PROP_UNIT_WAVELENGTH, and RNA_SUBTYPE_UNIT.
Referenced by rna_generate_property().
|
static |
Definition at line 3564 of file makesrna.cc.
References PROP_ACCELERATION, PROP_ANGLE, PROP_AXISANGLE, PROP_BYTESTRING, PROP_COLOR, PROP_COLOR_GAMMA, PROP_COLOR_TEMPERATURE, PROP_COORDS, PROP_DIRECTION, PROP_DIRPATH, PROP_DISTANCE, PROP_DISTANCE_CAMERA, PROP_EULER, PROP_FACTOR, PROP_FILENAME, PROP_FILEPATH, PROP_FREQUENCY, PROP_LAYER, PROP_LAYER_MEMBER, PROP_MATRIX, PROP_NONE, PROP_PASSWORD, PROP_PERCENTAGE, PROP_PIXEL, PROP_POWER, PROP_QUATERNION, PROP_TEMPERATURE, PROP_TIME, PROP_TIME_ABSOLUTE, PROP_TRANSLATION, PROP_UNSIGNED, PROP_VELOCITY, PROP_WAVELENGTH, PROP_XYZ, rna_property_subtypename(), and RNA_SUBTYPE_UNIT.
Referenced by rna_generate_property(), and rna_property_subtypename().
|
static |
Definition at line 273 of file makesrna.cc.
References STREQ.
Referenced by rna_def_function_funcs(), rna_def_function_wrapper_funcs(), rna_def_property_begin_func(), rna_def_property_end_func(), rna_def_property_funcs_header(), rna_def_property_funcs_header_cpp(), rna_def_property_funcs_impl_cpp(), rna_def_property_get_func(), rna_def_property_length_func(), rna_def_property_lookup_int_func(), rna_def_property_lookup_string_func(), rna_def_property_next_func(), rna_def_property_search_func(), rna_def_property_set_func(), rna_def_struct_function_call_impl_cpp(), rna_def_struct_function_prototype_cpp(), and rna_generate_static_parameter_prototypes().
|
static |
Definition at line 3439 of file makesrna.cc.
References ARRAY_SIZE, BLI_str_endswith(), BLI_str_startswith(), DefRNA, and BlenderDefRNA::error.
Referenced by rna_preprocess().
|
static |
Definition at line 2030 of file makesrna.cc.
References PropertyDefRNA::dnaname, PropertyDefRNA::dnastructname, PropertyRNA::rawtype, and rna_find_struct_property_def().
Referenced by rna_generate_property().
|
static |
Definition at line 1979 of file makesrna.cc.
References PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, PropertyDefRNA::dnatype, PropertyRNA::flag_internal, PROP_BOOLEAN, PROP_INTERN_RAW_ACCESS, PROP_RAW_BOOLEAN, PROP_RAW_CHAR, PROP_RAW_DOUBLE, PROP_RAW_FLOAT, PROP_RAW_INT, PROP_RAW_INT64, PROP_RAW_INT8, PROP_RAW_SHORT, PROP_RAW_UINT16, PROP_RAW_UINT64, PROP_RAW_UINT8, PropertyRNA::rawtype, STREQ, and PropertyRNA::type.
Referenced by rna_def_property_funcs().
|
static |
Definition at line 3521 of file makesrna.cc.
References cmp_def_property(), cmp_def_struct(), cmp_property(), cmp_struct(), StructDefRNA::cont, StructRNA::cont, DefRNA, ListBase::first, ContainerDefRNA::next, ContainerRNA::next, ContainerDefRNA::properties, ContainerRNA::properties, rna_sortlist(), BlenderDefRNA::structs, and BlenderRNA::structs.
Referenced by rna_preprocess().
Definition at line 340 of file makesrna.cc.
References ListBase::first, ListBase::last, MEM_freeN(), MEM_mallocN, Link::next, Link::prev, rna_addtail(), and size().
Referenced by rna_sort().
|
static |
Definition at line 551 of file makesrna.cc.
References rna_type_type_name().
Referenced by rna_def_function_funcs(), and rna_generate_static_parameter_prototypes().
|
static |
Definition at line 538 of file makesrna.cc.
References rna_type_type_name().
Referenced by rna_def_property_get_func(), and rna_def_property_set_func().
|
static |
Definition at line 510 of file makesrna.cc.
References PropertyRNA::flag, EnumPropertyRNA::native_enum_type, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_STRING, PROP_THICK_WRAP, and PropertyRNA::type.
Referenced by rna_parameter_type_name(), rna_type_struct(), and rna_type_type().
|
static |
Definition at line 662 of file makesrna.cc.
References BLI_assert_unreachable, PROP_SCALE_CUBIC, PROP_SCALE_LINEAR, and PROP_SCALE_LOG.
Referenced by rna_generate_property().
|
static |
Definition at line 5055 of file makesrna.cc.
Referenced by rna_generate_header_cpp().
|
static |
Variable to control debug output of makesrna. debugSRNA:
Definition at line 43 of file makesrna.cc.
Referenced by file_older(), and main().
|
static |
Definition at line 35 of file makesrna.cc.
Referenced by replace_if_different(), rna_def_property_begin_func(), rna_def_property_funcs(), rna_def_property_get_func(), rna_def_property_length_func(), rna_def_property_set_func(), rna_generate_property(), and rna_generate_struct().
|
static |
Definition at line 74 of file makesrna.cc.
Referenced by main(), and replace_if_different().
|
static |
Definition at line 4799 of file makesrna.cc.
Referenced by rna_preprocess().