(struct _iterator.getitem): Changed declaration
Showing
1 changed file
with
2 additions
and
2 deletions
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | 1 | /* GNU Mailutils -- a suite of utilities for electronic mail |
2 | Copyright (C) 1999, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc. |
3 | 3 | ||
4 | This library is free software; you can redistribute it and/or | 4 | This library is free software; you can redistribute it and/or |
5 | modify it under the terms of the GNU Lesser General Public | 5 | modify it under the terms of the GNU Lesser General Public |
... | @@ -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 **pret); | 41 | int (*getitem) (void *owner, void * const *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