inspektors/include/common.h
2018-01-02 13:46:11 +02:00

10 lines
194 B
C

#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 */