(_iterator.getitem): Changed
declaration. There's no use passing a pointer to the const location, since the function *must* assign to it anyway.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -38,7 +38,7 @@ struct _iterator | ... | @@ -38,7 +38,7 @@ struct _iterator |
38 | int (*destroy) (iterator_t itr, void *owner); | 38 | int (*destroy) (iterator_t itr, void *owner); |
39 | int (*first) (void *owner); | 39 | int (*first) (void *owner); |
40 | int (*next) (void *owner); | 40 | int (*next) (void *owner); |
41 | int (*getitem) (void *owner, void * const *pret); | 41 | int (*getitem) (void *owner, void **pret); |
42 | int (*curitem_p) (void *owner, void *item); | 42 | int (*curitem_p) (void *owner, void *item); |
43 | int (*finished_p) (void *owner); | 43 | int (*finished_p) (void *owner); |
44 | }; | 44 | }; | ... | ... |
-
Please register or sign in to post a comment