#include <limits.h>
#include <stddef.h>
Go to the source code of this file.
Macros | |
#define | LUA_COMPAT_MODULE |
#define | LUA_COMPAT_ALL |
#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_ENV "_ENV" |
#define | LUA_API extern |
#define | LUALIB_API LUA_API |
#define | LUAMOD_API LUALIB_API |
#define | LUAI_FUNC extern |
#define | LUAI_DDEC extern |
#define | LUAI_DDEF /* empty */ |
#define | LUA_QL(x) "'" x "'" |
#define | LUA_QS LUA_QL("%s") |
#define | LUA_IDSIZE 60 |
#define | luai_writestringerror(s, p) (fprintf(stderr, (s), (p)), fflush(stderr)) |
#define | LUAI_MAXSHORTLEN 40 |
#define | LUA_COMPAT_UNPACK |
#define | LUA_COMPAT_LOADERS |
#define | lua_cpcall(L, f, u) |
#define | LUA_COMPAT_LOG10 |
#define | LUA_COMPAT_LOADSTRING |
#define | LUA_COMPAT_MAXN |
#define | lua_strlen(L, i) lua_rawlen(L, (i)) |
#define | lua_objlen(L, i) lua_rawlen(L, (i)) |
#define | lua_equal(L, idx1, idx2) lua_compare(L,(idx1),(idx2),LUA_OPEQ) |
#define | lua_lessthan(L, idx1, idx2) lua_compare(L,(idx1),(idx2),LUA_OPLT) |
#define | LUA_COMPAT_MODULE |
#define | LUAI_BITSINT 16 |
#define | LUA_INT32 long |
#define | LUAI_UMEM unsigned long |
#define | LUAI_MEM long |
#define | LUAI_MAXSTACK 15000 |
#define | LUAI_FIRSTPSEUDOIDX (-LUAI_MAXSTACK - 1000) |
#define | LUAL_BUFFERSIZE BUFSIZ |
#define | LUA_NUMBER_DOUBLE |
#define | LUA_NUMBER double |
#define | LUAI_UACNUMBER double |
#define | LUA_NUMBER_SCAN "%lf" |
#define | LUA_NUMBER_FMT "%.14g" |
#define | lua_number2str(s, n) sprintf((s), LUA_NUMBER_FMT, (n)) |
#define | LUAI_MAXNUMBER2STR 32 /* 16 digits, sign, point, and \0 */ |
#define | l_mathop(x) (x) |
#define | lua_str2number(s, p) strtod((s), (p)) |
#define | LUA_INTEGER ptrdiff_t |
#define | LUA_UNSIGNED unsigned LUA_INT32 |
#define | LUA_IEEE754TRICK |
#define | LUA_IEEELL |
#define | LUA_KERNEL_BASE_OFFSET sizeof(void*) |
#define | LUAI_EXTRASPACE LUA_KERNEL_BASE_OFFSET |
Definition at line 421 of file luaconf.h.
Referenced by lua_strx2number(), math_abs(), math_acos(), math_asin(), math_atan(), math_atan2(), math_ceil(), math_cos(), math_cosh(), math_exp(), math_floor(), math_fmod(), math_frexp(), math_ldexp(), math_log(), math_log10(), math_modf(), math_pow(), math_random(), math_sin(), math_sinh(), math_sqrt(), math_tan(), and math_tanh().
#define LUA_CPATH_DEFAULT LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so" |
Definition at line 112 of file luaconf.h.
Referenced by luaopen_package().
#define lua_cpcall | ( | L, | |
f, | |||
u | |||
) |
#define LUA_DIRSEP "/" |
Definition at line 125 of file luaconf.h.
Referenced by ll_searchpath(), and luaopen_package().
#define LUA_ENV "_ENV" |
Definition at line 134 of file luaconf.h.
Referenced by getobjname(), and luaX_setinput().
#define lua_equal | ( | L, | |
idx1, | |||
idx2 | |||
) | lua_compare(L,(idx1),(idx2),LUA_OPEQ) |
#define LUA_IDSIZE 60 |
Definition at line 207 of file luaconf.h.
Referenced by addinfo(), funcinfo(), and lexerror().
#define LUA_KERNEL_BASE_OFFSET sizeof(void*) |
Definition at line 572 of file luaconf.h.
Referenced by lua_kernel_base::get_lua_kernel_base_ptr().
#define lua_lessthan | ( | L, | |
idx1, | |||
idx2 | |||
) | lua_compare(L,(idx1),(idx2),LUA_OPLT) |
#define lua_number2str | ( | s, | |
n | |||
) | sprintf((s), LUA_NUMBER_FMT, (n)) |
Definition at line 414 of file luaconf.h.
Referenced by luaV_tostring().
#define LUA_NUMBER_FMT "%.14g" |
Definition at line 413 of file luaconf.h.
Referenced by g_write(), and PrintConstant().
#define LUA_NUMBER_SCAN "%lf" |
Definition at line 412 of file luaconf.h.
Referenced by read_number().
#define lua_objlen | ( | L, | |
i | |||
) | lua_rawlen(L, (i)) |
Definition at line 305 of file luaconf.h.
Referenced by get_new_thread().
#define LUA_PATH_DEFAULT |
Definition at line 198 of file luaconf.h.
Referenced by add_s(), addfield(), classend(), doargs(), dotty(), findfile(), findindex(), findloader(), forstat(), luaB_print(), luaO_pushvfstring(), luaV_execute(), luaX_token2str(), match(), matchbalance(), parlist(), print_usage(), set_env(), simpleexp(), str_format(), tinsert(), and usage().
#define LUA_QS LUA_QL("%s") |
Definition at line 199 of file luaconf.h.
Referenced by checkload(), checkmode(), checkrepeated(), closegoto(), findloader(), getfield(), luaG_typeerror(), luaL_argerror(), luaL_checkoption(), luaL_pushmodule(), luaX_token2str(), opencheck(), pushfuncname(), searcher_Croot(), searchpath(), txtToken(), undefgoto(), and usage().
Definition at line 432 of file luaconf.h.
Referenced by luaO_str2d().
#define lua_strlen | ( | L, | |
i | |||
) | lua_rawlen(L, (i)) |
#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/" |
#define LUAI_EXTRASPACE LUA_KERNEL_BASE_OFFSET |
#define LUAI_FIRSTPSEUDOIDX (-LUAI_MAXSTACK - 1000) |
#define LUAI_MAXNUMBER2STR 32 /* 16 digits, sign, point, and \0 */ |
Definition at line 415 of file luaconf.h.
Referenced by luaV_tostring().
#define LUAI_MAXSHORTLEN 40 |
Definition at line 242 of file luaconf.h.
Referenced by luaS_newlstr().
#define LUAI_MAXSTACK 15000 |
Definition at line 369 of file luaconf.h.
Referenced by lua_checkstack(), luaD_growstack(), luaD_reallocstack(), and luaD_shrinkstack().
Definition at line 232 of file luaconf.h.
Referenced by db_debug(), l_message(), panic(), and print_usage().
#define LUAL_BUFFERSIZE BUFSIZ |
Definition at line 382 of file luaconf.h.
Referenced by f_setvbuf(), lua_fileops::lua_filestream::lua_read_data(), luaL_buffinit(), read_all(), and read_line().
#define LUAMOD_API LUALIB_API |