Defines

lua/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.

Defines

#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
#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 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
#define lua_str2number(s, p)   strtod((s), (p))
#define LUA_INTEGER   ptrdiff_t
#define LUA_UNSIGNED   unsigned LUA_INT32

Define Documentation

#define LUA_API   extern

Definition at line 160 of file luaconf.h.

#define LUA_CDIR   LUA_ROOT "lib/lua/" LUA_VDIR

Definition at line 112 of file luaconf.h.

#define LUA_COMPAT_ALL

Definition at line 20 of file luaconf.h.

#define LUA_COMPAT_LOADERS

Definition at line 266 of file luaconf.h.

#define LUA_COMPAT_LOADSTRING

Definition at line 288 of file luaconf.h.

#define LUA_COMPAT_LOG10

Definition at line 282 of file luaconf.h.

#define LUA_COMPAT_MAXN

Definition at line 293 of file luaconf.h.

#define LUA_COMPAT_MODULE

Definition at line 311 of file luaconf.h.

#define LUA_COMPAT_MODULE

Definition at line 311 of file luaconf.h.

#define LUA_COMPAT_UNPACK

Definition at line 260 of file luaconf.h.

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

Definition at line 116 of file luaconf.h.

Referenced by luaopen_package().

#define lua_cpcall (   L,
  f,
  u 
)
Value:
(lua_pushcfunction(L, (f)), \
     lua_pushlightuserdata(L,(u)), \
     lua_pcall(L,1,0,0))

Definition at line 272 of file luaconf.h.

#define LUA_DIRSEP   "/"

Definition at line 129 of file luaconf.h.

Referenced by ll_searchpath(), and luaopen_package().

#define LUA_ENV   "_ENV"

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

#define LUA_IDSIZE   60

Definition at line 211 of file luaconf.h.

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

#define LUA_INT32   long

Definition at line 351 of file luaconf.h.

#define LUA_INTEGER   ptrdiff_t

Definition at line 461 of file luaconf.h.

#define LUA_LDIR   LUA_ROOT "share/lua/" LUA_VDIR

Definition at line 111 of file luaconf.h.

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

Definition at line 305 of file luaconf.h.

#define LUA_NUMBER   double

Definition at line 394 of file luaconf.h.

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

Definition at line 411 of file luaconf.h.

Referenced by luaV_tostring().

#define LUA_NUMBER_DOUBLE

Definition at line 393 of file luaconf.h.

#define LUA_NUMBER_FMT   "%.14g"

Definition at line 410 of file luaconf.h.

Referenced by g_write(), and PrintConstant().

#define LUA_NUMBER_SCAN   "%lf"

Definition at line 409 of file luaconf.h.

Referenced by read_number().

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

Definition at line 302 of file luaconf.h.

#define LUA_PATH_DEFAULT
Value:
LUA_LDIR"?.lua;"  LUA_LDIR"?/init.lua;" \
        LUA_CDIR"?.lua;"  LUA_CDIR"?/init.lua;" "./?.lua"

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

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

Definition at line 423 of file luaconf.h.

Referenced by luaO_str2d().

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

Definition at line 300 of file luaconf.h.

#define LUA_UNSIGNED   unsigned LUA_INT32

Definition at line 467 of file luaconf.h.

#define LUA_VDIR   LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"

Definition at line 109 of file luaconf.h.

#define LUAI_BITSINT   16

Definition at line 326 of file luaconf.h.

#define LUAI_DDEC   extern

Definition at line 192 of file luaconf.h.

#define LUAI_DDEF

Definition at line 193 of file luaconf.h.

#define LUAI_FIRSTPSEUDOIDX   (-LUAI_MAXSTACK - 1000)

Definition at line 370 of file luaconf.h.

#define LUAI_FUNC   extern

Definition at line 191 of file luaconf.h.

#define LUAI_MAXNUMBER2STR   32

Definition at line 412 of file luaconf.h.

#define LUAI_MAXSTACK   15000

Definition at line 366 of file luaconf.h.

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

#define LUAI_MEM   long

Definition at line 353 of file luaconf.h.

#define LUAI_UACNUMBER   double

Definition at line 400 of file luaconf.h.

#define LUAI_UMEM   unsigned long

Definition at line 352 of file luaconf.h.

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

Definition at line 236 of file luaconf.h.

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

#define LUAL_BUFFERSIZE   BUFSIZ

Definition at line 379 of file luaconf.h.

Referenced by f_setvbuf(), and read_line().

#define LUALIB_API   LUA_API

Definition at line 166 of file luaconf.h.

#define LUAMOD_API   LUALIB_API

Definition at line 167 of file luaconf.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:18 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs