Blender
V3.3
|
#include <errno.h>
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_string.h"
#include "BLI_system.h"
#include "BLI_utildefines.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "RNA_types.h"
#include "rna_internal.h"
#include "CLG_log.h"
#include <sys/stat.h>
#include "RNA_enum_items.h"
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) |
Typedefs | |
typedef struct RNAProcessItem | RNAProcessItem |
Functions | |
void | BLI_system_backtrace (FILE *fp) |
static int | file_older (const char *file1, const char *file2) |
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 *UNUSED(dp)) |
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_len) |
void * | rna_calloc (int buffer_len) |
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 int | rna_color_quantize (PropertyRNA *prop, PropertyDefRNA *dp) |
static const char * | rna_enum_id_from_pointer (const EnumPropertyItem *item) |
static const char * | rna_function_string (const void *func) |
static void | rna_float_print (FILE *f, float num) |
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 *UNUSED(dp), 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 *UNUSED(dp), const char *manualfunc) |
static char * | rna_def_property_end_func (FILE *f, StructRNA *srna, PropertyRNA *prop, PropertyDefRNA *UNUSED(dp), 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 *UNUSED(srna), FunctionDefRNA *dfunc, const char *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_auto_types (void) |
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 *UNUSED(brna), StructRNA *srna, FILE *f) |
static void | rna_generate_parameter_prototypes (BlenderRNA *UNUSED(brna), 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 *UNUSED(brna), 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 *UNUSED(brna), 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 *UNUSED(brna), FILE *f) |
static int | rna_is_collection_prop (PropertyRNA *prop) |
static int | 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 *UNUSED(brna), 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 = NULL |
static RNAProcessItem | PROCESS_ITEMS [] |
static const char * | cpp_classes |
#define REN_IF_DIFF |
#define RNA_MAKESRNA |
#define TMP_EXT ".tmp" |
Definition at line 55 of file makesrna.c.
#define WRITE_COMMA |
Definition at line 85 of file makesrna.c.
#define WRITE_PARAM | ( | param | ) |
Definition at line 94 of file makesrna.c.
typedef struct RNAProcessItem RNAProcessItem |
void BLI_system_backtrace | ( | FILE * | fp | ) |
Write a backtrace into a file for systems which support it.
Definition at line 48 of file makesrna.c.
References buffer, free(), SIZE, and void.
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(), and wm_main_playanim_intern().
Definition at line 296 of file makesrna.c.
References Freestyle::a, usdtokens::b(), cmp_property(), and PropertyDefRNA::prop.
Referenced by rna_sort().
Definition at line 288 of file makesrna.c.
References Freestyle::a, usdtokens::b(), cmp_struct(), and StructDefRNA::srna.
Referenced by rna_sort().
Definition at line 266 of file makesrna.c.
References Freestyle::a, usdtokens::b(), PropertyRNA::identifier, PropertyRNA::name, and STREQ.
Referenced by cmp_def_property(), and rna_sort().
Definition at line 258 of file makesrna.c.
References Freestyle::a, usdtokens::b(), and StructRNA::identifier.
Referenced by cmp_def_struct(), and rna_sort().
|
static |
Definition at line 59 of file makesrna.c.
References debugSRNA.
Referenced by replace_if_different().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 5364 of file makesrna.c.
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, NULL, and rna_preprocess().
|
static |
|
static |
Definition at line 5358 of file makesrna.c.
Referenced by main().
|
static |
Definition at line 101 of file makesrna.c.
References CLOG_ERROR, file_older(), L, LOG, makesrna_path, MEM_freeN, MEM_mallocN, NULL, blender::bke::attribute_accessor_functions::remove(), REN_IF_DIFF, and TMP_EXT.
Referenced by rna_preprocess().
void* rna_alloc_from_buffer | ( | const char * | buffer, |
int | buffer_len | ||
) |
Definition at line 403 of file makesrna.c.
References BlenderDefRNA::allocs, buffer, DefRNA, AllocDefRNA::mem, MEM_callocN, MEM_mallocN, and rna_addtail().
Referenced by rna_alloc_function_name().
|
static |
Definition at line 420 of file makesrna.c.
References buffer, rna_alloc_from_buffer(), rna_construct_function_name(), and type.
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().
Definition at line 3135 of file makesrna.c.
References StructDefRNA::cont, DefRNA, StructDefRNA::dnaname, PropertyDefRNA::dnastructname, PropertyDefRNA::dnatype, ListBase::first, PropertyRNA::flag, PointerPropertyRNA::get, CollectionPropertyRNA::get, if(), CollectionPropertyRNA::item_type, ContainerDefRNA::next, PropertyDefRNA::next, PropertyDefRNA::prop, PROP_COLLECTION, PROP_ID_REFCOUNT, PROP_POINTER, ContainerDefRNA::properties, PointerPropertyRNA::property, rna_find_struct(), rna_find_type(), STREQ, STRUCT_ID_REFCOUNT, BlenderDefRNA::structs, type, PropertyRNA::type, and PointerPropertyRNA::type.
Referenced by rna_preprocess().
void* rna_calloc | ( | int | buffer_len | ) |
Definition at line 412 of file makesrna.c.
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 987 of file makesrna.c.
References IntPropertyRNA::hardmax, FloatPropertyRNA::hardmax, IntPropertyRNA::hardmin, FloatPropertyRNA::hardmin, PROP_FLOAT, PROP_INT, IntPropertyRNA::range, FloatPropertyRNA::range, rna_float_print(), rna_int_print(), and PropertyRNA::type.
Referenced by rna_def_property_set_func().
|
static |
Definition at line 938 of file makesrna.c.
References PROP_FLOAT, PROP_INT, IntPropertyRNA::range, FloatPropertyRNA::range, rna_function_string(), and PropertyRNA::type.
Referenced by rna_def_property_set_func().
|
static |
Definition at line 565 of file makesrna.c.
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 386 of file makesrna.c.
References buffer, size(), snprintf, and type.
Referenced by rna_alloc_function_name().
|
static |
Definition at line 392 of file makesrna.c.
References buffer, NULL, size(), snprintf, and type.
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 2837 of file makesrna.c.
References PropertyRNA::arraydimension, FunctionRNA::c_ret, FunctionDefRNA::call, 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, FunctionDefRNA::gencall, FunctionRNA::identifier, PropertyRNA::identifier, StructRNA::identifier, PropertyDefRNA::next, NULL, 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_size(), rna_parameter_size_pad(), rna_parameter_type_name(), rna_type_struct(), StructDefRNA::srna, type, and PropertyRNA::type.
Referenced by rna_generate().
|
static |
Definition at line 2162 of file makesrna.c.
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 2765 of file makesrna.c.
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 1417 of file makesrna.c.
References CLOG_ERROR, DefRNA, PropertyDefRNA::dnalengthfixed, PropertyDefRNA::dnalengthname, PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, BlenderDefRNA::error, PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, LOG, NULL, PROP_IDPROPERTY, rna_alloc_function_name(), rna_print_data_get(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1774 of file makesrna.c.
References PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, NULL, PROP_IDPROPERTY, rna_alloc_function_name(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1836 of file makesrna.c.
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, IntPropertyRNA::get, FloatPropertyRNA::get, StringPropertyRNA::get, EnumPropertyRNA::get, PointerPropertyRNA::get, CollectionPropertyRNA::get, BoolPropertyRNA::getarray, IntPropertyRNA::getarray, FloatPropertyRNA::getarray, PropertyRNA::identifier, StructRNA::identifier, CollectionPropertyRNA::item_type, StringPropertyRNA::length, CollectionPropertyRNA::length, LOG, CollectionPropertyRNA::lookupint, CollectionPropertyRNA::lookupstring, CollectionPropertyRNA::next, PropertyDefRNA::prop, PROP_BOOLEAN, PROP_COLLECTION, 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, IntPropertyRNA::set, FloatPropertyRNA::set, StringPropertyRNA::set, EnumPropertyRNA::set, PointerPropertyRNA::set, BoolPropertyRNA::setarray, IntPropertyRNA::setarray, FloatPropertyRNA::setarray, STREQ, PropertyRNA::type, and PointerPropertyRNA::type.
Referenced by rna_generate().
|
static |
Definition at line 2021 of file makesrna.c.
References PropertyRNA::arraydimension, PropertyRNA::flag, PropertyRNA::flag_internal, PropertyRNA::getlength, PropertyRNA::identifier, StructRNA::identifier, EnumPropertyItem::identifier, EnumPropertyRNA::item, CollectionPropertyRNA::length, CollectionPropertyRNA::lookupint, CollectionPropertyRNA::lookupstring, StringPropertyRNA::maxlength, PropertyDefRNA::prop, PROP_BOOLEAN, PROP_COLLECTION, 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 2172 of file makesrna.c.
References PropertyRNA::arraydimension, PropertyRNA::description, PropertyRNA::flag, PropertyRNA::flag_internal, PropertyRNA::getlength, PropertyRNA::identifier, StructRNA::identifier, EnumPropertyItem::identifier, if(), 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, PropertyRNA::type, PointerPropertyRNA::type, and EnumPropertyItem::value.
Referenced by rna_generate_header_class_cpp().
|
static |
Definition at line 2464 of file makesrna.c.
References PropertyRNA::arraydimension, PropertyRNA::flag, PropertyRNA::flag_internal, PropertyRNA::getlength, PropertyRNA::identifier, StructRNA::identifier, if(), 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, PropertyRNA::type, and PointerPropertyRNA::type.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 631 of file makesrna.c.
References PropertyRNA::arraydimension, PropertyDefRNA::booleanbit, PropertyDefRNA::booleannegative, CLOG_ERROR, DefRNA, PropertyDefRNA::dnaarraylength, PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, PropertyDefRNA::dnatype, ELEM, PropertyDefRNA::enumbitflags, BlenderDefRNA::error, PropertyRNA::flag, IntPropertyRNA::hardmin, FloatPropertyRNA::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, NULL, PROP_BOOLEAN, PROP_BYTESTRING, PROP_COLLECTION, PROP_COLOR_GAMMA, PROP_DIRPATH, PROP_DYNAMIC, PROP_ENUM, PROP_FILENAME, PROP_FILEPATH, 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(), IntPropertyRNA::softmin, FloatPropertyRNA::softmin, STR_ELEM, PropertyRNA::subtype, PropertyRNA::totarraylength, PropertyRNA::type, PointerPropertyRNA::type, IntPropertyRNA::ui_scale_type, and FloatPropertyRNA::ui_scale_type.
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1334 of file makesrna.c.
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, NULL, 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 1493 of file makesrna.c.
References PropertyDefRNA::dnalengthfixed, PropertyDefRNA::dnalengthname, PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, NULL, 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 1632 of file makesrna.c.
References StructRNA::base, PropertyDefRNA::dnaname, PropertyDefRNA::dnastructname, PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, StructRNA::nameproperty, NULL, PROP_IDPROPERTY, rna_alloc_function_name(), rna_find_struct(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1741 of file makesrna.c.
References PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, NULL, PROP_IDPROPERTY, rna_alloc_function_name(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1042 of file makesrna.c.
References PropertyRNA::flag, PropertyRNA::identifier, StructRNA::identifier, NULL, PROP_IDPROPERTY, rna_alloc_function_name(), and rna_safe_id().
Referenced by rna_def_property_funcs().
|
static |
Definition at line 1074 of file makesrna.c.
References PropertyRNA::arraydimension, 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, NULL, PropertyDefRNA::prop, PROP_BOOLEAN, PROP_BYTESTRING, PROP_DIRPATH, PROP_DYNAMIC, PROP_EDITABLE, PROP_ENUM, PROP_FILENAME, PROP_FILEPATH, PROP_ID_REFCOUNT, PROP_ID_SELF_CHECK, PROP_IDPROPERTY, 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, type, PropertyRNA::type, and PointerPropertyRNA::type.
Referenced by rna_def_property_funcs().
|
static |
Definition at line 2752 of file makesrna.c.
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 2596 of file makesrna.c.
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 2451 of file makesrna.c.
References FunctionDefRNA::call, FunctionRNA::description, FunctionDefRNA::func, NULL, and rna_def_struct_function_prototype_cpp().
Referenced by rna_generate_header_class_cpp().
|
static |
Definition at line 2696 of file makesrna.c.
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, PropertyRNA::type, and PointerPropertyRNA::type.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 2355 of file makesrna.c.
References PropertyRNA::arraydimension, FunctionRNA::c_ret, FunctionDefRNA::cont, ListBase::first, FunctionRNA::flag, PropertyRNA::flag, PropertyRNA::flag_parameter, FunctionDefRNA::func, FUNC_USE_CONTEXT, FUNC_USE_MAIN, FunctionRNA::identifier, PropertyRNA::identifier, PropertyDefRNA::next, 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(), PropertyRNA::totarraylength, type, PropertyRNA::type, WRITE_COMMA, and WRITE_PARAM.
Referenced by rna_def_struct_function_header_cpp(), and rna_def_struct_function_impl_cpp().
|
static |
Definition at line 549 of file makesrna.c.
References Freestyle::a, 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.h".
Prevents expanding duplicate enums bloating the binary size.
Definition at line 576 of file makesrna.c.
References NULL.
Referenced by rna_generate_property().
|
static |
Definition at line 455 of file makesrna.c.
References StructDefRNA::cont, DefRNA, StructDefRNA::dnaname, ListBase::first, StructRNA::identifier, ContainerDefRNA::next, NULL, StructDefRNA::srna, STREQ, BlenderDefRNA::structs, and type.
Referenced by rna_parameter_type_name().
|
static |
Definition at line 429 of file makesrna.c.
References StructDefRNA::cont, DefRNA, ListBase::first, StructRNA::identifier, ContainerDefRNA::next, NULL, 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 442 of file makesrna.c.
References StructDefRNA::cont, DefRNA, StructDefRNA::dnaname, ListBase::first, StructRNA::identifier, ContainerDefRNA::next, NULL, StructDefRNA::srna, STREQ, BlenderDefRNA::structs, and type.
Referenced by rna_auto_types().
Definition at line 593 of file makesrna.c.
References fabsf, and INT64_MAX.
Referenced by rna_clamp_value(), and rna_generate_property().
|
static |
Definition at line 588 of file makesrna.c.
Referenced by rna_clamp_value_range(), rna_def_property_wrapper_funcs(), rna_generate_property(), and rna_generate_struct().
|
static |
Definition at line 4495 of file makesrna.c.
References FunctionDefRNA::cont, StructDefRNA::cont, DefRNA, StructDefRNA::filename, ListBase::first, StructDefRNA::functions, ContainerDefRNA::next, PropertyDefRNA::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 3353 of file makesrna.c.
References ListBase::first, StructRNA::identifier, ListBase::last, and BlenderRNA::structs.
Referenced by rna_generate().
|
static |
Definition at line 3382 of file makesrna.c.
References StructRNA::cont, ListBase::first, PropertyRNA::identifier, StructRNA::identifier, ContainerRNA::next, PropertyRNA::next, ContainerRNA::properties, rna_generate_struct_rna_prototypes(), and BlenderRNA::structs.
Referenced by rna_preprocess().
|
static |
Definition at line 3451 of file makesrna.c.
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 4595 of file makesrna.c.
References StructRNA::base, FunctionDefRNA::cont, StructDefRNA::cont, DefRNA, ListBase::first, StructDefRNA::functions, StructRNA::identifier, StructRNA::name, ContainerDefRNA::next, PropertyDefRNA::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 5016 of file makesrna.c.
References StructRNA::base, FunctionDefRNA::cont, StructDefRNA::cont, ListBase::first, StructDefRNA::functions, PropertyRNA::identifier, StructRNA::identifier, StructRNA::name, ContainerDefRNA::next, PropertyDefRNA::next, PropertyDefRNA::prop, 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 5052 of file makesrna.c.
References FunctionDefRNA::cont, StructDefRNA::cont, cpp_classes, DefRNA, ListBase::first, StructDefRNA::functions, StructRNA::identifier, ContainerDefRNA::next, PropertyDefRNA::next, NULL, PropertyDefRNA::prop, 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(), StructDefRNA::srna, PropertyRNA::srna, STREQ, and BlenderDefRNA::structs.
Referenced by rna_preprocess().
|
static |
Definition at line 3394 of file makesrna.c.
References StructRNA::base, StructRNA::cont, ListBase::first, PropertyRNA::identifier, StructRNA::identifier, PropertyRNA::next, ContainerRNA::properties, rna_property_structname(), and PropertyRNA::type.
Referenced by rna_generate().
|
static |
Definition at line 3429 of file makesrna.c.
References FunctionRNA::cont, ListBase::first, FunctionRNA::identifier, PropertyRNA::identifier, StructRNA::identifier, PropertyRNA::next, ContainerRNA::properties, rna_property_structname(), and PropertyRNA::type.
Referenced by rna_generate_function_prototypes().
|
static |
Definition at line 3727 of file makesrna.c.
References PropertyRNA::arraydimension, PropertyRNA::arraylength, CollectionPropertyRNA::assignint, CollectionPropertyRNA::begin, CLOG_ERROR, BoolPropertyRNA::defaultarray, IntPropertyRNA::defaultarray, FloatPropertyRNA::defaultarray, BoolPropertyRNA::defaultvalue, IntPropertyRNA::defaultvalue, FloatPropertyRNA::defaultvalue, StringPropertyRNA::defaultvalue, EnumPropertyRNA::defaultvalue, DefRNA, PropertyRNA::description, EnumPropertyItem::description, DummyRNA_NULL_items, PropertyRNA::editable, CollectionPropertyRNA::end, BlenderDefRNA::error, PropertyRNA::flag, PropertyRNA::flag_internal, PropertyRNA::flag_override, PropertyRNA::flag_parameter, BoolPropertyRNA::get, IntPropertyRNA::get, FloatPropertyRNA::get, StringPropertyRNA::get, EnumPropertyRNA::get, PointerPropertyRNA::get, CollectionPropertyRNA::get, BoolPropertyRNA::get_ex, IntPropertyRNA::get_ex, FloatPropertyRNA::get_ex, StringPropertyRNA::get_ex, EnumPropertyRNA::get_ex, BoolPropertyRNA::getarray, IntPropertyRNA::getarray, FloatPropertyRNA::getarray, BoolPropertyRNA::getarray_ex, IntPropertyRNA::getarray_ex, FloatPropertyRNA::getarray_ex, PropertyRNA::getlength, IntPropertyRNA::hardmax, FloatPropertyRNA::hardmax, IntPropertyRNA::hardmin, FloatPropertyRNA::hardmin, PropertyRNA::icon, EnumPropertyItem::icon, PropertyRNA::identifier, StructRNA::identifier, EnumPropertyItem::identifier, EnumPropertyRNA::item, EnumPropertyRNA::item_fn, CollectionPropertyRNA::item_type, PropertyRNA::itemeditable, len, StringPropertyRNA::length, CollectionPropertyRNA::length, StringPropertyRNA::length_ex, LOG, CollectionPropertyRNA::lookupint, CollectionPropertyRNA::lookupstring, PropertyRNA::magic, StringPropertyRNA::maxlength, MEM_freeN, MEM_mallocN, PropertyRNA::name, EnumPropertyItem::name, PropertyRNA::next, CollectionPropertyRNA::next, PropertyRNA::noteflag, NULL, 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, IntPropertyRNA::range, FloatPropertyRNA::range, IntPropertyRNA::range_ex, FloatPropertyRNA::range_ex, 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(), StringPropertyRNA::search, StringPropertyRNA::search_flag, BoolPropertyRNA::set, IntPropertyRNA::set, FloatPropertyRNA::set, StringPropertyRNA::set, EnumPropertyRNA::set, PointerPropertyRNA::set, BoolPropertyRNA::set_ex, IntPropertyRNA::set_ex, FloatPropertyRNA::set_ex, StringPropertyRNA::set_ex, EnumPropertyRNA::set_ex, BoolPropertyRNA::setarray, IntPropertyRNA::setarray, FloatPropertyRNA::setarray, BoolPropertyRNA::setarray_ex, IntPropertyRNA::setarray_ex, FloatPropertyRNA::setarray_ex, IntPropertyRNA::softmax, FloatPropertyRNA::softmax, IntPropertyRNA::softmin, FloatPropertyRNA::softmin, PropertyRNA::srna, IntPropertyRNA::step, FloatPropertyRNA::step, STRUCT_ID, PropertyRNA::subtype, PropertyRNA::tags, PropertyRNA::totarraylength, EnumPropertyRNA::totitem, PropertyRNA::translation_context, type, PropertyRNA::type, PointerPropertyRNA::type, PointerPropertyRNA::type_fn, IntPropertyRNA::ui_scale_type, FloatPropertyRNA::ui_scale_type, PropertyRNA::update, and EnumPropertyItem::value.
Referenced by rna_generate_struct().
|
static |
Definition at line 3656 of file makesrna.c.
References FunctionDefRNA::call, FunctionRNA::cont, ListBase::first, StructRNA::functions, ContainerRNA::next, NULL, rna_find_function_def(), and rna_generate_static_parameter_prototypes().
Referenced by rna_generate().
|
static |
Definition at line 3486 of file makesrna.c.
References PropertyRNA::arraydimension, FunctionRNA::c_ret, FunctionDefRNA::call, 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, PropertyRNA::identifier, StructRNA::identifier, PropertyDefRNA::next, NULL, PARM_OUTPUT, PARM_RNAPTR, PropertyDefRNA::prop, PROP_DYNAMIC, PROP_POINTER, PROP_STRING, PROP_THICK_WRAP, ContainerDefRNA::properties, rna_find_struct_def(), rna_parameter_type_name(), rna_safe_id(), rna_type_struct(), PropertyRNA::totarraylength, type, and PropertyRNA::type.
Referenced by rna_def_function_funcs_header(), rna_def_function_wrapper_funcs(), and rna_generate_static_function_prototypes().
|
static |
Definition at line 4204 of file makesrna.c.
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, LOG, StructRNA::name, StructRNA::nameproperty, StructRNA::nested, ContainerRNA::next, PropertyRNA::next, NULL, 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 3680 of file makesrna.c.
References Freestyle::a, ARRAY_SIZE, FunctionDefRNA::call, FunctionDefRNA::cont, StructDefRNA::cont, DefRNA, ListBase::first, StructDefRNA::functions, PropertyRNA::identifier, ContainerDefRNA::next, PropertyDefRNA::next, NULL, PropertyDefRNA::prop, PROP_POINTER, ContainerDefRNA::properties, rna_parameter_type_name(), STREQ, BlenderDefRNA::structs, and PropertyRNA::type.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 3343 of file makesrna.c.
References StructRNA::cont, ListBase::first, StructRNA::identifier, ContainerRNA::next, and BlenderRNA::structs.
Referenced by rna_generate_external_property_prototypes(), and rna_preprocess().
Definition at line 609 of file makesrna.c.
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 5000 of file makesrna.c.
References Freestyle::a, and STREQ.
Referenced by rna_generate_header_cpp().
|
static |
Definition at line 4989 of file makesrna.c.
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 2344 of file makesrna.c.
References PROP_POINTER, rna_parameter_type_name(), PropertyRNA::type, and PointerPropertyRNA::type.
Referenced by rna_def_struct_function_prototype_cpp().
|
static |
Definition at line 522 of file makesrna.c.
References PropertyRNA::flag_parameter, PARM_RNAPTR, PROP_COLLECTION, PROP_POINTER, rna_find_dna_type(), rna_type_type_name(), type, PropertyRNA::type, and PointerPropertyRNA::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 NULL, in which case everything is put into outfile. |
Definition at line 5185 of file makesrna.c.
References BlenderDefRNA::animate, RNAProcessItem::api_filename, StructDefRNA::cont, define(), RNAProcessItem::define, DefRNA, BlenderDefRNA::error, file, RNAProcessItem::filename, StructDefRNA::filename, ListBase::first, make_bad_file(), ContainerDefRNA::next, NULL, 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_sort(), BlenderDefRNA::structs, and TMP_EXT.
Referenced by main().
|
static |
Definition at line 337 of file makesrna.c.
Referenced by rna_generate_property(), and rna_generate_struct().
|
static |
Definition at line 366 of file makesrna.c.
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 381 of file makesrna.c.
Referenced by rna_def_property_set_func().
|
static |
Definition at line 3212 of file makesrna.c.
References PROP_BOOLEAN, PROP_COLLECTION, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_POINTER, PROP_STRING, and type.
Referenced by rna_generate_internal_property_prototypes(), rna_generate_parameter_prototypes(), and rna_generate_property().
|
static |
Definition at line 3309 of file makesrna.c.
References PROP_UNIT_ACCELERATION, PROP_UNIT_AREA, PROP_UNIT_CAMERA, 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, RNA_SUBTYPE_UNIT, and type.
Referenced by rna_generate_property().
|
static |
Definition at line 3234 of file makesrna.c.
References PROP_ACCELERATION, PROP_ANGLE, PROP_AXISANGLE, PROP_BYTESTRING, PROP_COLOR, PROP_COLOR_GAMMA, PROP_COORDS, PROP_DIRECTION, PROP_DIRPATH, PROP_DISTANCE, PROP_DISTANCE_CAMERA, PROP_EULER, PROP_FACTOR, PROP_FILENAME, PROP_FILEPATH, 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_XYZ, RNA_SUBTYPE_UNIT, and type.
Referenced by rna_generate_property().
|
static |
Definition at line 237 of file makesrna.c.
Referenced by 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 1829 of file makesrna.c.
References PropertyDefRNA::dnaname, PropertyDefRNA::dnastructname, PropertyRNA::rawtype, and rna_find_struct_property_def().
Referenced by rna_generate_property().
|
static |
Definition at line 1798 of file makesrna.c.
References PropertyDefRNA::dnaname, PropertyDefRNA::dnapointerlevel, PropertyDefRNA::dnastructname, PropertyDefRNA::dnatype, PropertyRNA::flag_internal, PROP_INTERN_RAW_ACCESS, PROP_RAW_CHAR, PROP_RAW_DOUBLE, PROP_RAW_FLOAT, PROP_RAW_INT, PROP_RAW_SHORT, PropertyRNA::rawtype, and STREQ.
Referenced by rna_def_property_funcs().
|
static |
Definition at line 3195 of file makesrna.c.
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 304 of file makesrna.c.
References Freestyle::a, ListBase::first, ListBase::last, MEM_freeN, MEM_mallocN, Link::next, NULL, Link::prev, rna_addtail(), and size().
Referenced by rna_sort().
|
static |
Definition at line 509 of file makesrna.c.
References rna_type_type_name(), and type.
Referenced by rna_def_function_funcs(), and rna_generate_static_parameter_prototypes().
|
static |
Definition at line 496 of file makesrna.c.
References rna_type_type_name(), and type.
Referenced by rna_def_property_get_func(), and rna_def_property_set_func().
|
static |
Definition at line 468 of file makesrna.c.
References PropertyRNA::flag, EnumPropertyRNA::native_enum_type, NULL, 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 4652 of file makesrna.c.
Referenced by rna_generate_header_cpp().
|
static |
Variable to control debug output of makesrna. debugSRNA:
Definition at line 44 of file makesrna.c.
Referenced by file_older(), and main().
|
static |
Definition at line 36 of file makesrna.c.
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 75 of file makesrna.c.
Referenced by main(), and replace_if_different().
|
static |
Definition at line 4415 of file makesrna.c.
Referenced by rna_preprocess().