mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 22:00:18 +00:00
Add IS_UPPER and IS_LOWER macros
This commit is contained in:
parent
27c60ea634
commit
8a7262ca32
@ -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]))
|
||||
|
||||
|
@ -92,6 +92,4 @@
|
||||
#define NAN (0.0f/0.0f)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user