#include <limits.h>
#include <stddef.h>
Go to the source code of this file.
|
#define | LUAI_BITSINT 16 |
|
#define | LUA_INT_INT 1 |
|
#define | LUA_INT_LONG 2 |
|
#define | LUA_INT_LONGLONG 3 |
|
#define | LUA_FLOAT_FLOAT 1 |
|
#define | LUA_FLOAT_DOUBLE 2 |
|
#define | LUA_FLOAT_LONGDOUBLE 3 |
|
#define | LUA_INT_TYPE LUA_INT_LONGLONG |
|
#define | LUA_FLOAT_TYPE LUA_FLOAT_DOUBLE |
|
#define | LUA_PATH_SEP ";" |
|
#define | LUA_PATH_MARK "?" |
|
#define | LUA_EXEC_DIR "!" |
|
#define | LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR |
|
#define | LUA_ROOT "/usr/local/" |
|
#define | LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/" |
|
#define | LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/" |
|
#define | LUA_PATH_DEFAULT |
|
#define | LUA_CPATH_DEFAULT LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so" |
|
#define | LUA_DIRSEP "/" |
|
#define | LUA_API extern |
|
#define | LUALIB_API LUA_API |
|
#define | LUAMOD_API LUALIB_API |
|
#define | LUAI_FUNC extern |
|
#define | LUAI_DDEC LUAI_FUNC |
|
#define | LUAI_DDEF /* empty */ |
|
#define | l_floor(x) (l_mathop(floor)(x)) |
|
#define | lua_number2str(s, sz, n) l_sprintf((s), sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)(n)) |
|
#define | lua_numbertointeger(n, p) |
|
#define | LUA_NUMBER double |
|
#define | l_mathlim(n) (DBL_##n) |
|
#define | LUAI_UACNUMBER double |
|
#define | LUA_NUMBER_FRMLEN "" |
|
#define | LUA_NUMBER_FMT "%.14g" |
|
#define | l_mathop(op) op |
|
#define | lua_str2number(s, p) strtod((s), (p)) |
|
#define | LUA_INTEGER_FMT "%" LUA_INTEGER_FRMLEN "d" |
|
#define | LUAI_UACINT LUA_INTEGER |
|
#define | lua_integer2str(s, sz, n) l_sprintf((s), sz, LUA_INTEGER_FMT, (LUAI_UACINT)(n)) |
|
#define | LUA_UNSIGNED unsigned LUAI_UACINT |
|
#define | l_sprintf(s, sz, f, i) snprintf(s,sz,f,i) |
|
#define | lua_strx2number(s, p) lua_str2number(s,p) |
|
#define | lua_pointer2str(buff, sz, p) l_sprintf(buff,sz,"%p",p) |
|
#define | lua_number2strx(L, b, sz, f, n) ((void)L, l_sprintf(b,sz,f,(LUAI_UACNUMBER)(n))) |
|
#define | LUA_KCONTEXT ptrdiff_t |
|
#define | lua_getlocaledecpoint() (localeconv()->decimal_point[0]) |
|
#define | LUAI_MAXSTACK 15000 |
|
#define | LUA_EXTRASPACE (sizeof(void *)) |
|
#define | LUA_IDSIZE 60 |
|
#define | LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer))) |
|
#define | LUA_QL(x) "'" x "'" |
|
#define | LUA_QS LUA_QL("%s") |
|
◆ l_floor
◆ l_mathlim
#define l_mathlim |
( |
|
n | ) |
(DBL_##n) |
◆ l_mathop
#define l_mathop |
( |
|
op | ) |
op |
◆ l_sprintf
#define l_sprintf |
( |
|
s, |
|
|
|
sz, |
|
|
|
f, |
|
|
|
i |
|
) |
| snprintf(s,sz,f,i) |
◆ LUA_API
◆ LUA_CDIR
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/" |
◆ LUA_CPATH_DEFAULT
#define LUA_CPATH_DEFAULT LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so" |
◆ LUA_DIRSEP
◆ LUA_EXEC_DIR
◆ LUA_EXTRASPACE
#define LUA_EXTRASPACE (sizeof(void *)) |
◆ LUA_FLOAT_DOUBLE
#define LUA_FLOAT_DOUBLE 2 |
◆ LUA_FLOAT_FLOAT
#define LUA_FLOAT_FLOAT 1 |
◆ LUA_FLOAT_LONGDOUBLE
#define LUA_FLOAT_LONGDOUBLE 3 |
◆ LUA_FLOAT_TYPE
◆ lua_getlocaledecpoint
#define lua_getlocaledecpoint |
( |
| ) |
(localeconv()->decimal_point[0]) |
◆ LUA_IDSIZE
◆ LUA_INT_INT
◆ LUA_INT_LONG
◆ LUA_INT_LONGLONG
#define LUA_INT_LONGLONG 3 |
◆ LUA_INT_TYPE
◆ lua_integer2str
◆ LUA_INTEGER_FMT
#define LUA_INTEGER_FMT "%" LUA_INTEGER_FRMLEN "d" |
◆ LUA_KCONTEXT
#define LUA_KCONTEXT ptrdiff_t |
◆ LUA_LDIR
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/" |
◆ LUA_NUMBER
#define LUA_NUMBER double |
◆ lua_number2str
◆ lua_number2strx
◆ LUA_NUMBER_FMT
#define LUA_NUMBER_FMT "%.14g" |
◆ LUA_NUMBER_FRMLEN
#define LUA_NUMBER_FRMLEN "" |
◆ lua_numbertointeger
#define lua_numbertointeger |
( |
|
n, |
|
|
|
p |
|
) |
| |
Value: (*(
p) = (LUA_INTEGER)(
n), 1))
#define LUA_NUMBER
Definition: luaconf.h:488
GLfloat GLfloat p
Definition: glext.h:9809
GLdouble n
Definition: glext.h:8396
◆ LUA_PATH_DEFAULT
Value: LUA_CDIR
"?.lua;" LUA_CDIR"?/init.lua;" \
"./?.lua;" "./?/init.lua"
#define LUA_CDIR
Definition: luaconf.h:205
#define LUA_LDIR
Definition: luaconf.h:204
◆ LUA_PATH_MARK
#define LUA_PATH_MARK "?" |
◆ LUA_PATH_SEP
◆ lua_pointer2str
#define lua_pointer2str |
( |
|
buff, |
|
|
|
sz, |
|
|
|
p |
|
) |
| l_sprintf(buff,sz,"%p",p) |
◆ LUA_QL
#define LUA_QL |
( |
|
x | ) |
"'" x "'" |
◆ LUA_QS
◆ LUA_ROOT
#define LUA_ROOT "/usr/local/" |
◆ lua_str2number
#define lua_str2number |
( |
|
s, |
|
|
|
p |
|
) |
| strtod((s), (p)) |
◆ lua_strx2number
◆ LUA_UNSIGNED
◆ LUA_VDIR
◆ LUAI_BITSINT
◆ LUAI_DDEC
◆ LUAI_DDEF
#define LUAI_DDEF /* empty */ |
◆ LUAI_FUNC
◆ LUAI_MAXSTACK
#define LUAI_MAXSTACK 15000 |
◆ LUAI_UACINT
#define LUAI_UACINT LUA_INTEGER |
◆ LUAI_UACNUMBER
#define LUAI_UACNUMBER double |
◆ LUAL_BUFFERSIZE
#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer))) |
◆ LUALIB_API
◆ LUAMOD_API