Cleanup: use "pyrna_enum_*" prefix for RNA utility functions
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
struct EnumPropertyItem;
|
||||
|
||||
char *BPy_enum_as_string(const struct EnumPropertyItem *item);
|
||||
char *pyrna_enum_repr(const struct EnumPropertyItem *item);
|
||||
|
||||
int pyrna_enum_value_from_id(const struct EnumPropertyItem *item,
|
||||
const char *identifier,
|
||||
@@ -51,16 +51,16 @@ struct BPy_EnumProperty_Parse {
|
||||
int pyrna_enum_value_parse_string(PyObject *o, void *p);
|
||||
int pyrna_enum_bitfield_parse_set(PyObject *o, void *p);
|
||||
|
||||
unsigned int *pyrna_set_to_enum_bitmap(const struct EnumPropertyItem *items,
|
||||
PyObject *value,
|
||||
int type_size,
|
||||
bool type_convert_sign,
|
||||
int bitmap_size,
|
||||
const char *error_prefix);
|
||||
unsigned int *pyrna_enum_bitmap_from_set(const struct EnumPropertyItem *items,
|
||||
PyObject *value,
|
||||
int type_size,
|
||||
bool type_convert_sign,
|
||||
int bitmap_size,
|
||||
const char *error_prefix);
|
||||
|
||||
int pyrna_set_to_enum_bitfield(const struct EnumPropertyItem *items,
|
||||
PyObject *value,
|
||||
int *r_value,
|
||||
const char *error_prefix);
|
||||
int pyrna_enum_bitfield_from_set(const struct EnumPropertyItem *items,
|
||||
PyObject *value,
|
||||
int *r_value,
|
||||
const char *error_prefix);
|
||||
|
||||
PyObject *pyrna_enum_bitfield_to_py(const struct EnumPropertyItem *items, int value);
|
||||
PyObject *pyrna_enum_bitfield_as_set(const struct EnumPropertyItem *items, int value);
|
||||
|
||||
Reference in New Issue
Block a user