From c36eb9b291328a5345ad406a28435c97d5ac0155 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 18 May 2017 16:16:23 +0200 Subject: Rename Iterator struct to BLI_Iterator --- source/blender/makesrna/intern/rna_depsgraph.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/makesrna') diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index 571f07471a7..cc94bee2b3a 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -87,15 +87,15 @@ static void rna_Depsgraph_debug_stats(Depsgraph *graph, ReportList *reports) static void rna_Depsgraph_objects_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) { Depsgraph *graph = (Depsgraph *)ptr->data; - iter->internal.custom = MEM_callocN(sizeof(Iterator), __func__); + iter->internal.custom = MEM_callocN(sizeof(BLI_Iterator), __func__); DAG_objects_iterator_begin(iter->internal.custom, graph); - iter->valid = ((Iterator *)iter->internal.custom)->valid; + iter->valid = ((BLI_Iterator *)iter->internal.custom)->valid; } static void rna_Depsgraph_objects_next(CollectionPropertyIterator *iter) { DAG_objects_iterator_next(iter->internal.custom); - iter->valid = ((Iterator *)iter->internal.custom)->valid; + iter->valid = ((BLI_Iterator *)iter->internal.custom)->valid; } static void rna_Depsgraph_objects_end(CollectionPropertyIterator *iter) @@ -106,7 +106,7 @@ static void rna_Depsgraph_objects_end(CollectionPropertyIterator *iter) static PointerRNA rna_Depsgraph_objects_get(CollectionPropertyIterator *iter) { - Object *ob = ((Iterator *)iter->internal.custom)->current; + Object *ob = ((BLI_Iterator *)iter->internal.custom)->current; return rna_pointer_inherit_refine(&iter->parent, &RNA_Object, ob); } -- cgit v1.2.3