|
Ardour
9.0-pre0-1952-gc5e0b21049
|
Go to the source code of this file.
Macros | |
| #define | LUA_USE_CTYPE 0 |
| #define | ALPHABIT 0 |
| #define | DIGITBIT 1 |
| #define | PRINTBIT 2 |
| #define | SPACEBIT 3 |
| #define | XDIGITBIT 4 |
| #define | MASK(B) (1 << (B)) |
| #define | testprop(c, p) (luai_ctype_[(c)+1] & (p)) |
| #define | lislalpha(c) testprop(c, MASK(ALPHABIT)) |
| #define | lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) |
| #define | lisdigit(c) testprop(c, MASK(DIGITBIT)) |
| #define | lisspace(c) testprop(c, MASK(SPACEBIT)) |
| #define | lisprint(c) testprop(c, MASK(PRINTBIT)) |
| #define | lisxdigit(c) testprop(c, MASK(XDIGITBIT)) |
| #define | ltolower(c) ((c) | ('A' ^ 'a')) |
Variables | |
| const lu_byte | luai_ctype_ [UCHAR_MAX+2] |
| #define testprop | ( | c, | |
| p | |||
| ) | (luai_ctype_[(c)+1] & (p)) |
|
extern |