Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
luaconf.h File Reference
#include <limits.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#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 /* 200% (wait memory to double before next GC) */
 
#define LUAI_GCMUL   200 /* GC runs 'twice the speed' of memory allocation */
 
#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 /* 16 digits, sign, point, and \0 */
 
#define lua_str2number(s, p)   strtod((s), (p))
 
#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_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
 

Macro Definition Documentation

◆ LUA_API

#define LUA_API   extern

Definition at line 164 of file lua-5.1.5/src/luaconf.h.

◆ LUA_CDIR

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

Definition at line 99 of file lua-5.1.5/src/luaconf.h.

◆ LUA_COMPAT_GFIND

#define LUA_COMPAT_GFIND

Definition at line 358 of file lua-5.1.5/src/luaconf.h.

◆ LUA_COMPAT_LSTR

#define LUA_COMPAT_LSTR   1

Definition at line 351 of file lua-5.1.5/src/luaconf.h.

◆ LUA_COMPAT_MOD

#define LUA_COMPAT_MOD

Definition at line 343 of file lua-5.1.5/src/luaconf.h.

◆ LUA_COMPAT_OPENLIB

#define LUA_COMPAT_OPENLIB

Definition at line 366 of file lua-5.1.5/src/luaconf.h.

◆ LUA_COMPAT_VARARG

#define LUA_COMPAT_VARARG

Definition at line 336 of file lua-5.1.5/src/luaconf.h.

◆ LUA_CPATH

#define LUA_CPATH   "LUA_CPATH"

Definition at line 70 of file lua-5.1.5/src/luaconf.h.

Referenced by luaopen_package().

◆ LUA_CPATH_DEFAULT

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

Definition at line 103 of file lua-5.1.5/src/luaconf.h.

103#define LUA_CPATH_DEFAULT \
104 "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so"

Referenced by luaopen_package().

◆ LUA_DIRSEP

#define LUA_DIRSEP   "/"

◆ LUA_EXECDIR

#define LUA_EXECDIR   "!"

Definition at line 134 of file lua-5.1.5/src/luaconf.h.

Referenced by luaopen_package().

◆ LUA_IDSIZE

#define LUA_IDSIZE   60

◆ LUA_IGMARK

#define LUA_IGMARK   "-"

Definition at line 135 of file lua-5.1.5/src/luaconf.h.

Referenced by luaopen_package(), and mkfuncname().

◆ LUA_INIT

#define LUA_INIT   "LUA_INIT"

Definition at line 71 of file lua-5.1.5/src/luaconf.h.

Referenced by handle_luainit().

◆ LUA_INTEGER

#define LUA_INTEGER   ptrdiff_t

Definition at line 143 of file lua-5.1.5/src/luaconf.h.

◆ LUA_INTFRM_T

#define LUA_INTFRM_T   long

Definition at line 747 of file lua-5.1.5/src/luaconf.h.

Referenced by str_format().

◆ LUA_INTFRMLEN

#define LUA_INTFRMLEN   "l"

Definition at line 746 of file lua-5.1.5/src/luaconf.h.

Referenced by addintlen().

◆ LUA_LDIR

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

Definition at line 98 of file lua-5.1.5/src/luaconf.h.

◆ LUA_MAXCAPTURES

#define LUA_MAXCAPTURES   32

Definition at line 633 of file lua-5.1.5/src/luaconf.h.

Referenced by start_capture().

◆ LUA_NUMBER

#define LUA_NUMBER   double

Definition at line 505 of file lua-5.1.5/src/luaconf.h.

◆ lua_number2int

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

Definition at line 580 of file lua-5.1.5/src/luaconf.h.

Referenced by addk(), arrayindex(), arrayindex(), and luaH_get().

◆ lua_number2integer

#define lua_number2integer ( i,
d )   ((i)=(lua_Integer)(d))

Definition at line 581 of file lua-5.1.5/src/luaconf.h.

Referenced by lua_tointeger(), and lua_tointegerx().

◆ lua_number2str

#define lua_number2str ( s,
n )   sprintf((s), LUA_NUMBER_FMT, (n))

Definition at line 523 of file lua-5.1.5/src/luaconf.h.

Referenced by luaO_tostring(), luaV_tostring(), and tostringbuff().

◆ LUA_NUMBER_DOUBLE

#define LUA_NUMBER_DOUBLE

Definition at line 504 of file lua-5.1.5/src/luaconf.h.

◆ LUA_NUMBER_FMT

#define LUA_NUMBER_FMT   "%.14g"

◆ LUA_NUMBER_SCAN

#define LUA_NUMBER_SCAN   "%lf"

Definition at line 521 of file lua-5.1.5/src/luaconf.h.

Referenced by read_number(), and read_number().

◆ LUA_PATH

#define LUA_PATH   "LUA_PATH"

Definition at line 69 of file lua-5.1.5/src/luaconf.h.

Referenced by luaopen_package().

◆ LUA_PATH_DEFAULT

#define LUA_PATH_DEFAULT
Value:
"./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"
#define LUA_LDIR
#define LUA_CDIR

Definition at line 100 of file lua-5.1.5/src/luaconf.h.

100#define LUA_PATH_DEFAULT \
101 "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
102 LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"

Referenced by luaopen_package().

◆ LUA_PATH_MARK

#define LUA_PATH_MARK   "?"

Definition at line 133 of file lua-5.1.5/src/luaconf.h.

Referenced by findfile(), luaopen_package(), searchpath(), and searchpath().

◆ LUA_PATHSEP

