Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/generic/py_capi_rna.h')
-rw-r--r--source/blender/python/generic/py_capi_rna.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/python/generic/py_capi_rna.h b/source/blender/python/generic/py_capi_rna.h
index d1a30e2177a..326ca777a4b 100644
--- a/source/blender/python/generic/py_capi_rna.h
+++ b/source/blender/python/generic/py_capi_rna.h
@@ -32,6 +32,20 @@ int pyrna_enum_value_from_id(const struct EnumPropertyItem *item,
int *value,
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_enum_bitfield_from_set(const struct EnumPropertyItem *items,
+ PyObject *value,
+ int *r_value,
+ const char *error_prefix);
+
+PyObject *pyrna_enum_bitfield_as_set(const struct EnumPropertyItem *items, int value);
+
/**
* Data for #pyrna_enum_value_parse_string & #pyrna_enum_bitfield_parse_set parsing utilities.
* Use with #PyArg_ParseTuple's `O&` formatting.
@@ -50,17 +64,3 @@ 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_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_enum_bitfield_from_set(const struct EnumPropertyItem *items,
- PyObject *value,
- int *r_value,
- const char *error_prefix);
-
-PyObject *pyrna_enum_bitfield_as_set(const struct EnumPropertyItem *items, int value);