inspektors/include/common.h

10 lines
194 B
C
Raw Normal View History

2018-01-02 13:45:56 +02:00
#ifndef COMMON_H
#define COMMON_H
#define SET(X, Y) X |= (1 << Y)
#define CLR(X, Y) X &= ~(1 << Y)
#define CHK(X, Y) X & (1 << Y)
#define TOG(X, Y) X ^= (1 << Y)
#endif /* COMMON_H */