COMMON: Move isFoo functions to namespace Common, add doxygen comments
This commit is contained in:
parent
658080deed
commit
4f8665fc83
34 changed files with 131 additions and 83 deletions
|
@ -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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue