luaconf.h File Reference

#include <limits.h>
#include <stddef.h>
#include <common/fixed.h>
#include "lfixed.h"
#include <math.h>

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_API   extern
#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 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   2048
#define LUAI_MAXCCALLS   200
#define LUAI_MAXVARS   200
#define LUAI_MAXUPVALUES   60
#define LUAL_BUFFERSIZE   BUFSIZ
#define LUA_NUMBER   int
#define LUAI_UACNUMBER   int
#define lua_number2str(s, n)   fixed_lua_number2str((s), (n))
#define LUAI_MAXNUMBER2STR   32
#define lua_str2number(s, p)   fixed_lua_str2number((s), (p))
#define lua_number2int(i, d)   (i=fixed_lua_number2int(d))
#define lua_number2integer(i, n)   lua_number2int(i, n)
#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_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 Documentation

#define LUA_API   extern

Definition at line 168 of file luaconf.h.

#define LUA_CDIR   LUA_ROOT "lib/lua/5.1/"

Definition at line 103 of file luaconf.h.

#define LUA_COMPAT_GFIND

Definition at line 362 of file luaconf.h.

#define LUA_COMPAT_LSTR   1

Definition at line 355 of file luaconf.h.

#define LUA_COMPAT_MOD

Definition at line 347 of file luaconf.h.

#define LUA_COMPAT_OPENLIB

Definition at line 370 of file luaconf.h.

#define LUA_COMPAT_VARARG

Definition at line 340 of file luaconf.h.

#define LUA_CPATH   "LUA_CPATH"

Definition at line 74 of file luaconf.h.

Referenced by luaopen_package().

#define LUA_CPATH_DEFAULT   "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so"

Definition at line 107 of file luaconf.h.

Referenced by luaopen_package().

#define LUA_DIRSEP   "/"

Definition at line 120 of file luaconf.h.

Referenced by findfile(), and luaopen_package().

#define LUA_EXECDIR   "!"

Definition at line 138 of file luaconf.h.

Referenced by luaopen_package().

#define LUA_IDSIZE   60

Definition at line 214 of file luaconf.h.

Referenced by addinfo(), funcinfo(), and info_tailcall().

#define LUA_IGMARK   "-"

Definition at line 139 of file luaconf.h.

Referenced by luaopen_package(), and mkfuncname().

#define LUA_INIT   "LUA_INIT"

Definition at line 75 of file luaconf.h.

Referenced by handle_luainit().

#define LUA_INTEGER   ptrdiff_t

Definition at line 147 of file luaconf.h.

#define LUA_INTFRM_T   long

Definition at line 722 of file luaconf.h.

Referenced by str_format().

#define LUA_INTFRMLEN   "l"

Definition at line 721 of file luaconf.h.

Referenced by addintlen().

#define LUA_LDIR   LUA_ROOT "share/lua/5.1/"

Definition at line 102 of file luaconf.h.

#define LUA_MAXCAPTURES   32

Definition at line 608 of file luaconf.h.

Referenced by start_capture().

#define LUA_NUMBER   int

Definition at line 508 of file luaconf.h.

#define lua_number2int ( i,
 )     (i=fixed_lua_number2int(d))

Definition at line 556 of file luaconf.h.

Referenced by arrayindex(), and luaH_get().

#define lua_number2integer ( i,
n   )     lua_number2int(i, n)

Definition at line 557 of file luaconf.h.

Referenced by lua_tointeger().

#define lua_number2str ( s,
n   )     fixed_lua_number2str((s), (n))

Definition at line 524 of file luaconf.h.

Referenced by luaV_tostring().

#define LUA_PATH   "LUA_PATH"

Definition at line 73 of file luaconf.h.

Referenced by luaopen_package().

#define LUA_PATH_DEFAULT

Value:

"./?.lua;"  LUA_LDIR"?.lua;"  LUA_LDIR"?/init.lua;" \
                            LUA_CDIR"?.lua;"  LUA_CDIR"?/init.lua"

Definition at line 104 of file luaconf.h.

Referenced by luaopen_package().

#define LUA_PATH_MARK   "?"

Definition at line 137 of file luaconf.h.

Referenced by findfile(), and luaopen_package().

#define LUA_PATHSEP   ";"

Definition at line 136 of file luaconf.h.

Referenced by luaopen_package(), pushnexttemplate(), and setpath().

#define lua_pclose ( L,
file   )     ((void)((void)L, file), 0)

Definition at line 657 of file luaconf.h.

Referenced by io_pclose().

#define lua_popen ( L,
c,
 ) 

Value:

((void)((void)c, m),  \
                luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)

