Go to the source code of this file.
Defines | |
#define | LUA_PATH "LUA_PATH" |
#define | LUA_CPATH "LUA_CPATH" |
#define | LUA_INIT "LUA_INIT" |
#define | LUA_ROOT "/usr/local/" |
#define | LUA_LDIR LUA_ROOT "share/lua/5.1/" |
#define | LUA_CDIR LUA_ROOT "lib/lua/5.1/" |
#define | LUA_PATH_DEFAULT |
#define | LUA_CPATH_DEFAULT "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so" |
#define | LUA_DIRSEP "/" |
#define | LUA_PATHSEP ";" |
#define | LUA_PATH_MARK "?" |
#define | LUA_EXECDIR "!" |
#define | LUA_IGMARK "-" |
#define | LUA_INTEGER ptrdiff_t |
#define | LUA_EXTERN_C extern |
#define | LUA_API LUA_EXTERN_C |
#define | LUALIB_API LUA_API |
#define | LUAI_FUNC extern |
#define | LUAI_DATA extern |
#define | LUA_QL(x) "'" x "'" |
#define | LUA_QS LUA_QL("%s") |
#define | LUA_IDSIZE 60 |
#define | LUA_USE_ISATTY |
#define | lua_stdin_is_tty() isatty(0) |
#define | LUA_PROMPT "> " |
#define | LUA_PROMPT2 ">> " |
#define | LUA_PROGNAME "lua" |
#define | LUA_MAXINPUT 512 |
#define | lua_readline(L, b, p) |
#define | lua_saveline(L, idx) { (void)L; (void)idx; } |
#define | lua_freeline(L, b) { (void)L; (void)b; } |
#define | LUAI_GCPAUSE 200 |
#define | LUAI_GCMUL 200 |
#define | LUA_COMPAT_VARARG |
#define | LUA_COMPAT_MOD |
#define | LUA_COMPAT_LSTR 1 |
#define | LUA_COMPAT_GFIND |
#define | LUA_COMPAT_OPENLIB |
#define | luai_apicheck(L, o) { (void)L; } |
#define | LUAI_BITSINT 16 |
#define | LUAI_UINT32 unsigned long |
#define | LUAI_INT32 long |
#define | LUAI_MAXINT32 LONG_MAX |
#define | LUAI_UMEM unsigned long |
#define | LUAI_MEM long |
#define | LUAI_MAXCALLS 20000 |
#define | LUAI_MAXCSTACK 8000 |
#define | LUAI_MAXCCALLS 200 |
#define | LUAI_MAXVARS 200 |
#define | LUAI_MAXUPVALUES 60 |
#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 |
#define | lua_str2number(s, p) strtod((s), (p)) |
#define | luai_numadd(a, b) ((a)+(b)) |
#define | luai_numsub(a, b) ((a)-(b)) |
#define | luai_nummul(a, b) ((a)*(b)) |
#define | luai_numdiv(a, b) ((a)/(b)) |
#define | luai_nummod(a, b) ((a) - floor((a)/(b))*(b)) |
#define | luai_numpow(a, b) (pow(a,b)) |
#define | luai_numunm(a) (-(a)) |
#define | luai_numeq(a, b) ((a)==(b)) |
#define | luai_numlt(a, b) ((a)<(b)) |
#define | luai_numle(a, b) ((a)<=(b)) |
#define | luai_numisnan(a) (!luai_numeq((a), (a))) |
#define | lua_number2int(i, d) ((i)=(int)(d)) |
#define | lua_number2integer(i, d) ((i)=(lua_Integer)(d)) |
#define | LUAI_USER_ALIGNMENT_T union { double u; void *s; long l; } |
#define | LUAI_THROW(L, c) longjmp((c)->b, 1) |
#define | LUAI_TRY(L, c, a) if (setjmp((c)->b) == 0) { a } |
#define | luai_jmpbuf jmp_buf |
#define | LUA_MAXCAPTURES 32 |
#define | LUA_TMPNAMBUFSIZE L_tmpnam |
#define | lua_tmpnam(b, e) { e = (tmpnam(b) == NULL); } |
#define | lua_popen(L, c, m) |
#define | lua_pclose(L, file) ((void)((void)L, file), 0) |
#define | LUAI_EXTRASPACE 0 |
#define | luai_userstateopen(L) ((void)L) |
#define | luai_userstateclose(L) ((void)L) |
#define | luai_userstatethread(L, L1) ((void)L) |
#define | luai_userstatefree(L) ((void)L) |
#define | luai_userstateresume(L, n) ((void)L) |
#define | luai_userstateyield(L, n) ((void)L) |
#define | LUA_INTFRMLEN "l" |
#define | LUA_INTFRM_T long |
#define LUA_CPATH "LUA_CPATH" |
Definition at line 91 of file luaconf.h.
Referenced by luaopen_package().
#define LUA_CPATH_DEFAULT "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so" |
Definition at line 124 of file luaconf.h.
Referenced by luaopen_package().
#define LUA_DIRSEP "/" |
Definition at line 137 of file luaconf.h.
Referenced by findfile(), and luaopen_package().
#define LUA_EXECDIR "!" |
Definition at line 155 of file luaconf.h.
Referenced by luaopen_package().
#define lua_freeline | ( | L, | |||
b | ) | { (void)L; (void)b; } |
Definition at line 319 of file luaconf.h.
Referenced by pushline().
#define LUA_IDSIZE 60 |
Definition at line 240 of file luaconf.h.
Referenced by addinfo(), funcinfo(), and info_tailcall().
#define LUA_IGMARK "-" |
Definition at line 156 of file luaconf.h.
Referenced by luaopen_package(), and mkfuncname().
#define LUA_INIT "LUA_INIT" |
Definition at line 92 of file luaconf.h.
Referenced by handle_luainit().
#define LUA_INTFRM_T long |
Definition at line 815 of file luaconf.h.
Referenced by str_format().
#define LUA_INTFRMLEN "l" |
Definition at line 814 of file luaconf.h.
Referenced by addintlen().
#define LUA_MAXCAPTURES 32 |
Definition at line 699 of file luaconf.h.
Referenced by start_capture().
#define LUA_MAXINPUT 512 |
Definition at line 294 of file luaconf.h.
Referenced by pushline().
#define lua_number2int | ( | i, | |||
d | ) | ((i)=(int)(d)) |
Definition at line 612 of file luaconf.h.
Referenced by arrayindex(), and luaH_get().
#define lua_number2integer | ( | i, | |||
d | ) | ((i)=(lua_Integer)(d)) |
Definition at line 613 of file luaconf.h.
Referenced by lua_tointeger().
#define lua_number2str | ( | s, | |||
n | ) | sprintf((s), LUA_NUMBER_FMT, (n)) |
Definition at line 555 of file luaconf.h.
Referenced by luaV_tostring().
#define LUA_NUMBER_FMT "%.14g" |
Definition at line 554 of file luaconf.h.
Referenced by g_write(), and PrintConstant().
#define LUA_NUMBER_SCAN "%lf" |
Definition at line 553 of file luaconf.h.
Referenced by read_number().
#define LUA_PATH "LUA_PATH" |
Definition at line 90 of file luaconf.h.
Referenced by luaopen_package().
#define LUA_PATH_DEFAULT |
#define LUA_PATH_MARK "?" |
Definition at line 154 of file luaconf.h.
Referenced by findfile(), and luaopen_package().
#define LUA_PATHSEP ";" |
Definition at line 153 of file luaconf.h.
Referenced by luaopen_package(), pushnexttemplate(), and setpath().
#define lua_pclose | ( | L, | |||
file | ) | ((void)((void)L, file), 0) |
Definition at line 747 of file luaconf.h.
Referenced by io_pclose().
#define lua_popen | ( | L, | |||
c, | |||||
m | ) |
((void)((void)c, m), \ luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
Definition at line 745 of file luaconf.h.
Referenced by io_popen().
#define LUA_PROMPT "> " |
Definition at line 277 of file luaconf.h.
Referenced by get_prompt().
#define LUA_PROMPT2 ">> " |
Definition at line 278 of file luaconf.h.
Referenced by get_prompt().
#define LUA_QL | ( | x | ) | "'" x "'" |
Definition at line 231 of file luaconf.h.
Referenced by addfield(), classend(), db_setfenv(), doargs(), dotty(), findfile(), findindex(), forstat(), gfind_nodef(), incomplete(), ll_require(), loader_preload(), luaB_print(), luaB_setfenv(), luaV_execute(), match(), parlist(), print_usage(), setfenv(), setn(), simpleexp(), str_format(), tinsert(), and usage().
#define LUA_QS LUA_QL("%s") |
Definition at line 232 of file luaconf.h.
Referenced by check_match(), db_errorfb(), error_expected(), findfile(), getfield(), ll_module(), ll_require(), loader_Croot(), loaderror(), luaG_typeerror(), luaI_openlib(), luaL_argerror(), luaL_checkoption(), luaX_lexerror(), and usage().
#define lua_readline | ( | L, | |||
b, | |||||
p | ) |
((void)L, fputs(p, stdout), fflush(stdout), /* show prompt */ \ fgets(b, LUA_MAXINPUT, stdin) != NULL)
Definition at line 315 of file luaconf.h.
Referenced by pushline().
#define lua_saveline | ( | L, | |||
idx | ) | { (void)L; (void)idx; } |
Definition at line 318 of file luaconf.h.
Referenced by loadline().
#define lua_stdin_is_tty | ( | ) | isatty(0) |
#define lua_str2number | ( | s, | |||
p | ) | strtod((s), (p)) |
Definition at line 557 of file luaconf.h.
Referenced by luaO_str2d().
#define lua_tmpnam | ( | b, | |||
e | ) | { e = (tmpnam(b) == NULL); } |
Definition at line 723 of file luaconf.h.
Referenced by os_tmpname().
#define LUA_TMPNAMBUFSIZE L_tmpnam |
Definition at line 722 of file luaconf.h.
Referenced by os_tmpname().
#define luai_apicheck | ( | L, | |||
o | ) | { (void)L; } |
Definition at line 413 of file luaconf.h.
Referenced by lua_getinfo().
#define LUAI_GCMUL 200 |
Definition at line 345 of file luaconf.h.
Referenced by lua_newstate().
#define LUAI_GCPAUSE 200 |
Definition at line 334 of file luaconf.h.
Referenced by lua_newstate().
#define LUAI_MAXCALLS 20000 |
Definition at line 467 of file luaconf.h.
Referenced by checkstacksizes(), growCI(), and restore_stack_limit().
#define LUAI_MAXCCALLS 200 |
Definition at line 500 of file luaconf.h.
Referenced by assignment(), enterlevel(), LoadFunction(), lua_resume(), and luaD_call().
#define LUAI_MAXCSTACK 8000 |
Definition at line 478 of file luaconf.h.
Referenced by lua_checkstack().
#define LUAI_MAXNUMBER2STR 32 |
Definition at line 556 of file luaconf.h.
Referenced by luaV_tostring().
#define LUAI_MAXUPVALUES 60 |
Definition at line 514 of file luaconf.h.
Referenced by indexupvalue().
#define LUAI_MAXVARS 200 |
Definition at line 507 of file luaconf.h.
Referenced by new_localvar().
#define luai_numadd | ( | a, | |||
b | ) | ((a)+(b)) |
Definition at line 565 of file luaconf.h.
Referenced by Arith(), constfolding(), and luaV_execute().
#define luai_numdiv | ( | a, | |||
b | ) | ((a)/(b)) |
Definition at line 568 of file luaconf.h.
Referenced by Arith(), constfolding(), and luaV_execute().
#define luai_numeq | ( | a, | |||
b | ) | ((a)==(b)) |
Definition at line 572 of file luaconf.h.
Referenced by arrayindex(), hashnum(), luaH_get(), luaH_getnum(), luaO_rawequalObj(), and luaV_equalval().
#define luai_numisnan | ( | a | ) | (!luai_numeq((a), (a))) |
Definition at line 575 of file luaconf.h.
Referenced by constfolding(), and luaH_set().
#define luai_numle | ( | a, | |||
b | ) | ((a)<=(b)) |
Definition at line 574 of file luaconf.h.
Referenced by lessequal(), and luaV_execute().
#define luai_numlt | ( | a, | |||
b | ) | ((a)<(b)) |
Definition at line 573 of file luaconf.h.
Referenced by luaV_execute(), and luaV_lessthan().
#define luai_nummod | ( | a, | |||
b | ) | ((a) - floor((a)/(b))*(b)) |
Definition at line 569 of file luaconf.h.
Referenced by Arith(), constfolding(), and luaV_execute().
#define luai_nummul | ( | a, | |||
b | ) | ((a)*(b)) |
Definition at line 567 of file luaconf.h.
Referenced by Arith(), constfolding(), and luaV_execute().
#define luai_numpow | ( | a, | |||
b | ) | (pow(a,b)) |
Definition at line 570 of file luaconf.h.
Referenced by Arith(), constfolding(), and luaV_execute().
#define luai_numsub | ( | a, | |||
b | ) | ((a)-(b)) |
Definition at line 566 of file luaconf.h.
Referenced by Arith(), constfolding(), and luaV_execute().
#define luai_numunm | ( | a | ) | (-(a)) |
Definition at line 571 of file luaconf.h.
Referenced by Arith(), constfolding(), and luaV_execute().
#define LUAI_THROW | ( | L, | |||
c | ) | longjmp((c)->b, 1) |
Definition at line 686 of file luaconf.h.
Referenced by luaD_throw().
#define LUAI_TRY | ( | L, | |||
c, | |||||
a | ) | if (setjmp((c)->b) == 0) { a } |
Definition at line 687 of file luaconf.h.
Referenced by luaD_rawrunprotected().
#define LUAI_USER_ALIGNMENT_T union { double u; void *s; long l; } |
#define luai_userstateclose | ( | L | ) | ((void)L) |
Definition at line 792 of file luaconf.h.
Referenced by lua_close().
#define luai_userstatefree | ( | L | ) | ((void)L) |
Definition at line 794 of file luaconf.h.
Referenced by luaE_freethread().
#define luai_userstateopen | ( | L | ) | ((void)L) |
Definition at line 791 of file luaconf.h.
Referenced by lua_newstate().
#define luai_userstateresume | ( | L, | |||
n | ) | ((void)L) |
Definition at line 795 of file luaconf.h.
Referenced by lua_resume().
#define luai_userstatethread | ( | L, | |||
L1 | ) | ((void)L) |
Definition at line 793 of file luaconf.h.
Referenced by lua_newthread().
#define luai_userstateyield | ( | L, | |||
n | ) | ((void)L) |
Definition at line 796 of file luaconf.h.
Referenced by lua_yield().
#define LUAL_BUFFERSIZE BUFSIZ |
Definition at line 520 of file luaconf.h.
Referenced by f_setvbuf(), read_chars(), and read_line().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:00 2011 by Doxygen 1.6.1