Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions | Variables

rna_access.c File Reference

#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <ctype.h>
#include "MEM_guardedalloc.h"
#include "DNA_ID.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BLI_dynstr.h"
#include "BLI_ghash.h"
#include "BLF_api.h"
#include "BLF_translation.h"
#include "BKE_animsys.h"
#include "BKE_context.h"
#include "BKE_idprop.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "WM_api.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "DNA_object_types.h"
#include "BKE_depsgraph.h"
#include "WM_types.h"
#include "rna_internal.h"

Go to the source code of this file.

Classes

struct  tRnaUpdateCacheElem
struct  IDP_Chain

Defines

#define RAW_GET(dtype, var, raw, a)
#define RAW_SET(dtype, raw, a, var)

Typedefs

typedef struct tRnaUpdateCacheElem tRnaUpdateCacheElem
typedef struct IDP_Chain IDP_Chain

Functions

void RNA_init (void)
void RNA_exit (void)
void RNA_main_pointer_create (struct Main *main, PointerRNA *r_ptr)
void RNA_id_pointer_create (ID *id, PointerRNA *r_ptr)
void RNA_pointer_create (ID *id, StructRNA *type, void *data, PointerRNA *r_ptr)
static void rna_pointer_inherit_id (StructRNA *type, PointerRNA *parent, PointerRNA *ptr)
void RNA_blender_rna_pointer_create (PointerRNA *r_ptr)
PointerRNA rna_pointer_inherit_refine (PointerRNA *ptr, StructRNA *type, void *data)
void RNA_pointer_recast (PointerRNA *ptr, PointerRNA *r_ptr)
static void rna_idproperty_touch (IDProperty *idprop)
IDPropertyrna_idproperty_ui (PropertyRNA *prop)
IDPropertyRNA_struct_idprops (PointerRNA *ptr, int create)
int RNA_struct_idprops_check (StructRNA *srna)
static IDPropertyrna_idproperty_find (PointerRNA *ptr, const char *name)
static int rna_ensure_property_array_length (PointerRNA *ptr, PropertyRNA *prop)
static int rna_ensure_property_array_check (PropertyRNA *prop)
static void rna_ensure_property_multi_array_length (PointerRNA *ptr, PropertyRNA *prop, int length[])
static int rna_idproperty_verify_valid (PointerRNA *ptr, PropertyRNA *prop, IDProperty *idprop)
IDPropertyrna_idproperty_check (PropertyRNA **prop, PointerRNA *ptr)
static PropertyRNArna_ensure_property (PropertyRNA *prop)
static const char * rna_ensure_property_identifier (PropertyRNA *prop)
static const char * rna_ensure_property_description (PropertyRNA *prop)
static const char * rna_ensure_property_name (PropertyRNA *prop)
StructRNARNA_struct_find (const char *identifier)
const char * RNA_struct_identifier (StructRNA *type)
const char * RNA_struct_ui_name (StructRNA *type)
int RNA_struct_ui_icon (StructRNA *type)
const char * RNA_struct_ui_description (StructRNA *type)
PropertyRNARNA_struct_name_property (StructRNA *type)
PropertyRNARNA_struct_iterator_property (StructRNA *type)
StructRNARNA_struct_base (StructRNA *type)
int RNA_struct_is_ID (StructRNA *type)
int RNA_struct_undo_check (StructRNA *type)
int RNA_struct_idprops_register_check (StructRNA *type)
int RNA_struct_idprops_unset (PointerRNA *ptr, const char *identifier)
int RNA_struct_is_a (StructRNA *type, StructRNA *srna)
PropertyRNARNA_struct_find_property (PointerRNA *ptr, const char *identifier)
PropertyRNARNA_struct_find_nested (PointerRNA *ptr, StructRNA *srna)
int RNA_struct_contains_property (PointerRNA *ptr, PropertyRNA *prop_test)
struct ListBaseRNA_struct_type_properties (StructRNA *srna)
PropertyRNARNA_struct_type_find_property (StructRNA *srna, const char *identifier)
FunctionRNARNA_struct_find_function (PointerRNA *ptr, const char *identifier)
struct ListBaseRNA_struct_type_functions (StructRNA *srna)
StructRegisterFunc RNA_struct_register (StructRNA *type)
StructUnregisterFunc RNA_struct_unregister (StructRNA *type)
void ** RNA_struct_instance (PointerRNA *ptr)
void * RNA_struct_py_type_get (StructRNA *srna)
void RNA_struct_py_type_set (StructRNA *srna, void *py_type)
void * RNA_struct_blender_type_get (StructRNA *srna)
void RNA_struct_blender_type_set (StructRNA *srna, void *blender_type)
char * RNA_struct_name_get_alloc (PointerRNA *ptr, char *fixedbuf, int fixedlen, int *r_len)
const char * RNA_property_identifier (PropertyRNA *prop)
const char * RNA_property_description (PropertyRNA *prop)
PropertyType RNA_property_type (PropertyRNA *prop)
PropertySubType RNA_property_subtype (PropertyRNA *prop)
PropertyUnit RNA_property_unit (PropertyRNA *prop)
int RNA_property_flag (PropertyRNA *prop)
void * RNA_property_py_data_get (PropertyRNA *prop)
int RNA_property_array_length (PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_array_check (PropertyRNA *prop)
int RNA_property_array_dimension (PointerRNA *ptr, PropertyRNA *prop, int length[])
int RNA_property_multi_array_length (PointerRNA *ptr, PropertyRNA *prop, int dim)
char RNA_property_array_item_char (PropertyRNA *prop, int index)
int RNA_property_array_item_index (PropertyRNA *prop, char name)
void RNA_property_int_range (PointerRNA *ptr, PropertyRNA *prop, int *hardmin, int *hardmax)
void RNA_property_int_ui_range (PointerRNA *ptr, PropertyRNA *prop, int *softmin, int *softmax, int *step)
void RNA_property_float_range (PointerRNA *ptr, PropertyRNA *prop, float *hardmin, float *hardmax)
void RNA_property_float_ui_range (PointerRNA *ptr, PropertyRNA *prop, float *softmin, float *softmax, float *step, float *precision)
int RNA_property_float_clamp (PointerRNA *ptr, PropertyRNA *prop, float *value)
int RNA_property_int_clamp (PointerRNA *ptr, PropertyRNA *prop, int *value)
int RNA_property_string_maxlength (PropertyRNA *prop)
StructRNARNA_property_pointer_type (PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_pointer_poll (PointerRNA *ptr, PropertyRNA *prop, PointerRNA *value)
void RNA_property_enum_items (bContext *C, PointerRNA *ptr, PropertyRNA *prop, EnumPropertyItem **item, int *totitem, int *free)
void RNA_property_enum_items_gettexted (bContext *C, PointerRNA *ptr, PropertyRNA *prop, EnumPropertyItem **item, int *totitem, int *free)
int RNA_property_enum_value (bContext *C, PointerRNA *ptr, PropertyRNA *prop, const char *identifier, int *value)
int RNA_enum_identifier (EnumPropertyItem *item, const int value, const char **identifier)
int RNA_enum_bitflag_identifiers (EnumPropertyItem *item, const int value, const char **identifier)
int RNA_enum_name (EnumPropertyItem *item, const int value, const char **name)
int RNA_enum_description (EnumPropertyItem *item, const int value, const char **description)
int RNA_property_enum_identifier (bContext *C, PointerRNA *ptr, PropertyRNA *prop, const int value, const char **identifier)
int RNA_property_enum_name (bContext *C, PointerRNA *ptr, PropertyRNA *prop, const int value, const char **name)
int RNA_property_enum_bitflag_identifiers (bContext *C, PointerRNA *ptr, PropertyRNA *prop, const int value, const char **identifier)
const char * RNA_property_ui_name (PropertyRNA *prop)
const char * RNA_property_ui_description (PropertyRNA *prop)
int RNA_property_ui_icon (PropertyRNA *prop)
int RNA_property_editable (PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_editable_flag (PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_editable_index (PointerRNA *ptr, PropertyRNA *prop, int index)
int RNA_property_animateable (PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_animated (PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop))
int RNA_property_path_from_ID_check (PointerRNA *ptr, PropertyRNA *prop)
static void rna_property_update (bContext *C, Main *bmain, Scene *scene, PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_update_check (PropertyRNA *prop)
void RNA_property_update (bContext *C, PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_update_main (Main *bmain, Scene *scene, PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_update_cache_add (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_update_cache_flush (Main *bmain, Scene *scene)
void RNA_property_update_cache_free (void)
int RNA_property_boolean_get (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_boolean_set (PointerRNA *ptr, PropertyRNA *prop, int value)
void RNA_property_boolean_get_array (PointerRNA *ptr, PropertyRNA *prop, int *values)
int RNA_property_boolean_get_index (PointerRNA *ptr, PropertyRNA *prop, int index)
void RNA_property_boolean_set_array (PointerRNA *ptr, PropertyRNA *prop, const int *values)
void RNA_property_boolean_set_index (PointerRNA *ptr, PropertyRNA *prop, int index, int value)
int RNA_property_boolean_get_default (PointerRNA *UNUSED(ptr), PropertyRNA *prop)
void RNA_property_boolean_get_default_array (PointerRNA *UNUSED(ptr), PropertyRNA *prop, int *values)
int RNA_property_boolean_get_default_index (PointerRNA *ptr, PropertyRNA *prop, int index)
int RNA_property_int_get (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_int_set (PointerRNA *ptr, PropertyRNA *prop, int value)
void RNA_property_int_get_array (PointerRNA *ptr, PropertyRNA *prop, int *values)
void RNA_property_int_get_array_range (PointerRNA *ptr, PropertyRNA *prop, int values[2])
int RNA_property_int_get_index (PointerRNA *ptr, PropertyRNA *prop, int index)
void RNA_property_int_set_array (PointerRNA *ptr, PropertyRNA *prop, const int *values)
void RNA_property_int_set_index (PointerRNA *ptr, PropertyRNA *prop, int index, int value)
int RNA_property_int_get_default (PointerRNA *UNUSED(ptr), PropertyRNA *prop)
void RNA_property_int_get_default_array (PointerRNA *UNUSED(ptr), PropertyRNA *prop, int *values)
int RNA_property_int_get_default_index (PointerRNA *ptr, PropertyRNA *prop, int index)
float RNA_property_float_get (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_float_set (PointerRNA *ptr, PropertyRNA *prop, float value)
void RNA_property_float_get_array (PointerRNA *ptr, PropertyRNA *prop, float *values)
void RNA_property_float_get_array_range (PointerRNA *ptr, PropertyRNA *prop, float values[2])
float RNA_property_float_get_index (PointerRNA *ptr, PropertyRNA *prop, int index)
void RNA_property_float_set_array (PointerRNA *ptr, PropertyRNA *prop, const float *values)
void RNA_property_float_set_index (PointerRNA *ptr, PropertyRNA *prop, int index, float value)
float RNA_property_float_get_default (PointerRNA *UNUSED(ptr), PropertyRNA *prop)
void RNA_property_float_get_default_array (PointerRNA *UNUSED(ptr), PropertyRNA *prop, float *values)
float RNA_property_float_get_default_index (PointerRNA *ptr, PropertyRNA *prop, int index)
void RNA_property_string_get (PointerRNA *ptr, PropertyRNA *prop, char *value)
char * RNA_property_string_get_alloc (PointerRNA *ptr, PropertyRNA *prop, char *fixedbuf, int fixedlen, int *r_len)
int RNA_property_string_length (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_string_set (PointerRNA *ptr, PropertyRNA *prop, const char *value)
void RNA_property_string_get_default (PointerRNA *UNUSED(ptr), PropertyRNA *prop, char *value)
char * RNA_property_string_get_default_alloc (PointerRNA *ptr, PropertyRNA *prop, char *fixedbuf, int fixedlen)
int RNA_property_string_default_length (PointerRNA *UNUSED(ptr), PropertyRNA *prop)
int RNA_property_enum_get (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_enum_set (PointerRNA *ptr, PropertyRNA *prop, int value)
int RNA_property_enum_get_default (PointerRNA *UNUSED(ptr), PropertyRNA *prop)
void * RNA_property_enum_py_data_get (PropertyRNA *prop)
PointerRNA RNA_property_pointer_get (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_pointer_set (PointerRNA *ptr, PropertyRNA *prop, PointerRNA ptr_value)
PointerRNA RNA_property_pointer_get_default (PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop))
void RNA_property_pointer_add (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_pointer_remove (PointerRNA *ptr, PropertyRNA *prop)
static void rna_property_collection_get_idp (CollectionPropertyIterator *iter)
void RNA_property_collection_begin (PointerRNA *ptr, PropertyRNA *prop, CollectionPropertyIterator *iter)
void RNA_property_collection_next (CollectionPropertyIterator *iter)
void RNA_property_collection_end (CollectionPropertyIterator *iter)
int RNA_property_collection_length (PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_collection_add (PointerRNA *ptr, PropertyRNA *prop, PointerRNA *r_ptr)
int RNA_property_collection_remove (PointerRNA *ptr, PropertyRNA *prop, int key)
int RNA_property_collection_move (PointerRNA *ptr, PropertyRNA *prop, int key, int pos)
void RNA_property_collection_clear (PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_collection_lookup_index (PointerRNA *ptr, PropertyRNA *prop, PointerRNA *t_ptr)
int RNA_property_collection_lookup_int (PointerRNA *ptr, PropertyRNA *prop, int key, PointerRNA *r_ptr)
int RNA_property_collection_lookup_string (PointerRNA *ptr, PropertyRNA *prop, const char *key, PointerRNA *r_ptr)
int RNA_property_collection_assign_int (PointerRNA *ptr, PropertyRNA *prop, const int key, const PointerRNA *assign_ptr)
int RNA_property_collection_type_get (PointerRNA *ptr, PropertyRNA *prop, PointerRNA *r_ptr)
int RNA_property_collection_raw_array (PointerRNA *ptr, PropertyRNA *prop, PropertyRNA *itemprop, RawArray *array)
int RNA_raw_type_sizeof (RawPropertyType type)
static int rna_raw_access (ReportList *reports, PointerRNA *ptr, PropertyRNA *prop, const char *propname, void *inarray, RawPropertyType intype, int inlen, int set)
RawPropertyType RNA_property_raw_type (PropertyRNA *prop)
int RNA_property_collection_raw_get (ReportList *reports, PointerRNA *ptr, PropertyRNA *prop, const char *propname, void *array, RawPropertyType type, int len)
int RNA_property_collection_raw_set (ReportList *reports, PointerRNA *ptr, PropertyRNA *prop, const char *propname, void *array, RawPropertyType type, int len)
void rna_iterator_listbase_begin (CollectionPropertyIterator *iter, ListBase *lb, IteratorSkipFunc skip)
void rna_iterator_listbase_next (CollectionPropertyIterator *iter)
void * rna_iterator_listbase_get (CollectionPropertyIterator *iter)
void rna_iterator_listbase_end (CollectionPropertyIterator *iter)
PointerRNA rna_listbase_lookup_int (PointerRNA *ptr, StructRNA *type, struct ListBase *lb, int index)
void rna_iterator_array_begin (CollectionPropertyIterator *iter, void *ptr, int itemsize, int length, int free_ptr, IteratorSkipFunc skip)
void rna_iterator_array_next (CollectionPropertyIterator *iter)
void * rna_iterator_array_get (CollectionPropertyIterator *iter)
void * rna_iterator_array_dereference_get (CollectionPropertyIterator *iter)
void rna_iterator_array_end (CollectionPropertyIterator *iter)
PointerRNA rna_array_lookup_int (PointerRNA *ptr, StructRNA *type, void *data, int itemsize, int length, int index)
static char * rna_path_token (const char **path, char *fixedbuf, int fixedlen, int bracket)
static int rna_token_strip_quotes (char *token)
int RNA_path_resolve (PointerRNA *ptr, const char *path, PointerRNA *r_ptr, PropertyRNA **r_prop)
int RNA_path_resolve_full (PointerRNA *ptr, const char *path, PointerRNA *r_ptr, PropertyRNA **r_prop, int *index)
char * RNA_path_append (const char *path, PointerRNA *UNUSED(ptr), PropertyRNA *prop, int intkey, const char *strkey)
char * RNA_path_back (const char *path)
static char * rna_idp_path_create (IDP_Chain *child_link)
static char * rna_idp_path (PointerRNA *ptr, IDProperty *haystack, IDProperty *needle, IDP_Chain *parent_link)
static char * rna_path_from_ID_to_idpgroup (PointerRNA *ptr)
char * RNA_path_from_ID_to_struct (PointerRNA *ptr)
char * RNA_path_from_ID_to_property (PointerRNA *ptr, PropertyRNA *prop)
int RNA_boolean_get (PointerRNA *ptr, const char *name)
void RNA_boolean_set (PointerRNA *ptr, const char *name, int value)
void RNA_boolean_get_array (PointerRNA *ptr, const char *name, int *values)
void RNA_boolean_set_array (PointerRNA *ptr, const char *name, const int *values)
int RNA_int_get (PointerRNA *ptr, const char *name)
void RNA_int_set (PointerRNA *ptr, const char *name, int value)
void RNA_int_get_array (PointerRNA *ptr, const char *name, int *values)
void RNA_int_set_array (PointerRNA *ptr, const char *name, const int *values)
float RNA_float_get (PointerRNA *ptr, const char *name)
void RNA_float_set (PointerRNA *ptr, const char *name, float value)
void RNA_float_get_array (PointerRNA *ptr, const char *name, float *values)
void RNA_float_set_array (PointerRNA *ptr, const char *name, const float *values)
int RNA_enum_get (PointerRNA *ptr, const char *name)
void RNA_enum_set (PointerRNA *ptr, const char *name, int value)
void RNA_enum_set_identifier (PointerRNA *ptr, const char *name, const char *id)
int RNA_enum_is_equal (bContext *C, PointerRNA *ptr, const char *name, const char *enumname)
int RNA_enum_value_from_id (EnumPropertyItem *item, const char *identifier, int *value)
int RNA_enum_id_from_value (EnumPropertyItem *item, int value, const char **identifier)
int RNA_enum_icon_from_value (EnumPropertyItem *item, int value, int *icon)
void RNA_string_get (PointerRNA *ptr, const char *name, char *value)
char * RNA_string_get_alloc (PointerRNA *ptr, const char *name, char *fixedbuf, int fixedlen)
int RNA_string_length (PointerRNA *ptr, const char *name)
void RNA_string_set (PointerRNA *ptr, const char *name, const char *value)
PointerRNA RNA_pointer_get (PointerRNA *ptr, const char *name)
void RNA_pointer_set (PointerRNA *ptr, const char *name, PointerRNA ptr_value)
void RNA_pointer_add (PointerRNA *ptr, const char *name)
void RNA_collection_begin (PointerRNA *ptr, const char *name, CollectionPropertyIterator *iter)
void RNA_collection_add (PointerRNA *ptr, const char *name, PointerRNA *r_value)
void RNA_collection_clear (PointerRNA *ptr, const char *name)
int RNA_collection_length (PointerRNA *ptr, const char *name)
int RNA_property_is_set (PointerRNA *ptr, PropertyRNA *prop)
int RNA_struct_property_is_set (PointerRNA *ptr, const char *identifier)
int RNA_property_is_idprop (PropertyRNA *prop)
char * RNA_pointer_as_string (bContext *C, PointerRNA *ptr)
char * RNA_property_as_string (bContext *C, PointerRNA *ptr, PropertyRNA *prop)
const char * RNA_function_identifier (FunctionRNA *func)
const char * RNA_function_ui_description (FunctionRNA *func)
int RNA_function_flag (FunctionRNA *func)
int RNA_function_defined (FunctionRNA *func)
PropertyRNARNA_function_get_parameter (PointerRNA *UNUSED(ptr), FunctionRNA *func, int index)
PropertyRNARNA_function_find_parameter (PointerRNA *UNUSED(ptr), FunctionRNA *func, const char *identifier)
struct ListBaseRNA_function_defined_parameters (FunctionRNA *func)
ParameterListRNA_parameter_list_create (ParameterList *parms, PointerRNA *UNUSED(ptr), FunctionRNA *func)
void RNA_parameter_list_free (ParameterList *parms)
int RNA_parameter_list_size (ParameterList *parms)
int RNA_parameter_list_arg_count (ParameterList *parms)
int RNA_parameter_list_ret_count (ParameterList *parms)
void RNA_parameter_list_begin (ParameterList *parms, ParameterIterator *iter)
void RNA_parameter_list_next (ParameterIterator *iter)
void RNA_parameter_list_end (ParameterIterator *UNUSED(iter))
void RNA_parameter_get (ParameterList *parms, PropertyRNA *parm, void **value)
void RNA_parameter_get_lookup (ParameterList *parms, const char *identifier, void **value)
void RNA_parameter_set (ParameterList *parms, PropertyRNA *parm, const void *value)
void RNA_parameter_set_lookup (ParameterList *parms, const char *identifier, const void *value)
int RNA_parameter_length_get (ParameterList *parms, PropertyRNA *parm)
void RNA_parameter_length_set (ParameterList *parms, PropertyRNA *parm, int length)
int RNA_parameter_length_get_data (ParameterList *UNUSED(parms), PropertyRNA *UNUSED(parm), void *data)
void RNA_parameter_length_set_data (ParameterList *UNUSED(parms), PropertyRNA *UNUSED(parm), void *data, int length)
int RNA_function_call (bContext *C, ReportList *reports, PointerRNA *ptr, FunctionRNA *func, ParameterList *parms)
int RNA_function_call_lookup (bContext *C, ReportList *reports, PointerRNA *ptr, const char *identifier, ParameterList *parms)
int RNA_function_call_direct (bContext *C, ReportList *reports, PointerRNA *ptr, FunctionRNA *func, const char *format,...)
int RNA_function_call_direct_lookup (bContext *C, ReportList *reports, PointerRNA *ptr, const char *identifier, const char *format,...)
static int rna_function_format_array_length (const char *format, int ofs, int flen)
static int rna_function_parameter_parse (PointerRNA *ptr, PropertyRNA *prop, PropertyType type, char ftype, int len, void *dest, void *src, StructRNA *srna, const char *tid, const char *fid, const char *pid)
int RNA_function_call_direct_va (bContext *C, ReportList *reports, PointerRNA *ptr, FunctionRNA *func, const char *format, va_list args)
int RNA_function_call_direct_va_lookup (bContext *C, ReportList *reports, PointerRNA *ptr, const char *identifier, const char *format, va_list args)
int RNA_property_reset (PointerRNA *ptr, PropertyRNA *prop, int index)
int RNA_property_copy (PointerRNA *ptr, PointerRNA *fromptr, PropertyRNA *prop, int index)
void _RNA_warning (const char *format,...)

Variables

const PointerRNA PointerRNA_NULL = {{NULL}}
static PropertyRNAtypemap [IDP_NUMTYPES]
static PropertyRNAarraytypemap [IDP_NUMTYPES]
EnumPropertyItem DummyRNA_NULL_items []
EnumPropertyItem DummyRNA_DEFAULT_items []
static ListBase rna_updates_cache = {NULL, NULL}

Detailed Description

Definition in file rna_access.c.


Define Documentation

#define RAW_GET (   dtype,
  var,
  raw,
 
)
Value:
{                                                                             \
    switch(raw.type) {                                                        \
        case PROP_RAW_CHAR: var = (dtype)((char*)raw.array)[a]; break;        \
        case PROP_RAW_SHORT: var = (dtype)((short*)raw.array)[a]; break;      \
        case PROP_RAW_INT: var = (dtype)((int*)raw.array)[a]; break;          \
        case PROP_RAW_FLOAT: var = (dtype)((float*)raw.array)[a]; break;      \
        case PROP_RAW_DOUBLE: var = (dtype)((double*)raw.array)[a]; break;    \
        default: var = (dtype)0;                                              \
    }                                                                         \
}

Definition at line 2999 of file rna_access.c.

Referenced by rna_raw_access().

#define RAW_SET (   dtype,
  raw,
  a,
  var 
)
Value:
{                                                                             \
    switch(raw.type) {                                                        \
        case PROP_RAW_CHAR: ((char*)raw.array)[a] = (char)var; break;         \
        case PROP_RAW_SHORT: ((short*)raw.array)[a] = (short)var; break;      \
        case PROP_RAW_INT: ((int*)raw.array)[a] = (int)var; break;            \
        case PROP_RAW_FLOAT: ((float*)raw.array)[a] = (float)var; break;      \
        case PROP_RAW_DOUBLE: ((double*)raw.array)[a] = (double)var; break;   \
        default: break;                                                       \
    }                                                                         \
}

Definition at line 3011 of file rna_access.c.

Referenced by rna_raw_access().


Typedef Documentation

typedef struct IDP_Chain IDP_Chain

Function Documentation

void _RNA_warning ( const char *  format,
  ... 
)

Definition at line 5550 of file rna_access.c.

References PyC_LineSpit().

PointerRNA rna_array_lookup_int ( PointerRNA ptr,
StructRNA type,
void *  data,
int  itemsize,
int  length,
int  index 
)

Definition at line 3468 of file rna_access.c.

References PointerRNA_NULL, and rna_pointer_inherit_refine().

void RNA_blender_rna_pointer_create ( PointerRNA r_ptr)
int RNA_boolean_get ( PointerRNA ptr,
const char *  name 
)

Definition at line 4081 of file rna_access.c.

References StructRNA::identifier, RNA_property_boolean_get(), RNA_struct_find_property(), and PointerRNA::type.

Referenced by actkeys_borderselect_exec(), actkeys_clickselect_invoke(), actkeys_deselectall_exec(), actkeys_select_leftright_exec(), add_driver_button_exec(), add_keyingset_button_exec(), add_named_exec(), add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cylinder_exec(), animchannels_borderselect_exec(), animchannels_collapse_exec(), animchannels_deselectall_exec(), animchannels_expand_exec(), animchannels_mouseclick_invoke(), armature_calc_roll_exec(), armature_extrude_exec(), armature_hide_exec(), armature_select_hierarchy_exec(), armature_select_linked_invoke(), blend_from_shape_exec(), border_select_exec(), borderselect_exec(), brush_edit_apply(), connect_hair_exec(), console_clear_exec(), console_history_append_exec(), console_history_cycle_exec(), convert_exec(), copy_to_selected_button_exec(), create_orientation_exec(), delete_key_button_exec(), delete_key_exec(), disconnect_hair_exec(), draw_actuator_action(), draw_actuator_constraint(), draw_actuator_filter_2d(), draw_actuator_header(), draw_actuator_motion(), draw_actuator_parent(), draw_actuator_sound(), draw_actuator_steering(), draw_brick_actuator(), draw_brick_controller(), draw_brick_sensor(), draw_controller_header(), draw_modifier__stepped(), draw_sensor_collision(), draw_sensor_header(), draw_sensor_internal_header(), draw_sensor_joystick(), draw_sensor_keyboard(), dupli_extrude_cursor(), duplicate_exec(), ED_fileselect_set_params(), ed_marker_border_select_exec(), ed_marker_select_invoke(), ED_object_add_generic_get_opts(), editmesh_mark_seam(), editmesh_mark_sharp(), enable_manipulator_invoke(), face_select_hide_exec(), file_border_select_exec(), file_draw_check_exists(), file_exec(), file_select_invoke(), file_sfile_to_operator(), frame_jump_exec(), get_boolean(), BlenderSync::get_scene_params(), gpencil_draw_exec(), graph_fmodifier_add_exec(), graph_fmodifier_add_invoke(), graph_panel_view(), graphkeys_borderselect_exec(), graphkeys_clickselect_invoke(), graphkeys_deselectall_exec(), graphkeys_select_leftright_exec(), hide_exec(), hide_mesh_exec(), hide_metaelems_exec(), hide_tracks_exec(), image_cycle_render_slot_exec(), image_invert_exec(), image_new_exec(), image_pack_exec(), image_pack_invoke(), image_pack_test(), image_save_as_draw_check_prop(), initSnapping(), initTransInfo(), insert_key_button_exec(), insert_key_exec(), insert_key_menu_invoke(), keyframe_jump_exec(), line_break_exec(), logic_buttons_new(), loop_multiselect(), make_single_user_exec(), merge_exec(), mesh_select_loop_invoke(), mesh_select_random_exec(), minimize_stretch_init(), mode_set_exec(), multires_external_save_exec(), nla_fmodifier_add_exec(), nla_panel_actclip(), nla_panel_evaluation(), nla_panel_properties(), nlachannels_mouseclick_invoke(), nlaedit_add_tracks_exec(), nlaedit_borderselect_exec(), nlaedit_clickselect_invoke(), nlaedit_deselectall_exec(), nlaedit_select_leftright_exec(), nlaedit_sync_actlen_exec(), node_border_select_invoke(), node_borderselect_exec(), node_composit_buts_blur(), node_composit_buts_color_spill(), node_composit_buts_crop(), node_composit_buts_defocus(), node_composit_buts_lensdist(), node_composit_buts_map_value(), node_duplicate_exec(), node_make_link_exec(), node_select_exec(), normals_make_consistent_exec(), object_delete_exec(), object_duplicates_make_real_exec(), object_hide_render_set_exec(), object_hide_view_set_exec(), object_mode_set_exec(), object_select_by_layer_exec(), object_select_by_type_exec(), object_select_grouped_exec(), object_select_linked_exec(), object_select_menu_exec(), object_select_mirror_exec(), object_select_random_exec(), object_transform_apply_exec(), ocean_bake_exec(), outliner_item_activate(), outliner_item_openclose(), outliner_one_level_exec(), outliner_scroll_page_exec(), paint_select_linked_pick_invoke(), pin_exec(), pose_armature_layers_showall_exec(), pose_hide_exec(), pose_ik_add_exec(), pose_paste_exec(), pose_select_connected_invoke(), pose_select_grouped_exec(), pose_select_hierarchy_exec(), ptcache_bake_all_exec(), ptcache_bake_exec(), remove_driver_button_exec(), reset_default_button_exec(), ringsel_init(), save_image_doit(), screen_animation_cancel_exec(), screen_animation_play_exec(), screen_opengl_render_exec(), screen_opengl_render_init(), screen_opengl_render_invoke(), screen_opengl_render_modal(), screen_render_exec(), screen_render_invoke(), screencast_exec(), screenshot_exec(), sculpt_brush_stroke_invoke(), sculpt_update_cache_variants(), select_exec(), select_invoke(), select_linked_exec(), select_linked_internal(), select_linked_pick_invoke(), select_loop_exec(), select_mirror_exec(), select_random_exec(), seq_load_operator_info(), sequencer_add_effect_strip_exec(), sequencer_add_generic_strip_exec(), sequencer_add_image_strip_exec(), sequencer_add_scene_strip_exec(), sequencer_borderselect_exec(), sequencer_change_path_exec(), sequencer_mute_exec(), sequencer_select_grouped_exec(), sequencer_select_invoke(), sequencer_select_linked_pick_invoke(), sequencer_unmute_exec(), set_style_exec(), shape_key_add_exec(), sketch_draw_gesture(), sketch_draw_modal(), sketch_draw_preview(), sketch_draw_stroke(), smooth_vertex(), spin_mesh_exec(), stitch_exec(), text_open_exec(), text_paste_exec(), text_set_selection_invoke(), text_to_3d_object_exec(), track_markers_exec(), track_markers_invoke(), uiTemplateImage(), unwrap_exec(), uv_from_view_exec(), uv_map_clip_correct(), v3d_transform_butsR(), vertex_group_assign_exec(), vertex_group_clean_exec(), vertex_group_invert_exec(), vertex_group_mirror_exec(), vertex_group_normalize_all_exec(), vertex_group_remove_exec(), vertex_group_remove_from_exec(), view3d_all_exec(), view3d_borderselect_exec(), view3d_lasso_select_exec(), view3d_layers_exec(), view3d_select_invoke(), view_scrolldown_exec(), view_scrollup_exec(), viewnumpad_exec(), vpaint_stroke_update_step(), wm_handler_fileselect_call(), wm_link_append_exec(), wm_link_append_flag(), wm_ndof_sensitivity_exec(), wm_open_mainfile_exec(), wm_save_as_mainfile_exec(), wm_save_mainfile_invoke(), and wpaint_stroke_update_step().

void RNA_boolean_get_array ( PointerRNA ptr,
const char *  name,
int *  values 
)
void RNA_boolean_set ( PointerRNA ptr,
const char *  name,
int  value 
)

Definition at line 4094 of file rna_access.c.

References StructRNA::identifier, RNA_property_boolean_set(), RNA_struct_find_property(), and PointerRNA::type.

Referenced by action_keymap_keyframes(), brush_edit_apply_event(), clip_keymap(), console_keymap(), ED_fileselect_set_params(), ED_keymap_animchannels(), ED_keymap_armature(), ED_keymap_curve(), ED_keymap_mesh(), ED_keymap_metaball(), ED_keymap_object(), ED_keymap_paint(), ED_keymap_screen(), ED_keymap_uvedit(), ED_marker_keymap(), ED_object_add_generic_get_opts(), ED_operatormacros_armature(), ED_operatormacros_clip(), ED_operatormacros_curve(), ED_operatormacros_mesh(), ED_operatormacros_node(), ED_operatormacros_object(), file_browse_invoke(), file_keymap(), gpencil_draw_apply_event(), graph_fmodifier_add_invoke(), graphedit_keymap_keyframes(), image_keymap(), image_replace_invoke(), image_save_as_invoke(), initTransInfo(), insert_key_menu_invoke(), keymap_particle(), linked_limit_default(), nla_keymap_channels(), nla_keymap_main(), node_keymap(), object_add_generic_invoke_options(), object_camera_add_exec(), object_mouse_select_menu(), open_invoke(), open_set_load_ui(), open_set_use_scripts(), outliner_keymap(), paint_brush_stroke_add_step(), save_set_compress(), screen_opengl_render_init(), sequencer_change_path_invoke(), sequencer_keymap(), sketch_draw_modal(), text_keymap(), transform_keymap_for_space(), ui_keymap_but_cb(), ui_set_but_default(), UI_view2d_keymap(), uiItemBooleanO(), uiLayoutOperatorButs(), view3d_keymap(), view3d_layers_invoke(), and wm_window_keymap().

void RNA_boolean_set_array ( PointerRNA ptr,
const char *  name,
const int *  values 
)
void RNA_collection_add ( PointerRNA ptr,
const char *  name,
PointerRNA r_value 
)
void RNA_collection_begin ( PointerRNA ptr,
const char *  name,
CollectionPropertyIterator iter 
)
void RNA_collection_clear ( PointerRNA ptr,
const char *  name 
)
int RNA_collection_length ( PointerRNA ptr,
const char *  name 
)
static PropertyRNA* rna_ensure_property ( PropertyRNA prop) [static]
static int rna_ensure_property_array_check ( PropertyRNA prop) [static]
static int rna_ensure_property_array_length ( PointerRNA ptr,
PropertyRNA prop 
) [static]
static const char* rna_ensure_property_description ( PropertyRNA prop) [static]
static const char* rna_ensure_property_identifier ( PropertyRNA prop) [static]

Definition at line 449 of file rna_access.c.

References PropertyRNA::identifier, PropertyRNA::magic, and RNA_MAGIC.

Referenced by RNA_property_identifier().

static void rna_ensure_property_multi_array_length ( PointerRNA ptr,
PropertyRNA prop,
int  length[] 
) [static]
static const char* rna_ensure_property_name ( PropertyRNA prop) [static]
int RNA_enum_bitflag_identifiers ( EnumPropertyItem item,
const int  value,
const char **  identifier 
)
int RNA_enum_description ( EnumPropertyItem item,
const int  value,
const char **  description 
)
int RNA_enum_get ( PointerRNA ptr,
const char *  name 
)

Definition at line 4210 of file rna_access.c.

References StructRNA::identifier, RNA_property_enum_get(), RNA_struct_find_property(), and PointerRNA::type.

Referenced by actkeys_columnselect_exec(), actkeys_expo_exec(), actkeys_handletype_exec(), actkeys_insertkey_exec(), actkeys_ipo_exec(), actkeys_keytype_exec(), actkeys_mirror_exec(), actkeys_paste_exec(), actkeys_select_leftright_exec(), actkeys_select_leftright_invoke(), actkeys_snap_exec(), actuator_add_exec(), align_exec(), animchannels_rearrange_exec(), animchannels_setflag_exec(), area_split_apply(), area_split_init(), area_split_menu_init(), area_split_modal(), armature_autoside_names_exec(), armature_calc_roll_exec(), armature_de_select_all_exec(), armature_merge_exec(), armature_parent_clear_exec(), armature_parent_set_exec(), armature_select_hierarchy_exec(), BL_ConvertActuators(), blend_from_shape_exec(), brush_curve_preset_exec(), brush_image_tool_set_exec(), brush_sculpt_tool_set_exec(), brush_vertex_tool_set_exec(), brush_weight_tool_set_exec(), clean_tracks_exec(), clean_tracks_invoke(), clear_track_path_exec(), console_delete_exec(), console_move_exec(), console_scrollback_append_exec(), controller_add_exec(), convert_exec(), de_select_all_exec(), delete_exec(), delete_key_exec(), delete_mesh_exec(), detect_features_exec(), disable_markers_exec(), draw_actuator_action(), draw_actuator_armature(), draw_actuator_constraint(), draw_actuator_edit_object(), draw_actuator_filter_2d(), draw_actuator_game(), draw_actuator_message(), draw_actuator_motion(), draw_actuator_parent(), draw_actuator_property(), draw_actuator_random(), draw_actuator_scene(), draw_actuator_shape_action(), draw_actuator_steering(), draw_brick_actuator(), draw_brick_controller(), draw_brick_sensor(), draw_controller_python(), draw_sensor_armature(), draw_sensor_joystick(), draw_sensor_property(), draw_sensor_ray(), ed_marker_make_links_scene_exec(), ed_marker_select_all_exec(), edge_rotate_selected(), edit_constraint_property_get(), editmesh_select_all_exec(), effector_add_exec(), face_select_all_exec(), frame_jump_exec(), game_property_copy_exec(), game_property_new(), get_enum(), BlenderSync::get_scene_params(), BlenderSync::get_session_params(), gp_convert_layer_exec(), gpencil_draw_init(), graph_fmodifier_add_exec(), graphkeys_columnselect_exec(), graphkeys_expo_exec(), graphkeys_handletype_exec(), graphkeys_insertkey_exec(), graphkeys_ipo_exec(), graphkeys_mirror_exec(), graphkeys_paste_exec(), graphkeys_select_leftright_exec(), graphkeys_select_leftright_invoke(), graphkeys_snap_exec(), group_instance_add_exec(), group_link_exec(), group_move_exec(), hide_exec(), image_sample_apply(), image_unpack_exec(), initSnapping(), initTransInfo(), insert_key_exec(), knife_cut_exec(), lattice_select_all_exec(), lock_tracks_exec(), logicbricks_move_property_get(), make_links_data_exec(), make_links_scene_exec(), make_local_exec(), make_proxy_exec(), make_single_user_exec(), mball_select_all_exec(), merge_exec(), mesh_extrude_exec(), mesh_extrude_invoke(), mesh_mirror_colors(), mesh_mirror_uvs(), mesh_rotate_colors(), mesh_rotate_uvs(), mesh_separate_exec(), mode_set_exec(), modifier_add_exec(), modifier_apply_exec(), move_exec(), move_select_exec(), new_node_tree_exec(), nla_fmodifier_add_exec(), nla_panel_properties(), nlaedit_add_actionclip_exec(), nlaedit_select_leftright_exec(), nlaedit_select_leftright_invoke(), nlaedit_snap_exec(), node_composit_buts_blur(), node_composit_buts_channel_matte(), node_composit_buts_color_spill(), node_composit_buts_colorbalance(), node_composit_buts_colorbalance_but(), node_composit_buts_glare(), node_composit_buts_image(), node_composit_buts_tonemap(), node_group_socket_add_exec(), node_group_socket_move_down_exec(), node_group_socket_move_up_exec(), node_group_socket_remove_exec(), node_shader_buts_geometry(), node_texture_buts_proc(), object_add_exec(), object_constraint_add_exec(), object_hook_assign_exec(), object_hook_recenter_exec(), object_hook_remove_exec(), object_hook_reset_exec(), object_hook_select_exec(), object_lamp_add_exec(), object_metaball_add_exec(), object_mode_set_compat(), object_mode_set_exec(), object_origin_set_exec(), object_select_all_exec(), object_select_by_type_exec(), object_select_grouped_exec(), object_select_linked_exec(), object_select_menu_exec(), object_track_clear_exec(), outliner_action_set_exec(), outliner_animdata_operation_exec(), outliner_data_operation_exec(), outliner_group_operation_exec(), outliner_id_operation_exec(), outliner_object_operation_exec(), output_toggle_exec(), parent_clear_exec(), parent_set_exec(), pe_select_all_exec(), pose_autoside_names_exec(), pose_bone_rotmode_exec(), pose_constraint_add_exec(), pose_de_select_all_exec(), pose_propagate_fcurve(), pose_select_grouped_exec(), pose_select_hierarchy_exec(), poselib_remove_exec(), redraw_timer_exec(), rule_add_exec(), scene_new_exec(), sculpt_brush_stroke_init(), sculpt_update_cache_invariants(), select_all_exec(), select_axis_exec(), select_by_number_vertices_exec(), select_groped_exec(), select_orientation_exec(), select_similar_exec(), select_vertex_path_exec(), sensor_add_exec(), sequencer_add_effect_strip_exec(), sequencer_add_effect_strip_invoke(), sequencer_add_scene_strip_exec(), sequencer_change_effect_input_exec(), sequencer_change_effect_type_exec(), sequencer_cut_exec(), sequencer_de_select_all_exec(), sequencer_select_active_side_exec(), sequencer_select_grouped_exec(), sequencer_select_handles_exec(), sequencer_swap_exec(), set_active_group_exec(), set_axis_exec(), set_case_exec(), set_handle_type_exec(), set_spline_type_exec(), set_style_exec(), shape_key_move_exec(), similar_edge_select_exec(), similar_face_select_exec(), similar_vert_select_exec(), snap_cursor_exec(), snap_selection_exec(), snap_type_exec(), sort_faces_exec(), sound_mixdown_exec(), sound_unpack_exec(), subdivide_exec(), text_convert_whitespace_exec(), text_delete_exec(), text_move_exec(), text_move_select_exec(), text_resolve_conflict_exec(), texture_paint_camera_project_exec(), texture_slot_move(), toggle_cyclic_exec(), toggle_style_exec(), track_set_exec(), transformops_data(), type_toggle_exec(), unpack_all_exec(), unwrap_exec(), uv_map_transform(), v3d_editmetaball_buts(), v3d_transform_butsR(), vert_select_all_exec(), vertex_group_lock_exec(), vgroup_move_exec(), viewnumpad_exec(), vieworbit_exec(), viewpan_exec(), weight_from_bones_exec(), and weight_sample_group_exec().

int RNA_enum_icon_from_value ( EnumPropertyItem item,
int  value,
int *  icon 
)
int RNA_enum_id_from_value ( EnumPropertyItem item,
int  value,
const char **  identifier 
)

Definition at line 4286 of file rna_access.c.

References EnumPropertyItem::identifier, and EnumPropertyItem::value.

Referenced by pyrna_prop_str().

int RNA_enum_identifier ( EnumPropertyItem item,
const int  value,
const char **  identifier 
)
int RNA_enum_is_equal ( bContext C,
PointerRNA ptr,
const char *  name,
const char *  enumname 
)
int RNA_enum_name ( EnumPropertyItem item,
const int  value,
const char **  name 
)
void RNA_enum_set ( PointerRNA ptr,
const char *  name,
int  value 
)
void RNA_enum_set_identifier ( PointerRNA ptr,
const char *  name,
const char *  id 
)
int RNA_enum_value_from_id ( EnumPropertyItem item,
const char *  identifier,
int *  value 
)
void RNA_exit ( void  )
float RNA_float_get ( PointerRNA ptr,
const char *  name 
)

Definition at line 4167 of file rna_access.c.

References StructRNA::identifier, RNA_property_float_get(), RNA_struct_find_property(), and PointerRNA::type.

Referenced by actkeys_clean_exec(), add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cylinder_exec(), add_primitive_grid_exec(), add_primitive_icosphere_exec(), add_primitive_uvsphere_exec(), area_split_apply(), backimage_zoom(), blend_from_shape_exec(), blender_camera_from_object(), brush_scale_size_exec(), clean_tracks_exec(), clean_tracks_invoke(), create_subd_mesh(), cube_project_exec(), do_set_scale(), DocumentExporter::exportCurrentScene(), extrude_repeat_mesh_exec(), get_float(), gpencil_draw_exec(), graphkeys_clean_exec(), graphkeys_click_insert_exec(), graphview_cursor_apply(), image_view_zoom_exec(), image_view_zoom_ratio_exec(), initTransform(), initTransInfo(), mesh_noise_exec(), mesh_select_random_exec(), minimize_stretch_init(), object_select_random_exec(), pack_islands_exec(), paint_apply(), pose_slide_init(), remove_doubles_exec(), removedoublesflag_exec(), sculpt_update_cache_variants(), select_linked_flat_faces_exec(), select_random_exec(), select_random_metaelems_exec(), select_sharp_edges_exec(), sequencer_view_zoom_ratio_exec(), set_goal_weight_exec(), set_radius_exec(), set_scale_invoke(), set_solution_scale_invoke(), similar_edge_select_exec(), similar_face_select_exec(), similar_vert_select_exec(), solidify_exec(), spin_mesh_exec(), stitch_exec(), subdivide_exec(), uv_map_transform(), vertex_group_clean_exec(), vertex_group_fix_exec(), vertex_group_levels_exec(), view_zoom_exec(), view_zoom_ratio_exec(), view_zoomdrag_apply(), view_zoomstep_apply(), vpaint_stroke_update_step(), weight_set_exec(), and wpaint_stroke_update_step().

void RNA_float_get_array ( PointerRNA ptr,
const char *  name,
float *  values 
)
void RNA_float_set ( PointerRNA ptr,
const char *  name,
float  value 
)
void RNA_float_set_array ( PointerRNA ptr,
const char *  name,
const float *  values 
)
int RNA_function_call ( bContext C,
ReportList reports,
PointerRNA ptr,
FunctionRNA func,
ParameterList parms 
)
int RNA_function_call_direct ( bContext C,
ReportList reports,
PointerRNA ptr,
FunctionRNA func,
const char *  format,
  ... 
)

Definition at line 4965 of file rna_access.c.

References RNA_function_call_direct_va().

int RNA_function_call_direct_lookup ( bContext C,
ReportList reports,
PointerRNA ptr,
const char *  identifier,
const char *  format,
  ... 
)

Definition at line 4979 of file rna_access.c.

References RNA_function_call_direct_va(), and RNA_struct_find_function().

int RNA_function_call_direct_va ( bContext C,
ReportList reports,
PointerRNA ptr,
FunctionRNA func,
const char *  format,
va_list  args 
)
int RNA_function_call_direct_va_lookup ( bContext C,
ReportList reports,
PointerRNA ptr,
const char *  identifier,
const char *  format,
va_list  args 
)

Definition at line 5340 of file rna_access.c.

References RNA_function_call_direct_va(), and RNA_struct_find_function().

int RNA_function_call_lookup ( bContext C,
ReportList reports,
PointerRNA ptr,
const char *  identifier,
ParameterList parms 
)

Definition at line 4953 of file rna_access.c.

References RNA_function_call(), and RNA_struct_find_function().

int RNA_function_defined ( FunctionRNA func)

Definition at line 4671 of file rna_access.c.

References FunctionRNA::call, and NULL.

Referenced by pyrna_struct_getattro().

struct ListBase* RNA_function_defined_parameters ( FunctionRNA func) [read]

Definition at line 4686 of file rna_access.c.

References FunctionRNA::cont, and ContainerRNA::properties.

Referenced by rna_function_arg_count().

PropertyRNA* RNA_function_find_parameter ( PointerRNA UNUSEDptr,
FunctionRNA func,
const char *  identifier 
)

Definition at line 4681 of file rna_access.c.

References BLI_findstring(), FunctionRNA::cont, and ContainerRNA::properties.

int RNA_function_flag ( FunctionRNA func)

Definition at line 4666 of file rna_access.c.

References FunctionRNA::flag.

Referenced by bpy_class_call(), bpy_class_validate(), and rna_function_arg_count().

static int rna_function_format_array_length ( const char *  format,
int  ofs,
int  flen 
) [static]

Definition at line 5001 of file rna_access.c.

Referenced by RNA_function_call_direct_va().

PropertyRNA* RNA_function_get_parameter ( PointerRNA UNUSEDptr,
FunctionRNA func,
int  index 
)

Definition at line 4676 of file rna_access.c.

References BLI_findlink(), FunctionRNA::cont, and ContainerRNA::properties.

const char* RNA_function_identifier ( FunctionRNA func)
static int rna_function_parameter_parse ( PointerRNA ptr,
PropertyRNA prop,
PropertyType  type,
char  ftype,
int  len,
void *  dest,
void *  src,
StructRNA srna,
const char *  tid,
const char *  fid,
const char *  pid 
) [static]
const char* RNA_function_ui_description ( FunctionRNA func)

Definition at line 4661 of file rna_access.c.

References FunctionRNA::description.

void RNA_id_pointer_create ( ID id,
PointerRNA r_ptr 
)

Definition at line 111 of file rna_access.c.

References PointerRNA::data, PointerRNA::id, NULL, StructRNA::refine, rna_ID_refine(), and PointerRNA::type.

Referenced by acf_generic_idblock_nameprop(), acf_generic_idfill_nameprop(), achannel_setting_slider_cb(), achannel_setting_slider_shapekey_cb(), act_new_exec(), action_get_item_transforms(), ANIM_add_driver(), ANIM_apply_keyingset(), ANIM_channel_draw_widgets(), ANIM_copy_driver(), ANIM_list_elem_update(), ANIM_paste_driver(), ANIM_relative_keyingset_add_source(), ANIM_unit_mapping_get_factor(), BKE_animsys_evaluate_animdata(), BL_Action::BL_Action(), BL_ShapeActionActuator::BL_ShapeActionActuator(), bpy_app_generic_callback(), bpy_lib_exit(), buttons_context_path(), buttons_context_path_brush(), buttons_context_path_data(), buttons_context_path_material(), buttons_context_path_object(), buttons_context_path_texture(), buttons_context_path_world(), check_rna_path_is_valid(), create_func(), CTX_data_id_list_add(), CTX_data_id_pointer_set(), delete_keyframe(), draw_gpencil_panel(), dtar_get_prop_val(), DocumentExporter::exportCurrentScene(), DocumentImporter::finish(), font_open_exec(), font_unlink_exec(), getname_anim_fcurve(), gpencil_data_get_pointers(), graph_panel_driverVar__singleProp(), graph_panel_key_properties(), graph_panel_view(), id_search_call_cb(), id_search_cb(), id_single_user(), image_new_exec(), image_open_exec(), insert_keyframe(), new_material_exec(), new_node_tree_exec(), new_texture_exec(), new_world_exec(), object_to_mesh(), open_exec(), pastebuf_match_path_property(), pose_armature_layers_exec(), pose_armature_layers_invoke(), pose_armature_layers_showall_exec(), pose_propagate_get_refVal(), poselib_preview_init_data(), pyrna_param_to_py(), pyrna_struct_get_id_data(), rna_path_from_ID_to_idpgroup(), RNA_path_from_ID_to_struct(), RNA_pointer_recast(), RNA_property_path_from_ID_check(), text_new_exec(), text_open_exec(), uiIconFromID(), view3d_panel_object(), and what_does_obaction().

static char* rna_idp_path ( PointerRNA ptr,
IDProperty haystack,
IDProperty needle,
IDP_Chain parent_link 
) [static]
static char* rna_idp_path_create ( IDP_Chain child_link) [static]
IDProperty* rna_idproperty_check ( PropertyRNA **  prop,
PointerRNA ptr 
) [read]
static IDProperty* rna_idproperty_find ( PointerRNA ptr,
const char *  name 
) [static]

Definition at line 274 of file rna_access.c.

References IDP_GetPropertyFromGroup(), NULL, and RNA_struct_idprops().

Referenced by rna_idproperty_check(), and RNA_property_is_set().

static void rna_idproperty_touch ( IDProperty idprop) [static]
IDProperty* rna_idproperty_ui ( PropertyRNA prop)
static int rna_idproperty_verify_valid ( PointerRNA ptr,
PropertyRNA prop,
IDProperty idprop 
) [static]
void RNA_init ( void  )
int RNA_int_get ( PointerRNA ptr,
const char *  name 
)

Definition at line 4124 of file rna_access.c.

References StructRNA::identifier, RNA_property_int_get(), RNA_struct_find_property(), and PointerRNA::type.

Referenced by actionzone_apply(), actkeys_borderselect_exec(), add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cylinder_exec(), add_primitive_grid_exec(), add_primitive_icosphere_exec(), add_primitive_uvsphere_exec(), animchannels_borderselect_exec(), area_join_init(), area_move_apply(), area_move_init(), area_move_modal(), area_split_invoke(), armature_subdivide_exec(), background_image_remove_exec(), blender_camera_from_object(), bookmark_delete_exec(), border_select_exec(), borderselect_exec(), change_character_exec(), change_frame_apply(), change_spacing_exec(), circle_select_exec(), clean_tracks_exec(), clean_tracks_invoke(), console_history_append_exec(), detect_features_exec(), draw_controller_header(), ED_fileselect_set_params(), ed_marker_border_select_exec(), ed_marker_move_apply(), extrude_repeat_mesh_exec(), file_border_select_exec(), file_border_select_modal(), file_filenum_exec(), frame_offset_exec(), game_property_remove(), gesture_circle_apply(), get_int(), graphkeys_borderselect_exec(), graphview_cursor_apply(), image_new_exec(), image_sample_line_exec(), keyingset_active_menu_exec(), knife_cut_exec(), mesh_select_nth_exec(), minimize_stretch_exec(), minimize_stretch_init(), nlaedit_borderselect_exec(), node_borderselect_exec(), node_group_socket_move_down_exec(), node_group_socket_move_up_exec(), node_group_socket_remove_exec(), node_select_exec(), object_select_by_layer_exec(), pose_group_assign_exec(), pose_slide_init(), poselib_add_exec(), poselib_preview_init_data(), poselib_remove_exec(), poselib_rename_exec(), previewrange_define_exec(), redraw_timer_exec(), rekey_exec(), render_border_exec(), repeat_history_exec(), ringcut_modal(), ringsel_finish(), screen_set_exec(), screw_mesh_exec(), select_nth_exec(), select_report_pick_exec(), seq_load_operator_info(), sequencer_add_effect_strip_exec(), sequencer_add_scene_strip_exec(), sequencer_borderselect_exec(), sequencer_cut_exec(), sequencer_separate_images_exec(), sequencer_snap_exec(), smooth_vertex_exec(), sound_mixdown_exec(), spin_mesh_exec(), subdivide_exec(), text_cursor_set_exec(), text_jump_exec(), text_scroll_exec(), textbox_remove_exec(), undo_history_exec(), view3d_borderselect_exec(), view3d_circle_select_exec(), view3d_clipping_exec(), view3d_layers_exec(), view3d_layers_invoke(), view3d_zoom_border_exec(), view_borderzoom_exec(), view_ghost_border_exec(), view_pan_apply(), viewdolly_exec(), viewzoom_exec(), wm_debug_menu_exec(), WM_gesture_lasso_invoke(), WM_gesture_lines_invoke(), and WM_gesture_straightline_invoke().

void RNA_int_get_array ( PointerRNA ptr,
const char *  name,
int *  values 
)
void RNA_int_set ( PointerRNA ptr,
const char *  name,
int  value 
)
void RNA_int_set_array ( PointerRNA ptr,
const char *  name,
const int *  values 
)
void rna_iterator_array_begin ( CollectionPropertyIterator iter,
void *  ptr,
int  itemsize,
int  length,
int  free_ptr,
IteratorSkipFunc  skip 
)
void* rna_iterator_array_dereference_get ( CollectionPropertyIterator iter)

Definition at line 3448 of file rna_access.c.

References CollectionPropertyIterator::internal.

void rna_iterator_array_end ( CollectionPropertyIterator iter)

Definition at line 3456 of file rna_access.c.

References CollectionPropertyIterator::internal, MEM_freeN(), and NULL.

Referenced by RNA_property_collection_end().

void* rna_iterator_array_get ( CollectionPropertyIterator iter)

Definition at line 3441 of file rna_access.c.

References CollectionPropertyIterator::internal.

Referenced by rna_property_collection_get_idp().

void rna_iterator_array_next ( CollectionPropertyIterator iter)
void rna_iterator_listbase_begin ( CollectionPropertyIterator iter,
ListBase lb,
IteratorSkipFunc  skip 
)
void rna_iterator_listbase_end ( CollectionPropertyIterator iter)

Definition at line 3387 of file rna_access.c.

References CollectionPropertyIterator::internal, MEM_freeN(), and NULL.

void* rna_iterator_listbase_get ( CollectionPropertyIterator iter)

Definition at line 3380 of file rna_access.c.

References CollectionPropertyIterator::internal.

void rna_iterator_listbase_next ( CollectionPropertyIterator iter)
PointerRNA rna_listbase_lookup_int ( PointerRNA ptr,
StructRNA type,
struct ListBase lb,
int  index 
)

Definition at line 3393 of file rna_access.c.

References BLI_findlink(), data, and rna_pointer_inherit_refine().

void RNA_main_pointer_create ( struct Main main,
PointerRNA r_ptr 
)
void RNA_parameter_get ( ParameterList parms,
PropertyRNA parm,
void **  value 
)
void RNA_parameter_get_lookup ( ParameterList parms,
const char *  identifier,
void **  value 
)
int RNA_parameter_length_get ( ParameterList parms,
PropertyRNA parm 
)
int RNA_parameter_length_get_data ( ParameterList UNUSEDparms,
PropertyRNA UNUSEDparm,
void *  data 
)

Definition at line 4932 of file rna_access.c.

References data.

Referenced by RNA_parameter_length_get().

void RNA_parameter_length_set ( ParameterList parms,
PropertyRNA parm,
int  length 
)
void RNA_parameter_length_set_data ( ParameterList UNUSEDparms,
PropertyRNA UNUSEDparm,
void *  data,
int  length 
)

Definition at line 4937 of file rna_access.c.

References length().

Referenced by RNA_parameter_length_set().

int RNA_parameter_list_arg_count ( ParameterList parms)

Definition at line 4794 of file rna_access.c.

References ParameterList::arg_count.

Referenced by pyrna_func_call().

void RNA_parameter_list_begin ( ParameterList parms,
ParameterIterator iter 
)
ParameterList* RNA_parameter_list_create ( ParameterList parms,
PointerRNA UNUSEDptr,
FunctionRNA func 
)
void RNA_parameter_list_end ( ParameterIterator UNUSEDiter)
void RNA_parameter_list_free ( ParameterList parms)
void RNA_parameter_list_next ( ParameterIterator iter)
int RNA_parameter_list_ret_count ( ParameterList parms)

Definition at line 4799 of file rna_access.c.

References ParameterList::ret_count.

int RNA_parameter_list_size ( ParameterList parms)

Definition at line 4789 of file rna_access.c.

References ParameterList::alloc_size.

void RNA_parameter_set ( ParameterList parms,
PropertyRNA parm,
const void *  value 
)
void RNA_parameter_set_lookup ( ParameterList parms,
const char *  identifier,
const void *  value 
)
char* RNA_path_append ( const char *  path,
PointerRNA UNUSEDptr,
PropertyRNA prop,
int  intkey,
const char *  strkey 
)
char* RNA_path_back ( const char *  path)

Definition at line 3829 of file rna_access.c.

References BLI_strdup(), i, MEM_freeN(), NULL, and rna_path_token().

static char* rna_path_from_ID_to_idpgroup ( PointerRNA ptr) [static]
char* RNA_path_from_ID_to_property ( PointerRNA ptr,
PropertyRNA prop 
)
char* RNA_path_from_ID_to_struct ( PointerRNA ptr)
int RNA_path_resolve ( PointerRNA ptr,
const char *  path,
PointerRNA r_ptr,
PropertyRNA **  r_prop 
)
int RNA_path_resolve_full ( PointerRNA ptr,
const char *  path,
PointerRNA r_ptr,
PropertyRNA **  r_prop,
int *  index 
)
static char* rna_path_token ( const char **  path,
char *  fixedbuf,
int  fixedlen,
int  bracket 
) [static]

Definition at line 3478 of file rna_access.c.

References i, len(), MEM_callocN(), NULL, and p.

Referenced by RNA_path_back(), and RNA_path_resolve_full().

void RNA_pointer_add ( PointerRNA ptr,
const char *  name 
)
char* RNA_pointer_as_string ( bContext C,
PointerRNA ptr 
)
void RNA_pointer_create ( ID id,
StructRNA type,
void *  data,
PointerRNA r_ptr 
)

Definition at line 135 of file rna_access.c.

References data, PointerRNA::data, PointerRNA::id, NULL, StructRNA::refine, rna_ID_refine(), and PointerRNA::type.

Referenced by acf_gpl_name_prop(), acf_group_name_prop(), acf_shapekey_nameprop(), action_get_item_transforms(), active_node_panel(), actuator_add_exec(), ANIM_relative_keyingset_add_source(), ANIM_uiTemplate_fmodifier_draw(), armature_bone_layers_exec(), BKE_nlameta_flush_transforms(), BL_ConvertActuators(), bpy_class_call(), BPy_init_modules(), buttons_context_path_bone(), buttons_context_path_particle(), buttons_context_path_pose_bone(), buttons_texture_modifier_foreach(), buttons_texture_users_find_nodetree(), buttons_texture_users_from_context(), colorband_buttons_large(), colorband_buttons_small(), controller_add_exec(), create_func(), CTX_data_list_add(), CTX_data_pointer_set(), draw_actuator_action(), draw_actuator_armature(), draw_actuator_message(), draw_actuator_motion(), draw_actuator_property(), draw_actuator_random(), draw_actuator_shape_action(), draw_actuator_state(), draw_constraint(), draw_modifier(), draw_modifier__cycles(), draw_modifier__envelope(), draw_modifier__fn_generator(), draw_modifier__generator(), draw_modifier__limits(), draw_modifier__noise(), draw_modifier__stepped(), draw_sensor_actuator(), draw_sensor_armature(), draw_sensor_keyboard(), draw_sensor_property(), fcurves_to_pchan_links_get(), get_driver_path_hack(), gp_drawui_layer(), gpencil_data_get_pointers(), graph_panel_drivers(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), graph_panel_key_properties(), graph_panel_properties(), graph_panel_view(), id_data_find_fcurve(), image_panel_curves(), image_save_as_draw(), key_get_curValue_rnaPath(), logic_buttons(), logic_buttons_new(), menu_add_shortcut(), menu_change_shortcut(), nla_panel_context(), nlaedit_clear_scale_exec(), nlastrip_evaluate_controls(), node_animation_properties(), node_composit_buts_file_output(), node_draw_basis(), node_draw_group(), node_group_make_from_selected(), node_group_ungroup(), node_socket_button_color(), node_socket_button_components(), node_socket_button_default(), node_texture_buts_proc(), node_update_basis(), operator_enum_search_cb(), operator_wrapper(), outliner_build_tree(), outliner_draw_restrictbuts(), pose_bone_layers_exec(), pose_slide_apply_props(), pyop_as_string(), pyop_getinstance(), PYOP_wrap_macro_define(), pyrna_dir_members_rna(), pyrna_func_call(), pyrna_param_to_py(), pyrna_py_to_prop(), pyrna_srna_contains_pointer_prop_srna(), pyrna_struct_driver_add(), pyrna_struct_get_rna_type(), pyrna_subtype_set_rna(), radial_control_get_properties(), recalcData_nla(), BlenderSession::render(), RNA_function_call_direct_va(), rna_function_parameter_parse(), RNA_property_update_cache_add(), rna_raw_access(), RNA_struct_find_function(), sensor_add_exec(), sequencer_change_path_exec(), toolbox_invoke(), ui_menu_enumpropname(), ui_node_draw_input(), ui_node_draw_node(), uiItemsFullEnumO(), uiLayoutOperatorButs(), uiTemplateHeader3D(), uiTemplatePreview(), v3d_editarmature_buts(), v3d_editmetaball_buts(), v3d_editvertex_buts(), v3d_posearmature_buts(), wm_operator_create(), WM_operator_properties_create(), and WM_operator_properties_create_ptr().

PointerRNA RNA_pointer_get ( PointerRNA ptr,
const char *  name 
)
static void rna_pointer_inherit_id ( StructRNA type,
PointerRNA parent,
PointerRNA ptr 
) [static]
PointerRNA rna_pointer_inherit_refine ( PointerRNA ptr,
StructRNA type,
void *  data 
)
void RNA_pointer_recast ( PointerRNA ptr,
PointerRNA r_ptr 
)
void RNA_pointer_set ( PointerRNA ptr,
const char *  name,
PointerRNA  ptr_value 
)
int RNA_property_animateable ( PointerRNA ptr,
PropertyRNA prop 
)
int RNA_property_animated ( PointerRNA UNUSEDptr,
PropertyRNA UNUSEDprop 
)

Definition at line 1412 of file rna_access.c.

int RNA_property_array_check ( PropertyRNA prop)
int RNA_property_array_dimension ( PointerRNA ptr,
PropertyRNA prop,
int  length[] 
)
char RNA_property_array_item_char ( PropertyRNA prop,
int  index 
)
int RNA_property_array_item_index ( PropertyRNA prop,
char  name 
)
int RNA_property_array_length ( PointerRNA ptr,
PropertyRNA prop 
)
char* RNA_property_as_string ( bContext C,
PointerRNA ptr,
PropertyRNA prop 
)
int RNA_property_boolean_get ( PointerRNA ptr,
PropertyRNA prop 
)
void RNA_property_boolean_get_array ( PointerRNA ptr,
PropertyRNA prop,
int *  values 
)
int RNA_property_boolean_get_default ( PointerRNA UNUSEDptr,
PropertyRNA prop 
)
void RNA_property_boolean_get_default_array ( PointerRNA UNUSEDptr,
PropertyRNA prop,
int *  values 
)
int RNA_property_boolean_get_default_index ( PointerRNA ptr,
PropertyRNA prop,
int  index 
)
int RNA_property_boolean_get_index ( PointerRNA ptr,
PropertyRNA prop,
int  index 
)
void RNA_property_boolean_set ( PointerRNA ptr,
PropertyRNA prop,
int  value 
)
void RNA_property_boolean_set_array ( PointerRNA ptr,
PropertyRNA prop,
const int *  values 
)
void RNA_property_boolean_set_index ( PointerRNA ptr,
PropertyRNA prop,
int  index,
int  value 
)
void RNA_property_collection_add ( PointerRNA ptr,
PropertyRNA prop,
PointerRNA r_ptr 
)
int RNA_property_collection_assign_int ( PointerRNA ptr,
PropertyRNA prop,
const int  key,
const PointerRNA assign_ptr 
)
void RNA_property_collection_begin ( PointerRNA ptr,
PropertyRNA prop,
CollectionPropertyIterator iter 
)
void RNA_property_collection_clear ( PointerRNA ptr,
PropertyRNA prop 
)
void RNA_property_collection_end ( CollectionPropertyIterator iter)
static void rna_property_collection_get_idp ( CollectionPropertyIterator iter) [static]
int RNA_property_collection_length ( PointerRNA ptr,
PropertyRNA prop 
)
int RNA_property_collection_lookup_index ( PointerRNA ptr,
PropertyRNA prop,
PointerRNA t_ptr 
)
int RNA_property_collection_lookup_int ( PointerRNA ptr,
PropertyRNA prop,
int  key,
PointerRNA r_ptr 
)
int RNA_property_collection_lookup_string ( PointerRNA ptr,
PropertyRNA prop,
const char *  key,
PointerRNA r_ptr 
)
int RNA_property_collection_move ( PointerRNA ptr,
PropertyRNA prop,
int  key,
int  pos 
)
void RNA_property_collection_next ( CollectionPropertyIterator iter)
int RNA_property_collection_raw_array ( PointerRNA ptr,
PropertyRNA prop,
PropertyRNA itemprop,
RawArray array 
)
int RNA_property_collection_raw_get ( ReportList reports,
PointerRNA ptr,
PropertyRNA prop,
const char *  propname,
void *  array,
RawPropertyType  type,
int  len 
)

Definition at line 3337 of file rna_access.c.

References rna_raw_access().

Referenced by foreach_getset().

int RNA_property_collection_raw_set ( ReportList reports,
PointerRNA ptr,
PropertyRNA prop,
const char *  propname,
void *  array,
RawPropertyType  type,
int  len 
)

Definition at line 3342 of file rna_access.c.

References rna_raw_access().

Referenced by foreach_getset().

int RNA_property_collection_remove ( PointerRNA ptr,
PropertyRNA prop,
int  key 
)
int RNA_property_collection_type_get ( PointerRNA ptr,
PropertyRNA prop,
PointerRNA r_ptr 
)
int RNA_property_copy ( PointerRNA ptr,
PointerRNA fromptr,
PropertyRNA prop,
int  index 
)
const char* RNA_property_description ( PropertyRNA prop)

Definition at line 781 of file rna_access.c.

References rna_ensure_property_description().

Referenced by ui_tooltip_create(), and uiItemMenuEnumR().

int RNA_property_editable ( PointerRNA ptr,
PropertyRNA prop 
)
int RNA_property_editable_flag ( PointerRNA ptr,
PropertyRNA prop 
)
int RNA_property_editable_index ( PointerRNA ptr,
PropertyRNA prop,
int  index 
)
int RNA_property_enum_bitflag_identifiers ( bContext C,
PointerRNA ptr,
PropertyRNA prop,
const int  value,
const char **  identifier 
)
int RNA_property_enum_get ( PointerRNA ptr,
PropertyRNA prop 
)
int RNA_property_enum_get_default ( PointerRNA UNUSEDptr,
PropertyRNA prop 
)

Definition at line 2488 of file rna_access.c.

References BLI_assert, EnumPropertyRNA::defaultvalue, PROP_ENUM, and RNA_property_type().

Referenced by RNA_property_reset().

int RNA_property_enum_identifier ( bContext C,
PointerRNA ptr,
PropertyRNA prop,
const int  value,
const char **  identifier 
)
void RNA_property_enum_items ( bContext C,
PointerRNA ptr,
PropertyRNA prop,
EnumPropertyItem **  item,
int *  totitem,
int *  free 
)
void RNA_property_enum_items_gettexted ( bContext C,
PointerRNA ptr,
PropertyRNA prop,
EnumPropertyItem **  item,
int *  totitem,
int *  free 
)
int RNA_property_enum_name ( bContext C,
PointerRNA ptr,
PropertyRNA prop,
const int  value,
const char **  name 
)
void* RNA_property_enum_py_data_get ( PropertyRNA prop)

Definition at line 2497 of file rna_access.c.

References BLI_assert, PROP_ENUM, EnumPropertyRNA::py_data, and RNA_property_type().

Referenced by bpy_props_enum_itemf().

void RNA_property_enum_set ( PointerRNA ptr,
PropertyRNA prop,
int  value 
)
int RNA_property_enum_value ( bContext C,
PointerRNA ptr,
PropertyRNA prop,
const char *  identifier,
int *  value 
)
int RNA_property_flag ( PropertyRNA prop)
int RNA_property_float_clamp ( PointerRNA ptr,
PropertyRNA prop,
float *  value 
)
float RNA_property_float_get ( PointerRNA ptr,
PropertyRNA prop 
)
void RNA_property_float_get_array ( PointerRNA ptr,
PropertyRNA prop,
float *  values 
)
void RNA_property_float_get_array_range ( PointerRNA ptr,
PropertyRNA prop,
float  values[2] 
)
float RNA_property_float_get_default ( PointerRNA UNUSEDptr,
PropertyRNA prop 
)
void RNA_property_float_get_default_array ( PointerRNA UNUSEDptr,
PropertyRNA prop,
float *  values 
)
float RNA_property_float_get_default_index ( PointerRNA ptr,
PropertyRNA prop,
int  index 
)
float RNA_property_float_get_index ( PointerRNA ptr,
PropertyRNA prop,
int  index 
)
void RNA_property_float_range ( PointerRNA ptr,
PropertyRNA prop,
float *  hardmin,
float *  hardmax 
)
void RNA_property_float_set ( PointerRNA ptr,
PropertyRNA prop,
float  value 
)
void RNA_property_float_set_array ( PointerRNA ptr,
PropertyRNA prop,
const float *  values 
)
void RNA_property_float_set_index ( PointerRNA ptr,
PropertyRNA prop,
int  index,
float  value 
)
void RNA_property_float_ui_range ( PointerRNA ptr,
PropertyRNA prop,
float *  softmin,
float *  softmax,
float *  step,
float *  precision 
)
const char* RNA_property_identifier ( PropertyRNA prop)
int RNA_property_int_clamp ( PointerRNA ptr,
PropertyRNA prop,
int *  value 
)

Definition at line 1073 of file rna_access.c.

References max, min, and RNA_property_int_range().

Referenced by pyrna_py_to_prop(), and pyrna_py_to_prop_array_index().

int RNA_property_int_get ( PointerRNA ptr,
PropertyRNA prop 
)
void RNA_property_int_get_array ( PointerRNA ptr,
PropertyRNA prop,
int *  values 
)
void RNA_property_int_get_array_range ( PointerRNA ptr,
PropertyRNA prop,
int  values[2] 
)
int RNA_property_int_get_default ( PointerRNA UNUSEDptr,
PropertyRNA prop 
)

Definition at line 1994 of file rna_access.c.

References IntPropertyRNA::defaultvalue.

Referenced by RNA_property_reset().

void RNA_property_int_get_default_array ( PointerRNA UNUSEDptr,
PropertyRNA prop,
int *  values 
)
int RNA_property_int_get_default_index ( PointerRNA ptr,
PropertyRNA prop,
int  index 
)
int RNA_property_int_get_index ( PointerRNA ptr,
PropertyRNA prop,
int  index 
)
void RNA_property_int_range ( PointerRNA ptr,
PropertyRNA prop,
int *  hardmin,
int *  hardmax 
)
void RNA_property_int_set ( PointerRNA ptr,
PropertyRNA prop,
int  value 
)
void RNA_property_int_set_array ( PointerRNA ptr,
PropertyRNA prop,
const int *  values 
)
void RNA_property_int_set_index ( PointerRNA ptr,
PropertyRNA prop,
int  index,
int  value 
)
void RNA_property_int_ui_range ( PointerRNA ptr,
PropertyRNA prop,
int *  softmin,
int *  softmax,
int *  step 
)
int RNA_property_is_idprop ( PropertyRNA prop)

Definition at line 4463 of file rna_access.c.

References PropertyRNA::magic, and RNA_MAGIC.

int RNA_property_is_set ( PointerRNA ptr,
PropertyRNA prop 
)
int RNA_property_multi_array_length ( PointerRNA ptr,
PropertyRNA prop,
int  dim 
)
int RNA_property_path_from_ID_check ( PointerRNA ptr,
PropertyRNA prop 
)
void RNA_property_pointer_add ( PointerRNA ptr,
PropertyRNA prop 
)
PointerRNA RNA_property_pointer_get ( PointerRNA ptr,
PropertyRNA prop 
)
PointerRNA RNA_property_pointer_get_default ( PointerRNA UNUSEDptr,
PropertyRNA UNUSEDprop 
)

Definition at line 2555 of file rna_access.c.

References PointerRNA_NULL.

Referenced by RNA_property_reset().

int RNA_property_pointer_poll ( PointerRNA ptr,
PropertyRNA prop,
PointerRNA value 
)
void RNA_property_pointer_remove ( PointerRNA ptr,
PropertyRNA prop 
)
void RNA_property_pointer_set ( PointerRNA ptr,
PropertyRNA prop,
PointerRNA  ptr_value 
)
StructRNA* RNA_property_pointer_type ( PointerRNA ptr,
PropertyRNA prop 
)
void* RNA_property_py_data_get ( PropertyRNA prop)

Definition at line 806 of file rna_access.c.

References PropertyRNA::py_data.

Referenced by bpy_prop_update_cb().

RawPropertyType RNA_property_raw_type ( PropertyRNA prop)
int RNA_property_reset ( PointerRNA ptr,
PropertyRNA prop,
int  index 
)
int RNA_property_string_default_length ( PointerRNA UNUSEDptr,
PropertyRNA prop 
)
void RNA_property_string_get ( PointerRNA ptr,
PropertyRNA prop,
char *  value 
)
char* RNA_property_string_get_alloc ( PointerRNA ptr,
PropertyRNA prop,
char *  fixedbuf,
int  fixedlen,
int *  r_len 
)
void RNA_property_string_get_default ( PointerRNA UNUSEDptr,
PropertyRNA prop,
char *  value 
)
char* RNA_property_string_get_default_alloc ( PointerRNA ptr,
PropertyRNA prop,
char *  fixedbuf,
int  fixedlen 
)
int RNA_property_string_length ( PointerRNA ptr,
PropertyRNA prop 
)
int RNA_property_string_maxlength ( PropertyRNA prop)

Definition at line 1094 of file rna_access.c.

References StringPropertyRNA::maxlength, and rna_ensure_property().

Referenced by RNA_property_string_set(), and ui_def_but_rna().

void RNA_property_string_set ( PointerRNA ptr,
PropertyRNA prop,
const char *  value 
)
PropertySubType RNA_property_subtype ( PropertyRNA prop)
PropertyType RNA_property_type ( PropertyRNA prop)

Definition at line 786 of file rna_access.c.

References rna_ensure_property(), and PropertyRNA::type.

Referenced by ANIM_add_driver(), animsys_write_rna_setting(), dtar_get_prop_val(), eyedropper_sample(), foreach_parse_args(), id_search_cb(), insert_keyframe_direct(), list_item_row(), nladata_flush_channels(), node_composit_buts_image(), operator_enum_search_cb(), outliner_draw_rnabuts(), pose_propagate_get_refVal(), pose_slide_apply_props(), prop_subscript_ass_array_slice(), pyrna_array_contains_py(), pyrna_array_index(), pyrna_math_object_from_array(), pyrna_param_to_py(), pyrna_prop_array_subscript_slice(), pyrna_prop_CreatePyObject(), pyrna_prop_dir(), pyrna_prop_str(), pyrna_prop_to_py(), pyrna_py_to_array(), pyrna_py_to_array_index(), pyrna_py_to_prop(), pyrna_py_to_prop_array_index(), pyrna_srna_contains_pointer_prop_srna(), radial_control_get_path(), radial_control_invoke(), RNA_function_call_direct_va(), RNA_path_append(), RNA_path_resolve_full(), RNA_property_as_string(), RNA_property_boolean_get(), RNA_property_boolean_get_array(), RNA_property_boolean_get_default(), RNA_property_boolean_get_default_array(), RNA_property_boolean_get_default_index(), RNA_property_boolean_get_index(), RNA_property_boolean_set(), RNA_property_boolean_set_array(), RNA_property_boolean_set_index(), RNA_property_collection_add(), RNA_property_collection_assign_int(), RNA_property_collection_begin(), RNA_property_collection_clear(), RNA_property_collection_length(), RNA_property_collection_lookup_index(), RNA_property_collection_lookup_int(), RNA_property_collection_lookup_string(), RNA_property_collection_move(), RNA_property_collection_raw_array(), RNA_property_collection_remove(), RNA_property_collection_type_get(), RNA_property_copy(), RNA_property_enum_get(), RNA_property_enum_get_default(), RNA_property_enum_py_data_get(), RNA_property_enum_set(), RNA_property_float_get(), RNA_property_float_get_array(), RNA_property_float_get_default(), RNA_property_float_get_default_array(), RNA_property_float_get_default_index(), RNA_property_float_get_index(), RNA_property_float_set(), RNA_property_float_set_array(), RNA_property_float_set_index(), RNA_property_int_get(), RNA_property_int_get_array(), RNA_property_int_get_default_array(), RNA_property_int_get_index(), RNA_property_int_set(), RNA_property_int_set_array(), RNA_property_int_set_index(), RNA_property_pointer_add(), RNA_property_pointer_get(), RNA_property_pointer_remove(), RNA_property_pointer_set(), RNA_property_reset(), RNA_property_string_default_length(), RNA_property_string_get(), RNA_property_string_get_alloc(), RNA_property_string_get_default(), RNA_property_string_get_default_alloc(), RNA_property_string_length(), RNA_property_string_set(), rna_raw_access(), rna_search_cb(), search_id_collection(), setting_get_rna_value(), template_keymap_item_properties(), tree_element_to_path(), ui_but_add_search(), ui_but_search_test(), ui_def_but_rna(), ui_get_but_string(), ui_get_but_val(), ui_get_but_vectorf(), ui_is_but_float(), ui_item_array(), ui_item_rna_size(), ui_item_with_label(), ui_popup_menu_create(), ui_set_but_soft_range(), ui_set_but_string(), ui_set_but_val(), ui_set_but_vectorf(), ui_template_id(), ui_tooltip_create(), uiDefAutoButR(), uiDefAutoButsRNA(), uiFileBrowseContextProperty(), uiItemEnumR(), uiItemEnumR_string(), uiItemFullR(), uiItemPointerR(), uiItemsEnumR(), uiItemsFullEnumO(), uiTemplateAnyID(), uiTemplateColorRamp(), uiTemplateCurveMapping(), uiTemplateHistogram(), uiTemplateImage(), uiTemplateList(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplatePathBuilder(), uiTemplateTrack(), uiTemplateVectorscope(), uiTemplateWaveform(), validate_array(), WM_menu_invoke(), and WM_operator_properties_sanitize().

const char* RNA_property_ui_description ( PropertyRNA prop)

Definition at line 1348 of file rna_access.c.

References rna_ensure_property_description().

Referenced by ui_def_but_rna().

int RNA_property_ui_icon ( PropertyRNA prop)

Definition at line 1353 of file rna_access.c.

References PropertyRNA::icon, and rna_ensure_property().

Referenced by ui_def_but_rna(), and uiItemFullR().

const char* RNA_property_ui_name ( PropertyRNA prop)
PropertyUnit RNA_property_unit ( PropertyRNA prop)

Definition at line 796 of file rna_access.c.

References rna_ensure_property(), and RNA_SUBTYPE_UNIT.

static void rna_property_update ( bContext C,
Main bmain,
Scene scene,
PointerRNA ptr,
PropertyRNA prop 
) [static]
void RNA_property_update ( bContext C,
PointerRNA ptr,
PropertyRNA prop 
)
void RNA_property_update_cache_add ( PointerRNA ptr,
PropertyRNA prop 
)
void RNA_property_update_cache_flush ( Main bmain,
Scene scene 
)
void RNA_property_update_cache_free ( void  )
int RNA_property_update_check ( PropertyRNA prop)
void RNA_property_update_main ( Main bmain,
Scene scene,
PointerRNA ptr,
PropertyRNA prop 
)

Definition at line 1489 of file rna_access.c.

References NULL, and rna_property_update().

Referenced by ANIM_list_elem_update().

static int rna_raw_access ( ReportList reports,
PointerRNA ptr,
PropertyRNA prop,
const char *  propname,
void *  inarray,
RawPropertyType  intype,
int  inlen,
int  set 
) [static]
int RNA_raw_type_sizeof ( RawPropertyType  type)
void RNA_string_get ( PointerRNA ptr,
const char *  name,
char *  value 
)

Definition at line 4310 of file rna_access.c.

References StructRNA::identifier, RNA_property_string_get(), RNA_struct_find_property(), and PointerRNA::type.

Referenced by actuator_add_exec(), add_named_exec(), armature_bone_primitive_add_exec(), background_image_add_invoke(), blend_save_check(), bookmark_select_exec(), controller_add_exec(), create_orientation_exec(), drop_named_image_invoke(), drop_named_material_invoke(), ED_fileselect_set_params(), ed_marker_rename_exec(), ed_undo_push_exec(), edit_actuator_property_get(), edit_constraint_property_get(), edit_controller_property_get(), edit_modifier_property_get(), edit_object_property_get(), edit_sensor_property_get(), envmap_save_exec(), file_directory_new_exec(), font_open_exec(), game_property_new(), group_create_exec(), image_new_exec(), image_open_exec(), image_replace_exec(), image_save_as_check(), image_unpack_exec(), multires_external_save_exec(), new_node_tree_exec(), node_add_file_exec(), node_composit_buts_renderlayers(), node_group_socket_add_exec(), object_select_same_group_exec(), open_exec(), poselib_add_exec(), poselib_rename_exec(), run_pyfile_exec(), save_image_options_from_op(), screen_render_scene_layer_set(), screenshot_exec(), sensor_add_exec(), seq_load_operator_info(), sequencer_add_effect_strip_exec(), sequencer_add_generic_strip_exec(), sequencer_change_path_exec(), sound_mixdown_exec(), sound_unpack_exec(), text_open_exec(), text_save_as_exec(), texture_paint_image_from_view_exec(), wm_call_menu_exec(), wm_link_append_exec(), wm_open_mainfile_exec(), wm_recover_auto_save_exec(), and wm_save_as_mainfile_exec().

char* RNA_string_get_alloc ( PointerRNA ptr,
const char *  name,
char *  fixedbuf,
int  fixedlen 
)
int RNA_string_length ( PointerRNA ptr,
const char *  name 
)
void RNA_string_set ( PointerRNA ptr,
const char *  name,
const char *  value 
)

Definition at line 4349 of file rna_access.c.

References StructRNA::identifier, RNA_property_string_set(), RNA_struct_find_property(), and PointerRNA::type.

Referenced by blend_save_check(), clip_filesel(), clip_keymap(), console_insert_invoke(), console_keymap(), ED_keymap_anim(), ED_keymap_paint(), ed_keymap_paint_brush_switch(), ED_keymap_uvedit(), ed_marker_rename_invoke_wrapper(), ED_object_generic_keymap(), edit_actuator_invoke_properties(), edit_constraint_invoke_properties(), edit_controller_invoke_properties(), edit_modifier_invoke_properties(), edit_sensor_invoke_properties(), envmap_save_invoke(), file_browse_invoke(), file_panel_cb(), file_sfile_to_operator(), ghost_event_proc(), graphedit_keymap_keyframes(), id_drop_copy(), image_drop_copy(), image_filesel(), image_save_as_check(), insert_text_invoke(), keymap_particle(), multires_external_save_invoke(), node_composit_buts_renderlayers(), node_id_path_drop_copy(), node_render_changed_exec(), open_file_drop_copy(), open_invoke(), path_drop_copy(), poselib_add_menu_invoke__replacemenu(), poselib_rename_invoke(), save_image_options_to_op(), screenshot_invoke(), script_keymap(), sequencer_change_path_invoke(), sequencer_drop_copy(), sequencer_generic_invoke_path__internal(), sequencer_keymap(), set_brush_rc_path(), set_brush_rc_props(), text_drop_copy(), text_insert_invoke(), text_keymap(), text_open_invoke(), text_save_as_invoke(), transform_keymap_for_space(), ui_but_menu(), uiItemStringO(), uiLayoutOperatorButs(), unpack_menu(), view3d_id_drop_copy(), view3d_id_path_drop_copy(), view3d_keymap(), view3d_ob_drop_copy(), WM_keymap_add_menu(), wm_link_append_invoke(), wm_open_mainfile_invoke(), wm_recover_auto_save_invoke(), wm_save_as_mainfile_invoke(), wm_save_mainfile_invoke(), and wm_window_keymap().

StructRNA* RNA_struct_base ( StructRNA type)

Definition at line 552 of file rna_access.c.

References StructRNA::base.

Referenced by pyrna_srna_PyBase().

void* RNA_struct_blender_type_get ( StructRNA srna)

Definition at line 754 of file rna_access.c.

References StructRNA::blender_type.

void RNA_struct_blender_type_set ( StructRNA srna,
void *  blender_type 
)

Definition at line 759 of file rna_access.c.

References StructRNA::blender_type.

Referenced by operator_properties_init(), and RNA_struct_free_extension().

int RNA_struct_contains_property ( PointerRNA ptr,
PropertyRNA prop_test 
)
StructRNA* RNA_struct_find ( const char *  identifier)
FunctionRNA* RNA_struct_find_function ( PointerRNA ptr,
const char *  identifier 
)
PropertyRNA* RNA_struct_find_nested ( PointerRNA ptr,
StructRNA srna 
)

Definition at line 627 of file rna_access.c.

References NULL, RNA_PROP_END, RNA_property_pointer_type(), and RNA_STRUCT_BEGIN.

Referenced by RNA_path_from_ID_to_struct().

PropertyRNA* RNA_struct_find_property ( PointerRNA ptr,
const char *  identifier 
)

Definition at line 605 of file rna_access.c.

References PointerRNA::data, NULL, RNA_path_resolve(), RNA_property_collection_lookup_string(), RNA_struct_iterator_property(), and PointerRNA::type.

Referenced by actuator_add_exec(), bookmark_delete_exec(), bookmark_select_exec(), border_apply(), BPY_rna_types(), buttons_texture_modifier_foreach(), buttons_texture_users_from_context(), controller_add_exec(), draw_actuator_armature(), draw_sensor_armature(), ED_fileselect_set_params(), ED_object_add_generic_get_opts(), DocumentExporter::exportCurrentScene(), file_browse_exec(), file_browse_invoke(), file_directory_new_exec(), file_draw_check_exists(), file_operator_to_sfile(), file_sfile_to_operator(), DocumentImporter::finish(), foreach_attr_type(), get_enum_identifier(), BlenderSync::get_session_params(), id_data_find_fcurve(), image_sample_apply(), initSnapping(), initTransform(), initTransInfo(), key_get_curValue_rnaPath(), list_item_row(), node_animation_properties(), node_buts_rgb(), node_buts_value(), node_composit_buts_image(), node_composit_buts_renderlayers(), object_add_generic_invoke_options(), operator_wrapper(), pose_slide_apply_props(), pyrna_alloc_types(), pyrna_dir_members_rna(), pyrna_free_types(), pyrna_prop_collection_getattro(), pyrna_prop_collection_setattro(), pyrna_pydict_to_props(), pyrna_rotation_euler_order_get(), pyrna_struct_anim_args_parse(), pyrna_struct_getattro(), pyrna_struct_is_property_hidden(), pyrna_struct_is_property_set(), pyrna_struct_path_from_id(), pyrna_struct_setattro(), pyrna_unregister_class(), RNA_boolean_get(), RNA_boolean_get_array(), RNA_boolean_set(), RNA_boolean_set_array(), RNA_collection_add(), RNA_collection_begin(), RNA_collection_clear(), RNA_collection_length(), RNA_enum_get(), RNA_enum_is_equal(), RNA_enum_set(), RNA_enum_set_identifier(), RNA_float_get(), RNA_float_get_array(), RNA_float_set(), RNA_float_set_array(), rna_idp_path(), RNA_int_get(), RNA_int_get_array(), RNA_int_set(), RNA_int_set_array(), RNA_path_resolve_full(), RNA_pointer_add(), RNA_pointer_get(), RNA_pointer_set(), rna_raw_access(), RNA_string_get(), RNA_string_get_alloc(), RNA_string_length(), RNA_string_set(), RNA_struct_find_function(), RNA_struct_property_is_set(), save_envmap(), save_image_doit(), saveTransform(), sensor_add_exec(), seq_load_operator_info(), sequencer_add_generic_strip_exec(), sequencer_add_image_strip_exec(), sequencer_change_path_exec(), sequencer_drop_copy(), sequencer_generic_invoke_path__internal(), ui_def_but_rna_propname(), ui_menu_enumpropname(), ui_template_id(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemEnumR(), uiItemEnumR_string(), uiItemMenuEnumR(), uiItemPointerR(), uiItemR(), uiItemsEnumR(), uiItemsFullEnumO(), uiTemplateAnyID(), uiTemplateColorRamp(), uiTemplateColorWheel(), uiTemplateCurveMapping(), uiTemplateHistogram(), uiTemplateImage(), uiTemplateLayers(), uiTemplateList(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplatePathBuilder(), uiTemplateTrack(), uiTemplateVectorscope(), uiTemplateWaveform(), uv_map_transform(), WM_gesture_circle_modal(), wm_gesture_end(), WM_gesture_lasso_invoke(), WM_gesture_lines_invoke(), WM_gesture_straightline_invoke(), wm_handler_fileselect_call(), wm_link_append_exec(), WM_operator_pystring(), and wm_save_mainfile_invoke().

const char* RNA_struct_identifier ( StructRNA type)
IDProperty* RNA_struct_idprops ( PointerRNA ptr,
int  create 
) [read]
int RNA_struct_idprops_check ( StructRNA srna)
int RNA_struct_idprops_register_check ( StructRNA type)

Definition at line 567 of file rna_access.c.

References StructRNA::flag, and STRUCT_NO_IDPROPERTIES.

Referenced by pyrna_deferred_register_class().

int RNA_struct_idprops_unset ( PointerRNA ptr,
const char *  identifier 
)
void** RNA_struct_instance ( PointerRNA ptr)

Definition at line 732 of file rna_access.c.

References StructRNA::base, StructRNA::instance, NULL, and PointerRNA::type.

Referenced by bpy_class_call(), and pyrna_struct_as_instance().

int RNA_struct_is_a ( StructRNA type,
StructRNA srna 
)
int RNA_struct_is_ID ( StructRNA type)
PropertyRNA* RNA_struct_iterator_property ( StructRNA type)
char* RNA_struct_name_get_alloc ( PointerRNA ptr,
char *  fixedbuf,
int  fixedlen,
int *  r_len 
)
PropertyRNA* RNA_struct_name_property ( StructRNA type)
int RNA_struct_property_is_set ( PointerRNA ptr,
const char *  identifier 
)

Definition at line 4449 of file rna_access.c.

References RNA_property_is_set(), and RNA_struct_find_property().

Referenced by add_vertex_invoke(), area_split_invoke(), background_image_add_invoke(), drop_named_image_invoke(), ED_fileselect_set_params(), ED_object_add_generic_get_opts(), edit_actuator_invoke_properties(), edit_constraint_invoke_properties(), edit_controller_invoke_properties(), edit_modifier_invoke_properties(), edit_sensor_invoke_properties(), envmap_save_invoke(), file_browse_exec(), file_browse_invoke(), image_open_invoke(), image_replace_invoke(), image_save_as_invoke(), image_unpack_exec(), image_unpack_invoke(), initSnapping(), initTransInfo(), insert_text_exec(), insert_text_invoke(), linked_limit_default(), move_to_layer_init(), multires_external_save_invoke(), new_node_tree_exec(), node_add_file_exec(), node_add_file_invoke(), node_group_socket_add_exec(), node_group_socket_move_down_exec(), node_group_socket_move_up_exec(), node_group_socket_remove_exec(), object_add_generic_invoke_options(), object_origin_set_exec(), open_invoke(), open_set_load_ui(), open_set_use_scripts(), pack_islands_exec(), paste_file_invoke(), save_image_options_from_op(), save_set_compress(), screen_animation_play_exec(), screen_render_invoke(), screen_render_scene_layer_set(), screenshot_invoke(), sequencer_add_effect_strip_exec(), sequencer_add_effect_strip_invoke(), sequencer_add_movie_strip_invoke(), sequencer_add_scene_strip_invoke(), sequencer_add_sound_strip_invoke(), sequencer_generic_invoke_xy__internal(), sound_mixdown_invoke(), sound_open_invoke(), sound_unpack_exec(), sound_unpack_invoke(), text_open_invoke(), text_save_as_invoke(), text_scroll_bar_invoke(), text_scroll_invoke(), transform_invoke(), undo_history_exec(), viewdolly_invoke(), viewzoom_exec(), viewzoom_invoke(), wm_link_append_invoke(), WM_operator_filesel(), and wm_save_as_mainfile_exec().

void* RNA_struct_py_type_get ( StructRNA srna)
void RNA_struct_py_type_set ( StructRNA srna,
void *  py_type 
)
StructRegisterFunc RNA_struct_register ( StructRNA type)

Definition at line 717 of file rna_access.c.

References StructRNA::reg.

Referenced by pyrna_register_class().

PropertyRNA* RNA_struct_type_find_property ( StructRNA srna,
const char *  identifier 
)
struct ListBase* RNA_struct_type_functions ( StructRNA srna) [read]

Definition at line 712 of file rna_access.c.

References StructRNA::functions.

Referenced by bpy_class_validate().

struct ListBase* RNA_struct_type_properties ( StructRNA srna) [read]
const char* RNA_struct_ui_description ( StructRNA type)

Definition at line 537 of file rna_access.c.

References StructRNA::description.

int RNA_struct_ui_icon ( StructRNA type)
const char* RNA_struct_ui_name ( StructRNA type)

Definition at line 524 of file rna_access.c.

References StructRNA::name.

Referenced by getname_anim_fcurve().

int RNA_struct_undo_check ( StructRNA type)

Definition at line 562 of file rna_access.c.

References StructRNA::flag, and STRUCT_UNDO.

Referenced by ui_but_is_rna_undo().

StructUnregisterFunc RNA_struct_unregister ( StructRNA type)

Definition at line 722 of file rna_access.c.

References StructRNA::base, NULL, and StructRNA::unreg.

Referenced by pyrna_unregister_class().

static int rna_token_strip_quotes ( char *  token) [static]

Definition at line 3566 of file rna_access.c.

References len(), and strlen().

Referenced by RNA_path_resolve_full().


Variable Documentation

PropertyRNA* arraytypemap[IDP_NUMTYPES] [static]
Initial value:
    {NULL, (PropertyRNA*)&rna_PropertyGroupItem_int_array,
     (PropertyRNA*)&rna_PropertyGroupItem_float_array,
     NULL, NULL, NULL,
     (PropertyRNA*)&rna_PropertyGroupItem_collection, NULL,
     (PropertyRNA*)&rna_PropertyGroupItem_double_array}

Definition at line 385 of file rna_access.c.

const PointerRNA PointerRNA_NULL = {{NULL}}
ListBase rna_updates_cache = {NULL, NULL} [static]

Definition at line 1518 of file rna_access.c.

PropertyRNA* typemap[IDP_NUMTYPES] [static]
Initial value:
    {(PropertyRNA*)&rna_PropertyGroupItem_string,
     (PropertyRNA*)&rna_PropertyGroupItem_int,
     (PropertyRNA*)&rna_PropertyGroupItem_float,
     NULL, NULL, NULL,
     (PropertyRNA*)&rna_PropertyGroupItem_group, NULL,
     (PropertyRNA*)&rna_PropertyGroupItem_double,
     (PropertyRNA*)&rna_PropertyGroupItem_idp_array}

Definition at line 376 of file rna_access.c.