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/makesrna/RNA_types.h')
-rw-r--r--source/blender/makesrna/RNA_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 66a5df001de..abbe284e97a 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -362,6 +362,11 @@ typedef struct ArrayIterator {
IteratorSkipFunc skip;
} ArrayIterator;
+typedef struct CountIterator {
+ void *ptr;
+ int item;
+} CountIterator;
+
typedef struct CollectionPropertyIterator {
/* internal */
PointerRNA parent;
@@ -370,6 +375,7 @@ typedef struct CollectionPropertyIterator {
union {
ArrayIterator array;
ListBaseIterator listbase;
+ CountIterator count;
void *custom;
} internal;
int idprop;