X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCset.h;h=e3f1520fddd793f012f9fbea7e6749ab6e83dc74;hb=1f5ca744f202c9a9e9fa6a9249056a499d529fb4;hp=f5179baae9c8b7a7fa7b1bb6151d0f8953a9defd;hpb=29779804200986ce903b5086441b49265a122dc5;p=fw%2Fsdcc diff --git a/src/SDCCset.h b/src/SDCCset.h index f5179baa..e3f1520f 100644 --- a/src/SDCCset.h +++ b/src/SDCCset.h @@ -60,7 +60,8 @@ void *getSet (set **); void deleteSetItem (set **, void *); void deleteItemIf (set **, int (*cond) (void *, va_list),...); int isinSet (set *, void *); -int isinSetWith (set *, void *, int (*cfunc) (void *, void *)); +typedef int (* insetwithFunc) (void *, void *); +int isinSetWith (set *, void *, insetwithFunc cfunc); int applyToSet (set * list, int (*somefunc) (void *, va_list),...); int applyToSetFTrue (set * list, int (*somefunc) (void *, va_list),...); set *unionSets (set *, set *, int); @@ -77,6 +78,6 @@ void *peekSet (set *); void *setFirstItem (set *); void *setNextItem (set *); void setToNull (void **); - +set *reverseSet (set *); #endif