lua/llimits.h File Reference

#include <limits.h>
#include <stddef.h>
#include "lua.h"

Go to the source code of this file.

Data Structures

union  L_Umaxalign

Defines

#define BITS_INT   16
#define MAX_LUMEM   ULONG_MAX
#define MAX_SIZET   ((size_t)(~(size_t)0)-2)
#define MAX_INT   (INT_MAX-2)
#define IntPoint(p)   ((lu_hash)(p))
#define lua_assert(c)
#define check_exp(c, e)   (e)
#define UNUSED(x)   ((void)(x))
#define cast(t, exp)   ((t)(exp))
#define LUA_MAXCALLS   4096
#define LUA_MAXCCALLS   200
#define LUA_MAXCSTACK   2048
#define MAXSTACK   250
#define MAXVARS   200
#define MAXUPVALUES   32
#define MAXPARAMS   100
#define MINSTRTABSIZE   32
#define LUA_MINBUFFER   32
#define LUA_MAXPARSERLEVEL   200

Typedefs

typedef unsigned int lu_hash
typedef int ls_hash
typedef unsigned long lu_mem
typedef long ls_nstr
typedef unsigned char lu_byte
typedef double l_uacNumber
typedef unsigned long Instruction


Define Documentation

#define BITS_INT   16

Definition at line 24 of file llimits.h.

#define cast ( t,
exp   )     ((t)(exp))

Definition at line 108 of file llimits.h.

Referenced by addk(), adjust_varargs(), arrayindex(), checkSizes(), code_params(), codebinop(), f_call(), f_Ccall(), f_parser(), freestate(), hashnum(), lua_setgcthreshold(), lua_sethook(), luaD_reallocCI(), luaF_newCclosure(), luaF_newLclosure(), luaH_get(), luaH_getnum(), luaH_index(), luaH_new(), luaH_next(), luaH_set(), luaH_setnum(), luaK_checkstack(), luaM_growaux(), luaO_int2fb(), luaO_pushvfstring(), luaS_newudata(), luaS_resize(), luaT_gettm(), luaV_concat(), luaX_init(), mallocstate(), newkey(), newlstr(), resume(), setnodevector(), subexpr(), and traversetable().

#define check_exp ( c,
 )     (e)

Definition at line 98 of file llimits.h.

#define IntPoint (  )     ((lu_hash)(p))

Definition at line 72 of file llimits.h.

#define lua_assert (  ) 

Definition at line 93 of file llimits.h.

Referenced by addk(), Arith(), block(), chunk(), cleartablekeys(), cleartablevalues(), close_func(), close_state(), codenot(), computesizes(), constructor(), discharge2reg(), DumpConstants(), enterblock(), freeobj(), freereg(), funcargs(), getobjname(), hashnum(), indexupvalue(), invertjump(), leaveblock(), lookahead(), lua_close(), lua_getinfo(), lua_resume(), luaC_separateudata(), luaD_call(), luaD_callhook(), luaE_freethread(), luaG_concaterror(), luaK_codeABC(), luaK_codeABx(), luaK_fixjump(), luaK_patchlist(), luaK_patchlistaux(), luaK_posfix(), luaK_storevar(), luaM_realloc(), luaO_pushvfstring(), luaO_rawequalObj(), luaS_freeall(), luaS_resize(), luaT_gettm(), luaV_equalval(), luaV_execute(), luaX_init(), luaX_token2str(), luaY_parser(), negindex(), newkey(), precheck(), propagatemarks(), reallymarkobject(), resize(), resume(), retstat(), setnodevector(), traceexec(), traverseclosure(), traverseproto(), traversestack(), and traversetable().

#define LUA_MAXCALLS   4096

Definition at line 122 of file llimits.h.

Referenced by luaD_growCI(), and restore_stack_limit().

#define LUA_MAXCCALLS   200

Definition at line 132 of file llimits.h.

Referenced by luaD_call().

#define LUA_MAXCSTACK   2048

Definition at line 138 of file llimits.h.

Referenced by lua_checkstack().

#define LUA_MAXPARSERLEVEL   200

Definition at line 181 of file llimits.h.

#define LUA_MINBUFFER   32

Definition at line 172 of file llimits.h.

Referenced by checkSizes(), and luaZ_openspace().

#define MAX_INT   (INT_MAX-2)

Definition at line 65 of file llimits.h.

Referenced by inclinenumber(), luaI_registerlocalvar(), luaK_code(), newlstr(), and recfield().

#define MAX_LUMEM   ULONG_MAX

Definition at line 52 of file llimits.h.

Referenced by lua_setgcthreshold().

#define MAX_SIZET   ((size_t)(~(size_t)0)-2)

Definition at line 62 of file llimits.h.

Referenced by luaM_realloc(), and luaV_concat().

#define MAXPARAMS   100

Definition at line 160 of file llimits.h.

Referenced by code_params().

#define MAXSTACK   250

Definition at line 143 of file llimits.h.

Referenced by checkRK(), freereg(), kname(), luaG_symbexec(), luaK_checkstack(), luaK_exp2RK(), and precheck().

#define MAXUPVALUES   32

Definition at line 154 of file llimits.h.

#define MAXVARS   200

Definition at line 148 of file llimits.h.

Referenced by new_localvar().

#define MINSTRTABSIZE   32

Definition at line 166 of file llimits.h.

Referenced by checkSizes(), and f_luaopen().

#define UNUSED (  )     ((void)(x))

Definition at line 103 of file llimits.h.

Referenced by callallgcTM(), default_panic(), f_luaopen(), and lua_typename().


Typedef Documentation

typedef unsigned long Instruction

Definition at line 117 of file llimits.h.

typedef double l_uacNumber

Definition at line 86 of file llimits.h.

typedef int ls_hash

Definition at line 46 of file llimits.h.

typedef long ls_nstr

Definition at line 56 of file llimits.h.

typedef unsigned char lu_byte

Definition at line 59 of file llimits.h.

typedef unsigned int lu_hash

Definition at line 44 of file llimits.h.

typedef unsigned long lu_mem

Definition at line 50 of file llimits.h.


Generated on Fri Oct 12 08:44:55 2007 for rpm by  doxygen 1.5.2