Pristine Ack-5.5
[Ack-5.5.git] / util / ncgg / set.h
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: set.h,v 0.3 1994/06/24 10:38:17 ceriel Exp $ */
6
7 #define BIS(sp,n) (sp)[(n)>>4] |= 1<<((n)&0xF)
8 #define BIC(sp,n) (sp)[(n)>>4] &= ~(1<<((n)&0xF))
9 #define BIT(sp,n) (((sp)[(n)>>4]&(1<<((n)&0xF)))!=0)