blob: 8a3fc43632d5f8d252d816dbbdf132a0457b06a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--------------------------------------------------------------------------------------
lctype.h : no longer needed as we dan use -DLUA_UCID now
--------------------------------------------------------------------------------------
/* lislalpha(c) testprop(c, MASK(ALPHABIT)) */
/* lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) */
# define lislalpha(c) (testprop(c, MASK(ALPHABIT)) || (c) > 0x7f)
# define lislalnum(c) (testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) || (c) > 0x7f)
--------------------------------------------------------------------------------------
|