Ardour  8.7-14-g57a6773833
luaconf.h File Reference
#include <limits.h>
#include <stddef.h>
Include dependency graph for luaconf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LUAI_BITSINT   16
 
#define LUA_INT_INT   1
 
#define LUA_INT_LONG   2
 
#define LUA_INT_LONGLONG   3
 
#define LUA_FLOAT_FLOAT   1
 
#define LUA_FLOAT_DOUBLE   2
 
#define LUA_FLOAT_LONGDOUBLE   3
 
#define LUA_INT_TYPE   LUA_INT_LONGLONG
 
#define LUA_FLOAT_TYPE   LUA_FLOAT_DOUBLE
 
#define LUA_PATH_SEP   ";"
 
#define LUA_PATH_MARK   "?"
 
#define LUA_EXEC_DIR   "!"
 
#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_API   extern
 
#define LUALIB_API   LUA_API
 
#define LUAMOD_API   LUALIB_API
 
#define LUAI_FUNC   extern
 
#define LUAI_DDEC   LUAI_FUNC
 
#define LUAI_DDEF   /* empty */
 
#define l_floor(x)   (l_mathop(floor)(x))
 
#define lua_number2str(s, sz, n)    l_sprintf((s), sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)(n))
 
#define lua_numbertointeger(n, p)
 
#define LUA_NUMBER   double
 
#define l_mathlim(n)   (DBL_##n)
 
#define LUAI_UACNUMBER   double
 
#define LUA_NUMBER_FRMLEN   ""
 
#define LUA_NUMBER_FMT   "%.14g"
 
#define l_mathop(op)   op
 
#define lua_str2number(s, p)   strtod((s), (p))
 
#define LUA_INTEGER_FMT   "%" LUA_INTEGER_FRMLEN "d"
 
#define LUAI_UACINT   LUA_INTEGER
 
#define lua_integer2str(s, sz, n)    l_sprintf((s), sz, LUA_INTEGER_FMT, (LUAI_UACINT)(n))
 
#define LUA_UNSIGNED   unsigned LUAI_UACINT
 
#define l_sprintf(s, sz, f, i)   snprintf(s,sz,f,i)
 
#define lua_strx2number(s, p)   lua_str2number(s,p)
 
#define lua_pointer2str(buff, sz, p)   l_sprintf(buff,sz,"%p",p)
 
#define lua_number2strx(L, b, sz, f, n)    ((void)L, l_sprintf(b,sz,f,(LUAI_UACNUMBER)(n)))
 
#define LUA_KCONTEXT   ptrdiff_t
 
#define lua_getlocaledecpoint()   (localeconv()->decimal_point[0])
 
#define LUAI_MAXSTACK   15000
 
#define LUA_EXTRASPACE   (sizeof(void *))
 
#define LUA_IDSIZE   60
 
#define LUAL_BUFFERSIZE   ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))
 
#define LUA_QL(x)   "'" x "'"
 
#define LUA_QS   LUA_QL("%s")
 

Macro Definition Documentation

◆ l_floor

#define l_floor (   x)    (l_mathop(floor)(x))

Definition at line 434 of file luaconf.h.

◆ l_mathlim

#define l_mathlim (   n)    (DBL_##n)

Definition at line 490 of file luaconf.h.

◆ l_mathop

#define l_mathop (   op)    op

Definition at line 497 of file luaconf.h.

◆ l_sprintf

#define l_sprintf (   s,
  sz,
  f,
 
)    snprintf(s,sz,f,i)

Definition at line 606 of file luaconf.h.

◆ LUA_API

#define LUA_API   extern

Definition at line 254 of file luaconf.h.

◆ LUA_CDIR

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

Definition at line 205 of file luaconf.h.

◆ LUA_CPATH_DEFAULT

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

Definition at line 210 of file luaconf.h.

◆ LUA_DIRSEP

#define LUA_DIRSEP   "/"

Definition at line 223 of file luaconf.h.

◆ LUA_EXEC_DIR

#define LUA_EXEC_DIR   "!"

Definition at line 170 of file luaconf.h.

◆ LUA_EXTRASPACE

#define LUA_EXTRASPACE   (sizeof(void *))

Definition at line 740 of file luaconf.h.

◆ LUA_FLOAT_DOUBLE

#define LUA_FLOAT_DOUBLE   2

Definition at line 115 of file luaconf.h.

◆ LUA_FLOAT_FLOAT

#define LUA_FLOAT_FLOAT   1

Definition at line 114 of file luaconf.h.

◆ LUA_FLOAT_LONGDOUBLE

#define LUA_FLOAT_LONGDOUBLE   3

Definition at line 116 of file luaconf.h.

◆ LUA_FLOAT_TYPE

#define LUA_FLOAT_TYPE   LUA_FLOAT_DOUBLE

Definition at line 147 of file luaconf.h.

◆ lua_getlocaledecpoint

#define lua_getlocaledecpoint ( )    (localeconv()->decimal_point[0])

Definition at line 680 of file luaconf.h.

◆ LUA_IDSIZE

#define LUA_IDSIZE   60

Definition at line 748 of file luaconf.h.

