This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Simple iterator implementation for iterating over GLists and removing */ | |
/* elements during iteration. */ | |
typedef GList *GIterator; | |
static inline GIterator *g_iter(GList **list) { | |
return list; | |
} | |
static inline GList *g_iter_current(GIterator *iterator) { | |
return *iterator; |
NewerOlder