Browse Source

* simplify SIMDB_BITMAP_* defines

master
Alex 'AdUser' Z 8 years ago
parent
commit
d1a4cd9bb1
  1. 6
      src/bitmap.h

6
src/bitmap.h

@ -8,10 +8,10 @@
/** Bits per bitmap side (currently - 16) */ /** Bits per bitmap side (currently - 16) */
#define SIMDB_BITMAP_SIDE 16 #define SIMDB_BITMAP_SIDE 16
/** Bitmap size in bytes (currently - 32) */
#define SIMDB_BITMAP_SIZE (SIMDB_BITMAP_SIDE * (SIMDB_BITMAP_SIDE / 8))
/** Total bits in bitmap (currently - 256) */ /** Total bits in bitmap (currently - 256) */
#define SIMDB_BITMAP_BITS (SIMDB_BITMAP_SIZE * 8) #define SIMDB_BITMAP_BITS (SIMDB_BITMAP_SIDE * SIMDB_BITMAP_SIDE)
/** Bitmap size in bytes (currently - 32) */
#define SIMDB_BITMAP_SIZE (SIMDB_BITMAP_BITS / 8)
/** placeholders for various bit states */ /** placeholders for various bit states */
#define CHAR_USED '@' /**< bit is 1 */ #define CHAR_USED '@' /**< bit is 1 */

Loading…
Cancel
Save