COMMON: Move isFoo functions to namespace Common, add doxygen comments

This commit is contained in:
Max Horn 2012-02-20 16:03:39 +01:00
parent 658080deed
commit 4f8665fc83
34 changed files with 131 additions and 83 deletions

View file

@ -277,7 +277,7 @@ void registerDefaults() {
// resp. between "--some-option" and "--no-some-option".
#define DO_OPTION_BOOL(shortCmd, longCmd) \
if (isLongCmd ? (!strcmp(s+2, longCmd) || !strcmp(s+2, "no-"longCmd)) : (tolower(s[1]) == shortCmd)) { \
bool boolValue = (isLower(s[1]) != 0); \
bool boolValue = (Common::isLower(s[1]) != 0); \
s += 2; \
if (isLongCmd) { \
boolValue = !strcmp(s, longCmd); \