Definition at line 655 of file luaconf.h.

Referenced by io_popen().

#define LUA_QL ( x   )     "'" x "'"

Definition at line 205 of file luaconf.h.

Referenced by classend(), db_setfenv(), doargs(), dotty(), findfile(), findindex(), forstat(), gfind_nodef(), incomplete(), ll_require(), loader_preload(), luaB_print(), luaB_setfenv(), match(), parlist(), print_usage(), setn(), simpleexp(), str_format(), tinsert(), and usage().

#define LUA_QS   LUA_QL("%s")

Definition at line 206 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_ROOT   "/usr/local/"

Definition at line 101 of file luaconf.h.

#define lua_str2number ( s,
p   )     fixed_lua_str2number((s), (p))

Definition at line 526 of file luaconf.h.

Referenced by luaO_str2d().

#define luai_apicheck ( L,
 )     { (void)L; }

Definition at line 385 of file luaconf.h.

Referenced by lua_getinfo().

#define LUAI_BITSINT   16

Definition at line 396 of file luaconf.h.

#define LUAI_DATA   extern

Definition at line 196 of file luaconf.h.

#define LUAI_EXTRASPACE   0

Definition at line 690 of file luaconf.h.

#define LUAI_FUNC   extern

Definition at line 195 of file luaconf.h.

#define LUAI_GCMUL   200

Definition at line 317 of file luaconf.h.

Referenced by lua_newstate().

#define LUAI_GCPAUSE   200

Definition at line 306 of file luaconf.h.

Referenced by lua_newstate().

#define LUAI_INT32   long

Definition at line 426 of file luaconf.h.

#define luai_jmpbuf   jmp_buf

Definition at line 598 of file luaconf.h.

#define LUAI_MAXCALLS   20000

Definition at line 439 of file luaconf.h.

Referenced by checkstacksizes(), growCI(), and restore_stack_limit().

#define LUAI_MAXCCALLS   200

Definition at line 471 of file luaconf.h.

Referenced by enterlevel(), and luaD_call().

#define LUAI_MAXCSTACK   2048

Definition at line 449 of file luaconf.h.

Referenced by lua_checkstack().

#define LUAI_MAXINT32   LONG_MAX

Definition at line 427 of file luaconf.h.

#define LUAI_MAXNUMBER2STR   32

Definition at line 525 of file luaconf.h.

Referenced by luaV_tostring().

#define LUAI_MAXUPVALUES   60

Definition at line 485 of file luaconf.h.

Referenced by indexupvalue().

#define LUAI_MAXVARS   200

Definition at line 478 of file luaconf.h.

Referenced by new_localvar().

#define LUAI_MEM   long

Definition at line 429 of file luaconf.h.

#define LUAI_THROW ( L,
c   )     longjmp((c)->b, 1)

Definition at line 596 of file luaconf.h.

Referenced by luaD_throw().

#define LUAI_TRY ( L,
c,
a   )     if (setjmp((c)->b) == 0) { a }

Definition at line 597 of file luaconf.h.

Referenced by luaD_rawrunprotected().

#define LUAI_UACNUMBER   int

Definition at line 514 of file luaconf.h.

#define LUAI_UINT32   unsigned long

Definition at line 425 of file luaconf.h.

#define LUAI_UMEM   unsigned long

Definition at line 428 of file luaconf.h.

#define LUAI_USER_ALIGNMENT_T   union { double u; void *s; long l; }

Definition at line 570 of file luaconf.h.

#define luai_userstateclose (  )     ((void)L)

Definition at line 699 of file luaconf.h.

Referenced by lua_close().

#define luai_userstatefree (  )     ((void)L)

Definition at line 701 of file luaconf.h.

Referenced by luaE_freethread().

#define luai_userstateopen (  )     ((void)L)

Definition at line 698 of file luaconf.h.

Referenced by lua_newstate().

#define luai_userstateresume ( L,
n   )     ((void)L)

Definition at line 702 of file luaconf.h.

Referenced by lua_resume().

#define luai_userstatethread ( L,
L1   )     ((void)L)

Definition at line 700 of file luaconf.h.

Referenced by lua_newthread().

#define luai_userstateyield ( L,
n   )     ((void)L)

Definition at line 703 of file luaconf.h.

Referenced by lua_yield().

#define LUAL_BUFFERSIZE   BUFSIZ

Definition at line 491 of file luaconf.h.

Referenced by f_setvbuf(), getF(), read_chars(), and read_line().

#define LUALIB_API   LUA_API

Definition at line 173 of file luaconf.h.


Generated on Mon Feb 16 15:14:58 2009 for Scorched3D by  doxygen 1.5.3