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_floatatt(n)   (DBL_##n)
 
#define l_floor(x)   (l_mathop(floor)(x))
 
#define l_mathop(op)   op
 
#define l_sprintf(s, sz, f, i)   snprintf(s,sz,f,i)
 
#define LUA_API   extern
 
#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_DOUBLE   2
 
#define LUA_FLOAT_FLOAT   1
 
#define LUA_FLOAT_LONGDOUBLE   3
 
#define LUA_FLOAT_TYPE   LUA_FLOAT_DOUBLE
 
#define lua_getlocaledecpoint()   (localeconv()->decimal_point[0])
 
#define LUA_IDSIZE   60
 
#define LUA_INT_INT   1
 
#define LUA_INT_LONG   2
 
#define LUA_INT_LONGLONG   3
 
#define LUA_INT_TYPE   LUA_INT_LONGLONG
 
#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_NUMBER   double
 
#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_NUMBER_FMT   "%.14g"
 
#define LUA_NUMBER_FRMLEN   ""
 
#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_str2number(s, p)   strtod((s), (p))
 
#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_MAXALIGN   lua_Number n; double u; void *s; lua_Integer i; long l
 
#define LUAI_MAXCSTACK   2000
 
#define LUAI_MAXSTACK   15000
 
#define LUAI_UACINT   LUA_INTEGER
 
#define LUAI_UACNUMBER   double
 
#define LUAL_BUFFERSIZE   ((int)(16 * sizeof(void*) * sizeof(lua_Number)))
 
#define LUALIB_API   LUA_API
 
#define LUAMOD_API   LUA_API
 

Macro Definition Documentation

#define l_floatatt (   n)    (DBL_##n)

Definition at line 471 of file luaconf.h.

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

Definition at line 414 of file luaconf.h.

#define l_mathop (   op)    op

Definition at line 478 of file luaconf.h.

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

Definition at line 600 of file luaconf.h.

#define LUA_API   extern

Definition at line 292 of file luaconf.h.

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

Definition at line 232 of file luaconf.h.

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

Definition at line 242 of file luaconf.h.

#define LUA_DIRSEP   "/"

Definition at line 259 of file luaconf.h.

#define LUA_EXEC_DIR   "!"

Definition at line 190 of file luaconf.h.

#define LUA_EXTRASPACE   (sizeof(void *))

Definition at line 735 of file luaconf.h.

#define LUA_FLOAT_DOUBLE   2

Definition at line 136 of file luaconf.h.

#define LUA_FLOAT_FLOAT   1

Definition at line 135 of file luaconf.h.

#define LUA_FLOAT_LONGDOUBLE   3

Definition at line 137 of file luaconf.h.

#define LUA_FLOAT_TYPE   LUA_FLOAT_DOUBLE

Definition at line 168 of file luaconf.h.

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

Definition at line 674 of file luaconf.h.

#define LUA_IDSIZE   60

Definition at line 743 of file luaconf.h.

#define LUA_INT_INT   1

Definition at line 130 of file luaconf.h.

#define LUA_INT_LONG   2

Definition at line 131 of file luaconf.h.

#define LUA_INT_LONGLONG   3

Definition at line 132 of file luaconf.h.

#define LUA_INT_TYPE   LUA_INT_LONGLONG

Definition at line 164 of file luaconf.h.

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

Definition at line 513 of file luaconf.h.

#define LUA_INTEGER_FMT   "%" LUA_INTEGER_FRMLEN "d"

Definition at line 509 of file luaconf.h.

#define LUA_KCONTEXT   ptrdiff_t

Definition at line 656 of file luaconf.h.

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

Definition at line 231 of file luaconf.h.

#define LUA_NUMBER   double

Definition at line 469 of file luaconf.h.

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

Definition at line 416 of file luaconf.h.

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

Definition at line 631 of file luaconf.h.

#define LUA_NUMBER_FMT   "%.14g"

Definition at line 476 of file luaconf.h.

#define LUA_NUMBER_FRMLEN   ""

Definition at line 475 of file luaconf.h.

#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:469

Definition at line 428 of file luaconf.h.

#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:231
#define LUA_CDIR
Definition: luaconf.h:232

Definition at line 235 of file luaconf.h.

#define LUA_PATH_MARK   "?"

Definition at line 189 of file luaconf.h.

#define LUA_PATH_SEP   ";"

Definition at line 188 of file luaconf.h.

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

Definition at line 621 of file luaconf.h.

#define LUA_ROOT   "/usr/local/"

Definition at line 230 of file luaconf.h.

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

Definition at line 480 of file luaconf.h.

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

Definition at line 613 of file luaconf.h.

#define LUA_UNSIGNED   unsigned LUAI_UACINT

Definition at line 520 of file luaconf.h.

#define LUA_UNSIGNEDBITS   (sizeof(LUA_UNSIGNED) * CHAR_BIT)

Definition at line 523 of file luaconf.h.

#define LUA_VDIR   LUA_VERSION_MAJOR "." LUA_VERSION_MINOR

Definition at line 203 of file luaconf.h.

#define LUAI_DDEC (   dec)    LUAI_FUNC dec

Definition at line 325 of file luaconf.h.

#define LUAI_DDEF   /* empty */

Definition at line 326 of file luaconf.h.

#define LUAI_FUNC   extern

Definition at line 322 of file luaconf.h.

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

Definition at line 91 of file luaconf.h.

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

Definition at line 756 of file luaconf.h.

#define LUAI_MAXCSTACK   2000

Definition at line 50 of file luaconf.h.

#define LUAI_MAXSTACK   15000

Definition at line 726 of file luaconf.h.

#define LUAI_UACINT   LUA_INTEGER

Definition at line 511 of file luaconf.h.

#define LUAI_UACNUMBER   double

Definition at line 473 of file luaconf.h.

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

Definition at line 749 of file luaconf.h.

#define LUALIB_API   LUA_API

Definition at line 300 of file luaconf.h.

#define LUAMOD_API   LUA_API

Definition at line 301 of file luaconf.h.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49