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_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 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
 

Macro Definition Documentation

◆ l_mathop

◆ LUA_API

#define LUA_API   extern

Definition at line 153 of file lua-5.2.4/src/luaconf.h.

◆ LUA_CDIR

#define LUA_CDIR   LUA_ROOT "lib/lua/" LUA_VDIR

Definition at line 105 of file lua-5.2.4/src/luaconf.h.

◆ LUA_CPATH_DEFAULT

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

Definition at line 109 of file lua-5.2.4/src/luaconf.h.

109#define LUA_CPATH_DEFAULT \
110 LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so"

◆ LUA_DIRSEP

#define LUA_DIRSEP   "/"

Definition at line 122 of file lua-5.2.4/src/luaconf.h.

◆ LUA_ENV

#define LUA_ENV   "_ENV"

Definition at line 131 of file lua-5.2.4/src/luaconf.h.

Referenced by getobjname(), getobjname(), gxf(), luaX_init(), and luaX_setinput().

◆ LUA_IDSIZE

#define LUA_IDSIZE   60

Definition at line 204 of file lua-5.2.4/src/luaconf.h.

◆ LUA_IEEE754TRICK

#define LUA_IEEE754TRICK

Definition at line 530 of file lua-5.2.4/src/luaconf.h.

◆ LUA_INT32

#define LUA_INT32   long

Definition at line 344 of file lua-5.2.4/src/luaconf.h.

◆ LUA_INTEGER

#define LUA_INTEGER   ptrdiff_t

Definition at line 460 of file lua-5.2.4/src/luaconf.h.

◆ LUA_LDIR

#define LUA_LDIR   LUA_ROOT "share/lua/" LUA_VDIR

Definition at line 104 of file lua-5.2.4/src/luaconf.h.

◆ LUA_NUMBER

#define LUA_NUMBER   double

Definition at line 387 of file lua-5.2.4/src/luaconf.h.

◆ lua_number2str

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

Definition at line 404 of file lua-5.2.4/src/luaconf.h.

◆ LUA_NUMBER_DOUBLE

#define LUA_NUMBER_DOUBLE

Definition at line 386 of file lua-5.2.4/src/luaconf.h.

◆ LUA_NUMBER_FMT

#define LUA_NUMBER_FMT   "%.14g"

Definition at line 403 of file lua-5.2.4/src/luaconf.h.

◆ LUA_NUMBER_SCAN

#define LUA_NUMBER_SCAN   "%lf"

Definition at line 402 of file lua-5.2.4/src/luaconf.h.

◆ LUA_PATH_DEFAULT

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

Definition at line 106 of file lua-5.2.4/src/luaconf.h.

106#define LUA_PATH_DEFAULT \
107 LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
108 LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" "./?.lua"

◆ LUA_QL

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

Definition at line 195 of file lua-5.2.4/src/luaconf.h.

◆ LUA_QS

#define LUA_QS   LUA_QL("%s")

Definition at line 196 of file lua-5.2.4/src/luaconf.h.

◆ LUA_ROOT

#define LUA_ROOT   "/usr/local/"

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

◆ lua_str2number

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

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

◆ LUA_UNSIGNED

#define LUA_UNSIGNED   unsigned LUA_INT32

Definition at line 466 of file lua-5.2.4/src/luaconf.h.

◆ LUA_VDIR

#define LUA_VDIR   LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"

Definition at line 102 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_BITSINT

#define LUAI_BITSINT   16

Definition at line 319 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_DDEC

#define LUAI_DDEC   extern

Definition at line 185 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_DDEF

#define LUAI_DDEF   /* empty */

Definition at line 186 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_FIRSTPSEUDOIDX

#define LUAI_FIRSTPSEUDOIDX   (-LUAI_MAXSTACK - 1000)

Definition at line 363 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_FUNC

#define LUAI_FUNC   extern

Definition at line 184 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_MAXNUMBER2STR

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

Definition at line 405 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_MAXSHORTLEN

#define LUAI_MAXSHORTLEN   40

Definition at line 232 of file lua-5.2.4/src/luaconf.h.

Referenced by LoadString(), loadStringN(), luaS_newlstr(), and luaV_concat().

◆ LUAI_MAXSTACK

◆ LUAI_MEM

#define LUAI_MEM   long

Definition at line 346 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_UACNUMBER

#define LUAI_UACNUMBER   double

Definition at line 393 of file lua-5.2.4/src/luaconf.h.

◆ LUAI_UMEM

#define LUAI_UMEM   unsigned long

Definition at line 345 of file lua-5.2.4/src/luaconf.h.

◆ luai_writestringerror

#define luai_writestringerror ( s,
p )    (fprintf(stderr, (s), (p)), fflush(stderr))

Definition at line 222 of file lua-5.2.4/src/luaconf.h.

222#define luai_writestringerror(s,p) \
223 (fprintf(stderr, (s), (p)), fflush(stderr))

Referenced by db_debug(), l_message(), panic(), and print_usage().

◆ LUAL_BUFFERSIZE

#define LUAL_BUFFERSIZE   BUFSIZ

Definition at line 372 of file lua-5.2.4/src/luaconf.h.

◆ LUALIB_API

#define LUALIB_API   LUA_API

Definition at line 159 of file lua-5.2.4/src/luaconf.h.

◆ LUAMOD_API

#define LUAMOD_API   LUALIB_API

Definition at line 160 of file lua-5.2.4/src/luaconf.h.