The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 LUA_COMPAT_MODULE
 
#define LUA_COMPAT_ALL
 
#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 LUA_COMPAT_UNPACK
 
#define LUA_COMPAT_LOADERS
 
#define lua_cpcall(L, f, u)
 
#define LUA_COMPAT_LOG10
 
#define LUA_COMPAT_LOADSTRING
 
#define LUA_COMPAT_MAXN
 
#define lua_strlen(L, i)   lua_rawlen(L, (i))
 
#define lua_objlen(L, i)   lua_rawlen(L, (i))
 
#define lua_equal(L, idx1, idx2)   lua_compare(L,(idx1),(idx2),LUA_OPEQ)
 
#define lua_lessthan(L, idx1, idx2)   lua_compare(L,(idx1),(idx2),LUA_OPLT)
 
#define LUA_COMPAT_MODULE
 
#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
 
#define LUA_IEEELL
 
#define LUA_KERNEL_BASE_OFFSET   sizeof(void*)
 
#define LUAI_EXTRASPACE   LUA_KERNEL_BASE_OFFSET
 

Macro Definition Documentation

#define l_mathop (   x)    (x)
#define LUA_API   extern

Definition at line 156 of file luaconf.h.

#define LUA_CDIR   LUA_ROOT "lib/lua/" LUA_VDIR

Definition at line 108 of file luaconf.h.

#define LUA_COMPAT_ALL

Definition at line 19 of file luaconf.h.

#define LUA_COMPAT_LOADERS

Definition at line 269 of file luaconf.h.

#define LUA_COMPAT_LOADSTRING

Definition at line 291 of file luaconf.h.

#define LUA_COMPAT_LOG10

Definition at line 285 of file luaconf.h.

#define LUA_COMPAT_MAXN

Definition at line 296 of file luaconf.h.

#define LUA_COMPAT_MODULE

Definition at line 314 of file luaconf.h.

#define LUA_COMPAT_MODULE

Definition at line 314 of file luaconf.h.

#define LUA_COMPAT_UNPACK

Definition at line 263 of file luaconf.h.

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

Definition at line 112 of file luaconf.h.

Referenced by luaopen_package().

#define lua_cpcall (   L,
  f,
 
)
Value:
lua_pcall(L,1,0,0))
LUA_API void lua_pushlightuserdata(lua_State *L, void *p)
Definition: lapi.cpp:579
#define lua_pushcfunction(L, f)
Definition: lua.h:328
#define lua_pcall(L, n, r, f)
Definition: lua.h:258
GLclampf f
Definition: glew.h:3024

Definition at line 275 of file luaconf.h.

#define LUA_DIRSEP   "/"

Definition at line 125 of file luaconf.h.

Referenced by ll_searchpath(), and luaopen_package().

#define LUA_ENV   "_ENV"

Definition at line 134 of file luaconf.h.

Referenced by getobjname(), and luaX_setinput().

#define lua_equal (   L,
  idx1,
  idx2 
)    lua_compare(L,(idx1),(idx2),LUA_OPEQ)

Definition at line 307 of file luaconf.h.

#define LUA_IDSIZE   60

Definition at line 207 of file luaconf.h.

Referenced by addinfo(), funcinfo(), and lexerror().

#define LUA_IEEE754TRICK

Definition at line 544 of file luaconf.h.

#define LUA_IEEELL

Definition at line 545 of file luaconf.h.

#define LUA_INT32   long

Definition at line 354 of file luaconf.h.

#define LUA_INTEGER   ptrdiff_t

Definition at line 470 of file luaconf.h.

#define LUA_KERNEL_BASE_OFFSET   sizeof(void*)

Definition at line 572 of file luaconf.h.

Referenced by lua_kernel_base::get_lua_kernel_base_ptr().

#define LUA_LDIR   LUA_ROOT "share/lua/" LUA_VDIR

Definition at line 107 of file luaconf.h.

#define lua_lessthan (   L,
  idx1,
  idx2 
)    lua_compare(L,(idx1),(idx2),LUA_OPLT)

Definition at line 308 of file luaconf.h.

#define LUA_NUMBER   double

Definition at line 397 of file luaconf.h.

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

Definition at line 414 of file luaconf.h.

Referenced by luaV_tostring().

#define LUA_NUMBER_DOUBLE

Definition at line 396 of file luaconf.h.

#define LUA_NUMBER_FMT   "%.14g"

Definition at line 413 of file luaconf.h.

Referenced by g_write(), and PrintConstant().

#define LUA_NUMBER_SCAN   "%lf"

Definition at line 412 of file luaconf.h.

Referenced by read_number().

#define lua_objlen (   L,
  i 
)    lua_rawlen(L, (i))

Definition at line 305 of file luaconf.h.

Referenced by get_new_thread().

#define LUA_PATH_DEFAULT
Value:
LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" "./?.lua"
#define LUA_LDIR
Definition: luaconf.h:107
#define LUA_CDIR
Definition: luaconf.h:108

Definition at line 109 of file luaconf.h.

Referenced by luaopen_package().

#define LUA_QL (   x)    "'" x "'"
#define LUA_QS   LUA_QL("%s")
#define LUA_ROOT   "/usr/local/"

Definition at line 106 of file luaconf.h.

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

Definition at line 432 of file luaconf.h.

Referenced by luaO_str2d().

#define lua_strlen (   L,
  i 
)    lua_rawlen(L, (i))

Definition at line 303 of file luaconf.h.

#define LUA_UNSIGNED   unsigned LUA_INT32

Definition at line 476 of file luaconf.h.

#define LUA_VDIR   LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"

Definition at line 105 of file luaconf.h.

#define LUAI_BITSINT   16

Definition at line 329 of file luaconf.h.

#define LUAI_DDEC   extern

Definition at line 188 of file luaconf.h.

#define LUAI_DDEF   /* empty */

Definition at line 189 of file luaconf.h.

#define LUAI_EXTRASPACE   LUA_KERNEL_BASE_OFFSET

Definition at line 573 of file luaconf.h.

#define LUAI_FIRSTPSEUDOIDX   (-LUAI_MAXSTACK - 1000)

Definition at line 373 of file luaconf.h.

#define LUAI_FUNC   extern

Definition at line 187 of file luaconf.h.

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

Definition at line 415 of file luaconf.h.

Referenced by luaV_tostring().

#define LUAI_MAXSHORTLEN   40

Definition at line 242 of file luaconf.h.

Referenced by luaS_newlstr().

#define LUAI_MAXSTACK   15000

Definition at line 369 of file luaconf.h.

Referenced by lua_checkstack(), luaD_growstack(), luaD_reallocstack(), and luaD_shrinkstack().

#define LUAI_MEM   long

Definition at line 356 of file luaconf.h.

#define LUAI_UACNUMBER   double

Definition at line 403 of file luaconf.h.

#define LUAI_UMEM   unsigned long

Definition at line 355 of file luaconf.h.

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

Definition at line 232 of file luaconf.h.

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

#define LUAL_BUFFERSIZE   BUFSIZ
#define LUALIB_API   LUA_API

Definition at line 162 of file luaconf.h.

#define LUAMOD_API   LUALIB_API

Definition at line 163 of file luaconf.h.