24 lines
637 B
C
24 lines
637 B
C
/*
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
*/
|
|
/* $Id$ */
|
|
#ifndef LANG_NCGG_SET_H
|
|
#define LANG_NCGG_SET_H
|
|
|
|
#include <cgg_cg.h>
|
|
|
|
#define BIS(sp,n) (sp)[(n)>>4] |= 1<<((n)&0xF)
|
|
#define BIC(sp,n) (sp)[(n)>>4] &= ~(1<<((n)&0xF))
|
|
#define BIT(sp,n) (((sp)[(n)>>4]&(1<<((n)&0xF)))!=0)
|
|
|
|
/* util/ncgg/set.c */
|
|
int setlookup(set_t s);
|
|
void make_std_sets(void);
|
|
set_t ident_to_set(char *name);
|
|
set_t setproduct(set_t s1, set_t s2);
|
|
set_t setsum(set_t s1, set_t s2);
|
|
set_t setdiff(set_t s1, set_t s2);
|
|
|
|
#endif /* LANG_NCGG_SET_H */
|