|
Blender
V2.93
|
Go to the source code of this file.
Macros | |
| #define | DNA_struct_default_get(struct_name) (const struct_name *)DNA_default_table[SDNA_TYPE_FROM_STRUCT(struct_name)] |
| #define | DNA_struct_default_alloc(struct_name) |
Functions | |
| char * | _DNA_struct_default_alloc_impl (const char *data_src, size_t size, const char *alloc_str) |
Variables | |
| const void * | DNA_default_table [SDNA_TYPE_MAX] |
Definition in file DNA_defaults.h.
| #define DNA_struct_default_alloc | ( | struct_name | ) |
Definition at line 47 of file DNA_defaults.h.
| #define DNA_struct_default_get | ( | struct_name | ) | (const struct_name *)DNA_default_table[SDNA_TYPE_FROM_STRUCT(struct_name)] |
Wrap with macro that casts correctly.
Definition at line 44 of file DNA_defaults.h.
| char* _DNA_struct_default_alloc_impl | ( | const char * | data_src, |
| size_t | size, | ||
| const char * | alloc_str | ||
| ) |
Definition at line 548 of file dna_defaults.c.
References MEM_mallocN, and size().
|
extern |
Keep headers sorted.
Definition at line 345 of file dna_defaults.c.
Referenced by RNA_def_property_boolean_sdna(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), and RNA_def_property_string_sdna().