diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-09-21 15:18:26 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-09-21 15:18:26 +0800 |
commit | 1771bc9932db7343e284d38507b7d639feafd750 (patch) | |
tree | b6fc6ebb3ce3b9236489b559d147b2186228953d /e-util/e-list.h | |
parent | 9e6e29ee3ce7bb0f757d17fa02f44edc99ca592b (diff) | |
download | gsoc2013-evolution-1771bc9932db7343e284d38507b7d639feafd750.tar gsoc2013-evolution-1771bc9932db7343e284d38507b7d639feafd750.tar.gz gsoc2013-evolution-1771bc9932db7343e284d38507b7d639feafd750.tar.bz2 gsoc2013-evolution-1771bc9932db7343e284d38507b7d639feafd750.tar.lz gsoc2013-evolution-1771bc9932db7343e284d38507b7d639feafd750.tar.xz gsoc2013-evolution-1771bc9932db7343e284d38507b7d639feafd750.tar.zst gsoc2013-evolution-1771bc9932db7343e284d38507b7d639feafd750.zip |
Made e_list a bit more reentrant. If a iterator gets its data pulled out
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* e-list-iterator.c, e-list.c, e-list.h: Made e_list a bit more
reentrant. If a iterator gets its data pulled out from under it
while in a loop, it goes back one so that loops will be able to
continue.
svn path=/trunk/; revision=5533
Diffstat (limited to 'e-util/e-list.h')
-rw-r--r-- | e-util/e-list.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/e-util/e-list.h b/e-util/e-list.h index 7a0170970f..017f48d813 100644 --- a/e-util/e-list.h +++ b/e-util/e-list.h @@ -50,10 +50,12 @@ void e_list_append (EList *list, int e_list_length (EList *list); /* For iterators to call. */ -void e_list_invalidate_iterators (EList *list, - EIterator *skip); +void e_list_remove_link (EList *list, + GList *link); void e_list_remove_iterator (EList *list, EIterator *iterator); +void e_list_invalidate_iterators (EList *list, + EIterator *skip); /* Standard Gtk function */ GtkType e_list_get_type (void); |