home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
amiga
/
midi
/
obrst103.lha
/
OberSuite-1.03
/
SourceCode
/
bits.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-23
|
394b
|
22 lines
#ifndef _BITS_H
#define _BITS_H 1
#define BITFIELD_WIDTH 8
#define BITFIELD_LENGTH 13 /* (100 div 8) + 1 */
#ifdef unix
typedef unsigned char UBYTE;
typedef unsigned char BOOL;
#endif
typedef UBYTE BITS;
void FlipOn(BITS bitfield[], int n);
void ClearBitfield(BITS bitfield[]);
void PrintBitfield(BITS bitfield[], int numBits);
BOOL BitOn(BITS bitfield[], int bit);
#endif /* _BITS_H */