sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
luaconf.h File Reference
#include <limits.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#define LUAI_IS32INT   ((UINT_MAX >> 30) >= 3)
#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_DEFAULT   LUA_INT_LONGLONG
#define LUA_FLOAT_DEFAULT   LUA_FLOAT_DOUBLE
#define LUA_32BITS   0
#define LUA_C89_NUMBERS   0
#define LUA_INT_TYPE   LUA_INT_DEFAULT
#define LUA_FLOAT_TYPE   LUA_FLOAT_DEFAULT
#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   LUA_API
#define LUAI_FUNC   extern
#define LUAI_DDEC(dec)
#define LUAI_DDEF
#define l_floor(x)
#define lua_number2str(s, sz, n)
#define lua_numbertointeger(n, p)
#define LUA_NUMBER   double
#define l_floatatt(n)
#define LUAI_UACNUMBER   double
#define LUA_NUMBER_FRMLEN   ""
#define LUA_NUMBER_FMT   "%.14g"
#define l_mathop(op)
#define lua_str2number(s, p)
#define LUA_INTEGER_FMT   "%" LUA_INTEGER_FRMLEN "d"
#define LUAI_UACINT   LUA_INTEGER
#define lua_integer2str(s, sz, n)
#define LUA_UNSIGNED   unsigned LUAI_UACINT
#define l_sprintf(s, sz, f, i)
#define lua_strx2number(s, p)
#define lua_pointer2str(buff, sz, p)
#define lua_number2strx(L, b, sz, f, n)
#define LUA_KCONTEXT   ptrdiff_t
#define lua_getlocaledecpoint()
#define luai_likely(x)
#define luai_unlikely(x)
#define LUAI_MAXSTACK   15000
#define LUA_EXTRASPACE   (sizeof(void *))
#define LUA_IDSIZE   60
#define LUAL_BUFFERSIZE   ((int)(16 * sizeof(void*) * sizeof(lua_Number)))
#define LUAI_MAXALIGN   lua_Number n; double u; void *s; lua_Integer i; long l

Macro Definition Documentation

◆ l_floatatt

