mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added missing predicate macros
This commit is contained in:
parent
8a2b497e3b
commit
fb568fe724
1 changed files with 3 additions and 0 deletions
|
@ -2295,6 +2295,9 @@ static inline int rb_toupper(int c) { return rb_islower(c) ? (c&0x5f) : c; }
|
|||
#define ISALPHA(c) rb_isalpha(c)
|
||||
#define ISDIGIT(c) rb_isdigit(c)
|
||||
#define ISXDIGIT(c) rb_isxdigit(c)
|
||||
#define ISBLANK(c) rb_isblank(c)
|
||||
#define ISCNTRL(c) rb_iscntrl(c)
|
||||
#define ISPUNCT(c) rb_ispunct(c)
|
||||
#endif
|
||||
#define TOUPPER(c) rb_toupper(c)
|
||||
#define TOLOWER(c) rb_tolower(c)
|
||||
|
|
Loading…
Reference in a new issue