summaryrefslogtreecommitdiff
path: root/sources/bits.c
blob: a6b7887d5f6f230bdb79ff65a726051d47ee77d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define iota __COUNTER__

#define bit(x) (1 << (x))

#define KB bit(10)
#define MB bit(11)
#define GB bit(12)

typedef unsigned char  u8;
typedef unsigned short u16;
typedef unsigned long long u64;

typedef u8 bool;
#define true  1
#define false 0