diff options
author | Joseph Eagar <joeedh@gmail.com> | 2006-12-06 22:20:06 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2006-12-06 22:20:06 +0300 |
commit | 4d3bafd17d4d5afee1d913edae0874feb92817f5 (patch) | |
tree | ea69006e8258e91244fbd3a8db422415dd81b67d /source | |
parent | 383f25f3daec816fb6fcc27374974d18db66510e (diff) |
=IDProperties C-API tiny update=
IDP_GroupIterNext returned void* rather then IDProperty*.
Made it IDProperty*.
BTW, any people out there interested in using IDProperties
from the C side, feel free to email me comments and (especially!)
file bugreports assigned to me in the tracker. :)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/BKE_idprop.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/idprop.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_idprop.h b/source/blender/blenkernel/BKE_idprop.h index 3a5e84b490e..1e82b2a3758 100644 --- a/source/blender/blenkernel/BKE_idprop.h +++ b/source/blender/blenkernel/BKE_idprop.h @@ -117,7 +117,7 @@ void *IDP_GetGroupIterator(struct IDProperty *prop); while (IDP_GroupIterNext(iter) != NULL) { . . . }*/ -void *IDP_GroupIterNext(void *vself); +IDProperty *IDP_GroupIterNext(void *vself); /*Frees the iterator pointed to at vself, only use this if iteration is stopped early; when the iterator hits the end of the list it'll automatially free itself.*/ diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c index 0bcb6a87ba3..d59fdf28c83 100644 --- a/source/blender/blenkernel/intern/idprop.c +++ b/source/blender/blenkernel/intern/idprop.c @@ -210,7 +210,7 @@ void *IDP_GetGroupIterator(IDProperty *prop) return (void*) iter; } -void *IDP_GroupIterNext(void *vself) +IDProperty *IDP_GroupIterNext(void *vself) { IDPIter *self = (IDPIter*) vself; Link *next = (Link*) self->next; |