#define LUA_PATHSEP   ";"

Definition at line 132 of file lua-5.1.5/src/luaconf.h.

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

◆ lua_pclose

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

Definition at line 682 of file lua-5.1.5/src/luaconf.h.

Referenced by io_pclose().

◆ lua_popen

#define lua_popen ( L,
c,
m )
Value:
((void)((void)c, m), \
luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
LUALIB_API int luaL_error(lua_State *L, const char *fmt,...)
#define LUA_QL(x)

Definition at line 680 of file lua-5.1.5/src/luaconf.h.

680#define lua_popen(L,c,m) ((void)((void)c, m), \
681 luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)

Referenced by io_popen().

◆ LUA_QL

◆ LUA_QS

◆ LUA_ROOT

#define LUA_ROOT   "/usr/local/"

Definition at line 97 of file lua-5.1.5/src/luaconf.h.

◆ lua_str2number

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

Definition at line 525 of file lua-5.1.5/src/luaconf.h.

Referenced by l_str2dloc(), l_str2dloc(), luaO_str2d(), and luaO_str2d().

◆ luai_apicheck

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

Definition at line 381 of file lua-5.1.5/src/luaconf.h.

Referenced by lua_getinfo().

◆ LUAI_BITSINT

#define LUAI_BITSINT   16

Definition at line 392 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_DATA

#define LUAI_DATA   extern

Definition at line 192 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_EXTRASPACE

#define LUAI_EXTRASPACE   0

Definition at line 715 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_FUNC

#define LUAI_FUNC   extern

Definition at line 191 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_GCMUL

#define LUAI_GCMUL   200 /* GC runs 'twice the speed' of memory allocation */

Definition at line 313 of file lua-5.1.5/src/luaconf.h.

Referenced by lua_newstate().

◆ LUAI_GCPAUSE

#define LUAI_GCPAUSE   200 /* 200% (wait memory to double before next GC) */

Definition at line 302 of file lua-5.1.5/src/luaconf.h.

Referenced by lua_newstate().

◆ LUAI_INT32

#define LUAI_INT32   long

Definition at line 422 of file lua-5.1.5/src/luaconf.h.

◆ luai_jmpbuf

#define luai_jmpbuf   jmp_buf

Definition at line 623 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_MAXCALLS

#define LUAI_MAXCALLS   20000

Definition at line 435 of file lua-5.1.5/src/luaconf.h.

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

◆ LUAI_MAXCCALLS

◆ LUAI_MAXCSTACK

#define LUAI_MAXCSTACK   8000

Definition at line 446 of file lua-5.1.5/src/luaconf.h.

Referenced by lua_checkstack().

◆ LUAI_MAXINT32

#define LUAI_MAXINT32   LONG_MAX

Definition at line 423 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_MAXNUMBER2STR

#define LUAI_MAXNUMBER2STR   32 /* 16 digits, sign, point, and \0 */

Definition at line 524 of file lua-5.1.5/src/luaconf.h.

Referenced by luaV_tostring().

◆ LUAI_MAXUPVALUES

#define LUAI_MAXUPVALUES   60

Definition at line 482 of file lua-5.1.5/src/luaconf.h.

Referenced by indexupvalue().

◆ LUAI_MAXVARS

#define LUAI_MAXVARS   200

Definition at line 475 of file lua-5.1.5/src/luaconf.h.

Referenced by new_localvar().

◆ LUAI_MEM

#define LUAI_MEM   long

Definition at line 425 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_THROW

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

Definition at line 621 of file lua-5.1.5/src/luaconf.h.

Referenced by luaD_throw().

◆ LUAI_TRY

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

Definition at line 622 of file lua-5.1.5/src/luaconf.h.

Referenced by luaD_rawrunprotected().

◆ LUAI_UACNUMBER

#define LUAI_UACNUMBER   double

◆ LUAI_UINT32

#define LUAI_UINT32   unsigned long

Definition at line 421 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_UMEM

#define LUAI_UMEM   unsigned long

Definition at line 424 of file lua-5.1.5/src/luaconf.h.

◆ LUAI_USER_ALIGNMENT_T

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

Definition at line 595 of file lua-5.1.5/src/luaconf.h.

◆ luai_userstateclose

#define luai_userstateclose ( L)    ((void)L)

Definition at line 724 of file lua-5.1.5/src/luaconf.h.

Referenced by close_state(), close_state(), close_state(), and lua_close().

◆ luai_userstatefree

#define luai_userstatefree ( L)    ((void)L)

Definition at line 726 of file lua-5.1.5/src/luaconf.h.

Referenced by luaE_freethread().

◆ luai_userstateopen

#define luai_userstateopen ( L)    ((void)L)

Definition at line 723 of file lua-5.1.5/src/luaconf.h.

Referenced by f_luaopen(), f_luaopen(), f_luaopen(), and lua_newstate().

◆ luai_userstateresume

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

Definition at line 727 of file lua-5.1.5/src/luaconf.h.

Referenced by lua_resume(), lua_resume(), and lua_resume().

◆ luai_userstatethread

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

Definition at line 725 of file lua-5.1.5/src/luaconf.h.

Referenced by lua_newthread().

◆ luai_userstateyield

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

Definition at line 728 of file lua-5.1.5/src/luaconf.h.

Referenced by lua_yield(), lua_yieldk(), and lua_yieldk().

◆ LUAL_BUFFERSIZE

◆ LUALIB_API

#define LUALIB_API   LUA_API

Definition at line 169 of file lua-5.1.5/src/luaconf.h.