Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
fbits.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifndef _FBITS_H_
00007 #define _FBITS_H_
00008
00009
00010
00011
00012 #define fSet(t, f) ((t) |= (f))
00013 #define fClr(t, f) ((t) &= ~(f))
00014 #define fIsSet(t, f) ((t) & (f))
00015 #define fMask(t, f) ((t) & ~(f))
00016
00017
00018
00019
00020
00021 #define pIf(a,b) (!(a) || (b))
00022
00023 #define pIff(a,b) (((a) && (b)) || (!(a) && !(b)))
00024
00025 #endif