Commit e0f85d37 e0f85d375556ebe4e693d8632e6078a2ddca0a57 by Sergey Poznyakoff

(struct _iterator.getitem): Changed declaration

1 parent 1a953a29
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 };
......