Add IS_UPPER and IS_LOWER macros

This commit is contained in:
pancake 2016-10-18 02:09:05 +02:00
parent 27c60ea634
commit 8a7262ca32
2 changed files with 2 additions and 2 deletions

View File

@ -219,6 +219,8 @@ typedef void (*PrintfCallback)(const char *str, ...);
#define IS_PRINTABLE(x) (x>=' '&&x<='~')
#define IS_NUMBER(x) (x>='0'&&x<='9')
#define IS_WHITESPACE(x) (x==' '||x=='\t')
#define IS_UPPER(c) ((c) >= 'A' && (c) <= 'Z')
#define IS_LOWER(c) ((c) >= 'a' && (c) <= 'z')
#define R_MEM_ALIGN(x) ((void *)(size_t)(((ut64)(size_t)x) & 0xfffffffffffff000LL))
#define R_ARRAY_SIZE(x) (sizeof (x) / sizeof (x[0]))

View File

@ -92,6 +92,4 @@
#define NAN (0.0f/0.0f)
#endif
#endif