diff --git a/src/Flags.cpp b/src/Flags.cpp index 500da014..face9fed 100644 --- a/src/Flags.cpp +++ b/src/Flags.cpp @@ -4,8 +4,8 @@ #include "WindowsWrapper.h" -// Macros for setting, un-setting and getting bits -// Each flag is stored in a bit, so we can use the exact same macros for this (not defining BIT macros for conciseness) +// Macros for setting, un-setting and getting flags +// Each flag is stored in a bit, so we can use the exact same macros we'd use for bits #define SET_FLAG(x, i) ((x)[(i) / 8] |= 1 << (i) % 8) #define UNSET_FLAG(x, i) ((x)[(i) / 8] &= ~(1 << (i) % 8)) #define GET_FLAG(x, i) ((x)[(i) / 8] & (1 << (i) % 8))