8 #ifndef __RNA_TYPES_H__
9 #define __RNA_TYPES_H__
11 #include "../blenlib/BLI_sys_types.h"
111 #define RNA_SUBTYPE_UNIT(subtype) ((subtype)&0x00FF0000)
112 #define RNA_SUBTYPE_VALUE(subtype) ((subtype) & ~0x00FF0000)
113 #define RNA_SUBTYPE_UNIT_VALUE(subtype) ((subtype) >> 16)
115 #define RNA_ENUM_BITFLAG_SIZE 32
117 #define RNA_TRANSLATION_PREC_DEFAULT 5
119 #define RNA_STACK_ARRAY 32
477 #define RNA_ENUM_ITEM_HEADING(name, description) \
479 0, "", 0, name, description \
483 #define RNA_ENUM_ITEM_SEPR \
485 0, "", 0, NULL, NULL \
489 #define RNA_ENUM_ITEM_SEPR_COLUMN RNA_ENUM_ITEM_HEADING("", NULL)
525 const float *values);
584 const char *edit_text,
586 void *visit_user_data);
738 typedef struct StructRNA *(*StructRegisterFunc)(
struct Main *bmain,
741 const char *identifier,
typedef float(TangentPoint)[2]
void BLI_kdtree_nd_() free(KDTree *tree)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
struct ParameterList ParameterList
int(* EnumPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
void(* StructFreeFunc)(void *data)
struct ListBaseIterator ListBaseIterator
int(* StructValidateFunc)(struct PointerRNA *ptr, void *data, int *have_function)
struct ParameterIterator ParameterIterator
float(* FloatPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
struct CountIterator CountIterator
@ STRUCT_NO_CONTEXT_WITHOUT_OWNER_ID
@ STRUCT_PUBLIC_NAMESPACE
@ STRUCT_NO_DATABLOCK_IDPROPERTIES
@ STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES
@ STRUCT_PUBLIC_NAMESPACE_INHERIT
struct PathResolvedRNA PathResolvedRNA
int(* StructCallbackFunc)(struct bContext *C, struct PointerRNA *ptr, struct FunctionRNA *func, ParameterList *list)
void(* IntPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int value)
void(* EnumPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int value)
struct ExtensionRNA ExtensionRNA
void(* IntPropertyRangeFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int *min, int *max, int *softmin, int *softmax)
void(* StringPropertySearchFunc)(const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, const char *edit_text, StringPropertySearchVisitFunc visit_fn, void *visit_user_data)
void(* IntArrayPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int *values)
eStringPropertySearchFlag
@ PROP_STRING_SEARCH_SUGGESTION
@ PROP_STRING_SEARCH_SORT
@ PROP_STRING_SEARCH_SUPPORTED
void(* FloatPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, float value)
struct ArrayIterator ArrayIterator
void(* StringPropertySearchVisitFunc)(void *visit_user_data, const StringPropertySearchVisitParams *params)
struct ParameterDynAlloc ParameterDynAlloc
struct CollectionPointerLink CollectionPointerLink
struct PointerRNA PointerRNA
@ PROP_UNIT_TIME_ABSOLUTE
void(* CallFunc)(struct bContext *C, struct ReportList *reports, PointerRNA *ptr, ParameterList *parms)
struct EnumPropertyItem EnumPropertyItem
void(* FloatPropertyRangeFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, float *min, float *max, float *softmin, float *softmax)
void(* BooleanArrayPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, const bool *values)
void(* FloatArrayPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, const float *values)
bool(* BooleanPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
void(* BooleanArrayPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, bool *values)
void(* StringPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, char *value)
struct CollectionListBase CollectionListBase
void(* StringPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, const char *value)
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
@ PROPOVERRIDE_NO_COMPARISON
@ PROPOVERRIDE_LIBRARY_INSERTION
@ PROPOVERRIDE_NO_PROP_NAME
void(* IntArrayPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, const int *values)
void(* StructUnregisterFunc)(struct Main *bmain, struct StructRNA *type)
int(* StringPropertyLengthFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
struct PropertyPointerRNA PropertyPointerRNA
int(* IntPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
struct StringPropertySearchVisitParams StringPropertySearchVisitParams
@ PROP_CONTEXT_PROPERTY_UPDATE
int(* IteratorSkipFunc)(struct CollectionPropertyIterator *iter, void *data)
void(* FloatArrayPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, float *values)
void(* BooleanPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, bool value)
struct CollectionPropertyIterator CollectionPropertyIterator
SyclQueue void void size_t num_bytes void
struct CollectionPointerLink * last
struct CollectionPointerLink * first
struct CollectionPointerLink * prev
struct CollectionPointerLink * next
PointerRNA builtin_parent
ListBaseIterator listbase
struct PropertyRNA * prop
struct ParameterList * parms
struct FunctionRNA * func
struct PropertyRNA * prop
struct PropertyRNA * prop