1 #ifndef LEMON_SET_H
2 #define LEMON_SET_H
3 
4 void  SetSize(int N);             /* All sets will be of size N */
5 char *SetNew(void);               /* A new set for element 0..N */
6 void  SetFree(char*);             /* Deallocate a set */
7 
8 int SetAdd(char*,int);            /* Add element to a set */
9 int SetUnion(char *A,char *B);    /* A <- A U B, thru element N */
10 
11 #define SetFind(X,Y) (X[Y])       /* True if Y is in set X */
12 
13 #endif // LEMON_SET_H
14