Macros
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 l_floor(x)   (l_mathop(floor)(x))
 
#define l_sprintf(s, sz, f, i)   snprintf(s,sz,f,i)
 
#define LUA_32BITS   0
 
#define LUA_API   extern
 
#define LUA_C89_NUMBERS   0
 
#define LUA_CDIR   LUA_ROOT "lib/lua/" LUA_VDIR "/"
 
#define LUA_CPATH_DEFAULT   LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so"
 
#define LUA_DIRSEP   "/"
 
#define LUA_EXEC_DIR   "!"
 
#define LUA_EXTRASPACE   (sizeof(void *))
 
#define LUA_FLOAT_DEFAULT   LUA_FLOAT_DOUBLE
 
#define LUA_FLOAT_DOUBLE   2
 
#define LUA_FLOAT_FLOAT   1
 
#define LUA_FLOAT_LONGDOUBLE   3
 
#define LUA_FLOAT_TYPE   LUA_FLOAT_DEFAULT
 
#define lua_getlocaledecpoint()   (localeconv()->decimal_point[0])
 
#define LUA_IDSIZE   60
 
#define LUA_INT_DEFAULT   LUA_INT_LONGLONG
 
#define LUA_INT_INT   1
 
#define LUA_INT_LONG   2
 
#define LUA_INT_LONGLONG   3
 
#define LUA_INT_TYPE   LUA_INT_DEFAULT
 
#define lua_integer2str(s, sz, n)   l_sprintf((s), sz, LUA_INTEGER_FMT, (LUAI_UACINT)(n))
 
#define LUA_INTEGER_FMT   "%" LUA_INTEGER_FRMLEN "d"
 
#define LUA_KCONTEXT   ptrdiff_t
 
#define LUA_LDIR   LUA_ROOT "share/lua/" LUA_VDIR "/"
 
#define lua_number2str(s, sz, n)   l_sprintf((s), sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)(n))
 
#define lua_number2strx(L, b, sz, f, n)   ((void)L, l_sprintf(b,sz,f,(LUAI_UACNUMBER)(n)))
 
#define lua_numbertointeger(n, p)
 
#define LUA_PATH_DEFAULT
 
#define LUA_PATH_MARK   "?"
 
#define LUA_PATH_SEP   ";"
 
#define lua_pointer2str(buff, sz, p)   l_sprintf(buff,sz,"%p",p)
 
#define LUA_ROOT   "/usr/local/"
 
#define lua_strx2number(s, p)   lua_str2number(s,p)
 
#define LUA_UNSIGNED   unsigned LUAI_UACINT
 
#define LUA_UNSIGNEDBITS   (sizeof(LUA_UNSIGNED) * CHAR_BIT)
 
#define LUA_VDIR   LUA_VERSION_MAJOR "." LUA_VERSION_MINOR
 
#define LUAI_DDEC(dec)   LUAI_FUNC dec
 
#define LUAI_DDEF   /* empty */
 
#define LUAI_FUNC   extern
 
#define LUAI_IS32INT   ((UINT_MAX >> 30) >= 3)
 
#define luai_likely(x)   (x)
 
#define LUAI_MAXALIGN   lua_Number n; double u; void *s; lua_Integer i; long l
 
#define LUAI_MAXSTACK   15000
 
#define LUAI_UACINT   LUA_INTEGER
 
#define luai_unlikely(x)   (x)
 
#define LUAL_BUFFERSIZE   ((int)(16 * sizeof(void*) * sizeof(lua_Number)))
 
#define LUALIB_API   LUA_API
 
#define LUAMOD_API   LUA_API
 

Macro Definition Documentation

◆ l_floor

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

Definition at line 403 of file luaconf.h.

◆ l_sprintf

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

Definition at line 586 of file luaconf.h.

◆ LUA_32BITS

#define LUA_32BITS   0

Definition at line 119 of file luaconf.h.

◆ LUA_API

#define LUA_API   extern

Definition at line 282 of file luaconf.h.

◆ LUA_C89_NUMBERS

#define LUA_C89_NUMBERS   0

Definition at line 130 of file luaconf.h.

◆ LUA_CDIR

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

Definition at line 222 of file luaconf.h.

◆ LUA_CPATH_DEFAULT

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

Definition at line 232 of file luaconf.h.

◆ LUA_DIRSEP

#define LUA_DIRSEP   "/"

Definition at line 249 of file luaconf.h.

◆ LUA_EXEC_DIR

#define LUA_EXEC_DIR   "!"

Definition at line 180 of file luaconf.h.

◆ LUA_EXTRASPACE

#define LUA_EXTRASPACE   (sizeof(void *))

Definition at line 749 of file luaconf.h.

◆ LUA_FLOAT_DEFAULT

#define LUA_FLOAT_DEFAULT   LUA_FLOAT_DOUBLE

Definition at line 113 of file luaconf.h.

◆ LUA_FLOAT_DOUBLE

#define LUA_FLOAT_DOUBLE   2