#define l_floatatt ( n)
Value:
(DBL_##n)

Definition at line 480 of file luaconf.h.

◆ l_floor

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

Definition at line 423 of file luaconf.h.

◆ l_mathop

#define l_mathop ( op)
Value:
op

Definition at line 487 of file luaconf.h.

◆ l_sprintf

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

Definition at line 602 of file luaconf.h.

◆ LUA_32BITS

#define LUA_32BITS   0

Definition at line 139 of file luaconf.h.

◆ LUA_API

#define LUA_API   extern

Definition at line 302 of file luaconf.h.

◆ LUA_C89_NUMBERS

#define LUA_C89_NUMBERS   0

Definition at line 150 of file luaconf.h.

◆ LUA_CDIR

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

Definition at line 242 of file luaconf.h.

◆ LUA_CPATH_DEFAULT

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

Definition at line 252 of file luaconf.h.

◆ LUA_DIRSEP

#define LUA_DIRSEP   "/"

Definition at line 269 of file luaconf.h.

◆ LUA_EXEC_DIR

#define LUA_EXEC_DIR   "!"

Definition at line 200 of file luaconf.h.

◆ LUA_EXTRASPACE

#define LUA_EXTRASPACE   (sizeof(void *))

Definition at line 765 of file luaconf.h.

◆ LUA_FLOAT_DEFAULT

#define LUA_FLOAT_DEFAULT   LUA_FLOAT_DOUBLE

Definition at line 129 of file luaconf.h.

◆ LUA_FLOAT_DOUBLE

#define LUA_FLOAT_DOUBLE   2

Definition at line 123 of file luaconf.h.

◆ LUA_FLOAT_FLOAT

#define LUA_FLOAT_FLOAT   1

Definition at line 122 of file luaconf.h.

◆ LUA_FLOAT_LONGDOUBLE

#define LUA_FLOAT_LONGDOUBLE   3

Definition at line 124 of file luaconf.h.

◆ LUA_FLOAT_TYPE

#define LUA_FLOAT_TYPE   LUA_FLOAT_DEFAULT

Definition at line 176 of file luaconf.h.

◆ lua_getlocaledecpoint

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

Definition at line 676 of file luaconf.h.

◆ LUA_IDSIZE

#define LUA_IDSIZE   60

Definition at line 773 of file luaconf.h.

◆ LUA_INT_DEFAULT

#define LUA_INT_DEFAULT   LUA_INT_LONGLONG

Definition at line 128 of file luaconf.h.

◆ LUA_INT_INT

#define LUA_INT_INT   1

Definition at line 117 of file luaconf.h.

◆ LUA_INT_LONG

#define LUA_INT_LONG   2

Definition at line 118 of file luaconf.h.

◆ LUA_INT_LONGLONG

#define LUA_INT_LONGLONG   3

Definition at line 119 of file luaconf.h.

◆ LUA_INT_TYPE

#define LUA_INT_TYPE   LUA_INT_DEFAULT

Definition at line 175 of file luaconf.h.

◆ lua_integer2str

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

Definition at line 518 of file luaconf.h.

◆ LUA_INTEGER_FMT

#define LUA_INTEGER_FMT   "%" LUA_INTEGER_FRMLEN "d"

Definition at line 514 of file luaconf.h.

◆ LUA_KCONTEXT

#define LUA_KCONTEXT   ptrdiff_t

Definition at line 658 of file luaconf.h.

◆ LUA_LDIR

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

Definition at line 241 of file luaconf.h.

◆ LUA_NUMBER

#define LUA_NUMBER   double

Definition at line 478 of file luaconf.h.

◆ lua_number2str

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

Definition at line 425 of file luaconf.h.

◆ lua_number2strx

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

Definition at line 633 of file luaconf.h.

◆ LUA_NUMBER_FMT

#define LUA_NUMBER_FMT   "%.14g"

Definition at line 485 of file luaconf.h.

◆ LUA_NUMBER_FRMLEN

#define LUA_NUMBER_FRMLEN   ""

Definition at line 484 of file luaconf.h.

◆ lua_numbertointeger

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

Definition at line 437 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 245 of file luaconf.h.

◆ LUA_PATH_MARK

#define LUA_PATH_MARK   "?"

Definition at line 199 of file luaconf.h.

◆ LUA_PATH_SEP

#define LUA_PATH_SEP   ";"

Definition at line 198 of file luaconf.h.

◆ lua_pointer2str

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

Definition at line 623 of file luaconf.h.

◆ LUA_ROOT

#define LUA_ROOT   "/usr/local/"

Definition at line 240 of file luaconf.h.

◆ lua_str2number

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

Definition at line 489 of file luaconf.h.

◆ lua_strx2number

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

Definition at line 615 of file luaconf.h.

◆ LUA_UNSIGNED

#define LUA_UNSIGNED   unsigned LUAI_UACINT

Definition at line 525 of file luaconf.h.

◆ LUA_VDIR

#define LUA_VDIR   LUA_VERSION_MAJOR "." LUA_VERSION_MINOR

Definition at line 213 of file luaconf.h.

◆ LUAI_DDEC

#define LUAI_DDEC ( dec)
Value:
LUAI_FUNC dec

Definition at line 335 of file luaconf.h.

◆ LUAI_DDEF

#define LUAI_DDEF

Definition at line 336 of file luaconf.h.

◆ LUAI_FUNC

#define LUAI_FUNC   extern

Definition at line 332 of file luaconf.h.

◆ LUAI_IS32INT

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

Definition at line 92 of file luaconf.h.

◆ luai_likely

#define luai_likely ( x)
Value:
(x)

Definition at line 692 of file luaconf.h.

◆ LUAI_MAXALIGN

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

Definition at line 787 of file luaconf.h.

◆ LUAI_MAXSTACK

#define LUAI_MAXSTACK   15000

Definition at line 756 of file luaconf.h.

◆ LUAI_UACINT

#define LUAI_UACINT   LUA_INTEGER

Definition at line 516 of file luaconf.h.

◆ LUAI_UACNUMBER

#define LUAI_UACNUMBER   double

Definition at line 482 of file luaconf.h.

◆ luai_unlikely

#define luai_unlikely ( x)
Value:
(x)

Definition at line 693 of file luaconf.h.

◆ LUAL_BUFFERSIZE

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

Definition at line 780 of file luaconf.h.

◆ LUALIB_API

#define LUALIB_API   LUA_API

Definition at line 310 of file luaconf.h.

◆ LUAMOD_API

#define LUAMOD_API   LUA_API

Definition at line 311 of file luaconf.h.