home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / midi / Editors_and_Tools / OberSuite-1.03 / src / bits.h < prev    next >
C/C++ Source or Header  |  1993-01-23  |  394b  |  22 lines

  1. #ifndef _BITS_H
  2. #define    _BITS_H    1
  3.  
  4. #define    BITFIELD_WIDTH    8
  5. #define    BITFIELD_LENGTH    13    /* (100 div 8) + 1 */
  6.  
  7.  
  8. #ifdef unix
  9. typedef unsigned char UBYTE;
  10. typedef unsigned char BOOL;
  11. #endif
  12.  
  13. typedef UBYTE BITS;
  14.  
  15.  
  16. void    FlipOn(BITS bitfield[], int n);
  17. void    ClearBitfield(BITS bitfield[]);
  18. void    PrintBitfield(BITS bitfield[], int numBits);
  19. BOOL    BitOn(BITS bitfield[], int bit);
  20.  
  21. #endif /* _BITS_H */
  22.