The Battle for Wesnoth  1.15.2+dev
Macros
lctype.h File Reference
#include "lua.h"
#include <ctype.h>
Include dependency graph for lctype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LUA_USE_CTYPE   1
 
#define lislalpha(c)   (isalpha(c) || (c) == '_')
 
#define lislalnum(c)   (isalnum(c) || (c) == '_')
 
#define lisdigit(c)   (isdigit(c))
 
#define lisspace(c)   (isspace(c))
 
#define lisprint(c)   (isprint(c))
 
#define lisxdigit(c)   (isxdigit(c))
 
#define ltolower(c)   (tolower(c))
 

Macro Definition Documentation

◆ lisdigit

#define lisdigit (   c)    (isdigit(c))

Definition at line 85 of file lctype.h.

Referenced by isneg(), l_str2int(), llex(), luaO_hexavalue(), read_numeral(), read_string(), and readdecesc().

◆ lislalnum

#define lislalnum (   c)    (isalnum(c) || (c) == '_')

Definition at line 84 of file lctype.h.

Referenced by llex().

◆ lislalpha

#define lislalpha (   c)    (isalpha(c) || (c) == '_')

Definition at line 83 of file lctype.h.

Referenced by llex().

◆ lisprint

#define lisprint (   c)    (isprint(c))

Definition at line 87 of file lctype.h.

Referenced by luaO_pushvfstring().

◆ lisspace

#define lisspace (   c)    (isspace(c))

Definition at line 86 of file lctype.h.

Referenced by isneg(), l_str2dloc(), l_str2int(), and read_string().

◆ lisxdigit

#define lisxdigit (   c)    (isxdigit(c))

Definition at line 88 of file lctype.h.

Referenced by gethexa(), isneg(), l_str2int(), read_numeral(), and readutf8esc().

◆ ltolower

#define ltolower (   c)    (tolower(c))

Definition at line 90 of file lctype.h.

Referenced by l_str2d(), and luaO_hexavalue().

◆ LUA_USE_CTYPE

#define LUA_USE_CTYPE   1

Definition at line 26 of file lctype.h.