Definition at line 107 of file luaconf.h.

◆ LUA_FLOAT_FLOAT

#define LUA_FLOAT_FLOAT   1

Definition at line 106 of file luaconf.h.

◆ LUA_FLOAT_LONGDOUBLE

#define LUA_FLOAT_LONGDOUBLE   3

Definition at line 108 of file luaconf.h.

◆ LUA_FLOAT_TYPE

#define LUA_FLOAT_TYPE   LUA_FLOAT_DEFAULT

Definition at line 156 of file luaconf.h.

◆ lua_getlocaledecpoint

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

Definition at line 660 of file luaconf.h.

◆ LUA_IDSIZE

#define LUA_IDSIZE   60

Definition at line 757 of file luaconf.h.

◆ LUA_INT_DEFAULT

#define LUA_INT_DEFAULT   LUA_INT_LONGLONG

Definition at line 112 of file luaconf.h.

◆ LUA_INT_INT

#define LUA_INT_INT   1

Definition at line 101 of file luaconf.h.

◆ LUA_INT_LONG

#define LUA_INT_LONG   2

Definition at line 102 of file luaconf.h.

◆ LUA_INT_LONGLONG

#define LUA_INT_LONGLONG   3

Definition at line 103 of file luaconf.h.

◆ LUA_INT_TYPE

#define LUA_INT_TYPE   LUA_INT_DEFAULT

Definition at line 155 of file luaconf.h.

◆ lua_integer2str

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

Definition at line 499 of file luaconf.h.

◆ LUA_INTEGER_FMT

#define LUA_INTEGER_FMT   "%" LUA_INTEGER_FRMLEN "d"

Definition at line 495 of file luaconf.h.

◆ LUA_KCONTEXT

#define LUA_KCONTEXT   ptrdiff_t

Definition at line 642 of file luaconf.h.

◆ LUA_LDIR

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

Definition at line 221 of file luaconf.h.

◆ lua_number2str

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

Definition at line 405 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 617 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))

Definition at line 417 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"

Definition at line 225 of file luaconf.h.

◆ LUA_PATH_MARK

#define LUA_PATH_MARK   "?"

Definition at line 179 of file luaconf.h.

◆ LUA_PATH_SEP

#define LUA_PATH_SEP   ";"

Definition at line 178 of file luaconf.h.

◆ lua_pointer2str

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

Definition at line 607 of file luaconf.h.

◆ LUA_ROOT

#define LUA_ROOT   "/usr/local/"

Definition at line 220 of file luaconf.h.

◆ lua_strx2number

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

Definition at line 599 of file luaconf.h.

◆ LUA_UNSIGNED

#define LUA_UNSIGNED   unsigned LUAI_UACINT

Definition at line 506 of file luaconf.h.

◆ LUA_UNSIGNEDBITS

#define LUA_UNSIGNEDBITS   (sizeof(LUA_UNSIGNED) * CHAR_BIT)

Definition at line 509 of file luaconf.h.

◆ LUA_VDIR

#define LUA_VDIR   LUA_VERSION_MAJOR "." LUA_VERSION_MINOR

Definition at line 193 of file luaconf.h.

◆ LUAI_DDEC

#define LUAI_DDEC (   dec)    LUAI_FUNC dec

Definition at line 315 of file luaconf.h.

◆ LUAI_DDEF

#define LUAI_DDEF   /* empty */

Definition at line 316 of file luaconf.h.

◆ LUAI_FUNC

#define LUAI_FUNC   extern

Definition at line 312 of file luaconf.h.

◆ LUAI_IS32INT

#define LUAI_IS32INT   ((UINT_MAX >> 30) >= 3)

Definition at line 76 of file luaconf.h.

◆ luai_likely

#define luai_likely (   x)    (x)

Definition at line 676 of file luaconf.h.

◆ LUAI_MAXALIGN

#define LUAI_MAXALIGN   lua_Number n; double u; void *s; lua_Integer i; long l

Definition at line 770 of file luaconf.h.

◆ LUAI_MAXSTACK

#define LUAI_MAXSTACK   15000

Definition at line 740 of file luaconf.h.

◆ LUAI_UACINT

#define LUAI_UACINT   LUA_INTEGER

Definition at line 497 of file luaconf.h.

◆ luai_unlikely

#define luai_unlikely (   x)    (x)

Definition at line 677 of file luaconf.h.

◆ LUAL_BUFFERSIZE

#define LUAL_BUFFERSIZE   ((int)(16 * sizeof(void*) * sizeof(lua_Number)))

Definition at line 763 of file luaconf.h.

◆ LUALIB_API

#define LUALIB_API   LUA_API

Definition at line 290 of file luaconf.h.

◆ LUAMOD_API

#define LUAMOD_API   LUA_API

Definition at line 291 of file luaconf.h.

LUA_LDIR
#define LUA_LDIR
Definition: luaconf.h:221
LUA_CDIR
#define LUA_CDIR
Definition: luaconf.h:222


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:28