◆ LUA_INT_INT

#define LUA_INT_INT   1

Definition at line 109 of file luaconf.h.

◆ LUA_INT_LONG

#define LUA_INT_LONG   2

Definition at line 110 of file luaconf.h.

◆ LUA_INT_LONGLONG

#define LUA_INT_LONGLONG   3

Definition at line 111 of file luaconf.h.

◆ LUA_INT_TYPE

#define LUA_INT_TYPE   LUA_INT_LONGLONG

Definition at line 143 of file luaconf.h.

◆ lua_integer2str

#define lua_integer2str (   s,
  sz,
 
)     l_sprintf((s), sz, LUA_INTEGER_FMT, (LUAI_UACINT)(n))

Definition at line 530 of file luaconf.h.

◆ LUA_INTEGER_FMT

#define LUA_INTEGER_FMT   "%" LUA_INTEGER_FRMLEN "d"

Definition at line 526 of file luaconf.h.

◆ LUA_KCONTEXT

#define LUA_KCONTEXT   ptrdiff_t

Definition at line 662 of file luaconf.h.

◆ LUA_LDIR

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

Definition at line 204 of file luaconf.h.

◆ LUA_NUMBER

#define LUA_NUMBER   double

Definition at line 488 of file luaconf.h.

◆ lua_number2str

#define lua_number2str (   s,
  sz,
 
)     l_sprintf((s), sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)(n))

Definition at line 436 of file luaconf.h.

◆ lua_number2strx

#define lua_number2strx (   L,
  b,
  sz,
  f,
 
)     ((void)L, l_sprintf(b,sz,f,(LUAI_UACNUMBER)(n)))

Definition at line 637 of file luaconf.h.

◆ LUA_NUMBER_FMT

#define LUA_NUMBER_FMT   "%.14g"

Definition at line 495 of file luaconf.h.

◆ LUA_NUMBER_FRMLEN

#define LUA_NUMBER_FRMLEN   ""

Definition at line 494 of file luaconf.h.

◆ lua_numbertointeger

#define lua_numbertointeger (   n,
 
)
Value:
((n) >= (LUA_NUMBER)(LUA_MININTEGER) && \
(n) < -(LUA_NUMBER)(LUA_MININTEGER) && \
(*(p) = (LUA_INTEGER)(n), 1))
#define LUA_NUMBER
Definition: luaconf.h:488

Definition at line 447 of file 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;" "./?/init.lua"
#define LUA_LDIR
Definition: luaconf.h:204
#define LUA_CDIR
Definition: luaconf.h:205

Definition at line 206 of file luaconf.h.

◆ LUA_PATH_MARK

#define LUA_PATH_MARK   "?"

Definition at line 169 of file luaconf.h.

◆ LUA_PATH_SEP

#define LUA_PATH_SEP   ";"

Definition at line 168 of file luaconf.h.

◆ lua_pointer2str

#define lua_pointer2str (   buff,
  sz,
 
)    l_sprintf(buff,sz,"%p",p)

Definition at line 627 of file luaconf.h.

◆ LUA_QL

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

Definition at line 772 of file luaconf.h.

◆ LUA_QS

#define LUA_QS   LUA_QL("%s")

Definition at line 773 of file luaconf.h.

◆ LUA_ROOT

#define LUA_ROOT   "/usr/local/"

Definition at line 203 of file luaconf.h.

◆ lua_str2number

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

Definition at line 499 of file luaconf.h.

◆ lua_strx2number

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

Definition at line 619 of file luaconf.h.

◆ LUA_UNSIGNED

#define LUA_UNSIGNED   unsigned LUAI_UACINT

Definition at line 537 of file luaconf.h.

◆ LUA_VDIR

#define LUA_VDIR   LUA_VERSION_MAJOR "." LUA_VERSION_MINOR

Definition at line 182 of file luaconf.h.

◆ LUAI_BITSINT

#define LUAI_BITSINT   16

Definition at line 94 of file luaconf.h.

◆ LUAI_DDEC

#define LUAI_DDEC   LUAI_FUNC

Definition at line 285 of file luaconf.h.

◆ LUAI_DDEF

#define LUAI_DDEF   /* empty */

Definition at line 286 of file luaconf.h.

◆ LUAI_FUNC

#define LUAI_FUNC   extern

Definition at line 282 of file luaconf.h.

◆ LUAI_MAXSTACK

#define LUAI_MAXSTACK   15000

Definition at line 731 of file luaconf.h.

◆ LUAI_UACINT

#define LUAI_UACINT   LUA_INTEGER

Definition at line 528 of file luaconf.h.

◆ LUAI_UACNUMBER

#define LUAI_UACNUMBER   double

Definition at line 492 of file luaconf.h.

◆ LUAL_BUFFERSIZE

#define LUAL_BUFFERSIZE   ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))

Definition at line 761 of file luaconf.h.

◆ LUALIB_API

#define LUALIB_API   LUA_API

Definition at line 260 of file luaconf.h.

◆ LUAMOD_API

#define LUAMOD_API   LUALIB_API

Definition at line 261 of file luaconf.h.