size of a function is the size of a code pointer
[fw/sdcc] / src / SDCCset.h
index f5179baae9c8b7a7fa7b1bb6151d0f8953a9defd..e3f1520fddd793f012f9fbea7e6749ab6e83dc74 100644 (file)
@@ -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