llimits.h File Reference

Go to the source code of this file.

Defines

#define MAX_SIZET   ((size_t)(~(size_t)0)-2)
#define MAX_LUMEM   ((lu_mem)(~(lu_mem)0)-2)
#define MAX_INT   (INT_MAX-2)
#define IntPoint(p)   ((unsigned int)(lu_mem)(p))
#define lua_assert(c)   ((void)0)
#define check_exp(c, e)   (e)
#define api_check   luai_apicheck
#define UNUSED(x)   ((void)(x))
#define cast(t, exp)   ((t)(exp))
#define cast_byte(i)   cast(lu_byte, (i))
#define cast_num(i)   cast(lua_Number, (i))
#define cast_int(i)   cast(int, (i))
#define MAXSTACK   250
#define MINSTRTABSIZE   32
#define LUA_MINBUFFER   32
#define lua_lock(L)   ((void) 0)
#define lua_unlock(L)   ((void) 0)
#define luai_threadyield(L)   {lua_unlock(L); lua_lock(L);}
#define condhardstacktests(x)   ((void)0)

Typedefs

typedef LUAI_UINT32 lu_int32
typedef LUAI_UMEM lu_mem
typedef LUAI_MEM l_mem
typedef unsigned char lu_byte
typedef LUAI_USER_ALIGNMENT_T L_Umaxalign
typedef LUAI_UACNUMBER l_uacNumber
typedef lu_int32 Instruction

Define Documentation

#define api_check   luai_apicheck
#define cast ( t,
exp   )     ((t)(exp))
#define cast_byte (  )     cast(lu_byte, (i))
#define cast_int (  )     cast(int, (i))
#define cast_num (  )     cast(lua_Number, (i))
#define check_exp ( c,
 )     (e)

Definition at line 63 of file llimits.h.

#define condhardstacktests (  )     ((void)0)

Definition at line 123 of file llimits.h.

Referenced by checkstacksizes().

#define IntPoint (  )     ((unsigned int)(lu_mem)(p))

Definition at line 42 of file llimits.h.

#define lua_assert (  )     ((void)0)
#define lua_lock (  )     ((void) 0)
#define LUA_MINBUFFER   32

Definition at line 105 of file llimits.h.

Referenced by checkSizes(), luaX_setinput(), and luaZ_openspace().

#define lua_unlock (  )     ((void) 0)
#define luai_threadyield (  )     {lua_unlock(L); lua_lock(L);}

Definition at line 115 of file llimits.h.

#define MAX_INT   (INT_MAX-2)
#define MAX_LUMEM   ((lu_mem)(~(lu_mem)0)-2)

Definition at line 32 of file llimits.h.

Referenced by lua_gc(), and luaC_step().

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

Definition at line 30 of file llimits.h.

Referenced by luaS_newudata(), luaV_concat(), newlstr(), and save().

#define MAXSTACK   250

Definition at line 93 of file llimits.h.

Referenced by luaK_checkstack(), and precheck().

#define MINSTRTABSIZE   32

Definition at line 99 of file llimits.h.

Referenced by checkSizes(), and f_luaopen().

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

Definition at line 70 of file llimits.h.

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


Typedef Documentation

Definition at line 88 of file llimits.h.

typedef LUAI_MEM l_mem

Definition at line 22 of file llimits.h.

typedef LUAI_UACNUMBER l_uacNumber

Definition at line 51 of file llimits.h.

typedef LUAI_USER_ALIGNMENT_T L_Umaxalign

Definition at line 47 of file llimits.h.

typedef unsigned char lu_byte

Definition at line 27 of file llimits.h.

typedef LUAI_UINT32 lu_int32

Definition at line 18 of file llimits.h.

typedef LUAI_UMEM lu_mem

Definition at line 20 of file llimits.h.


ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:00 2011 by Doxygen 1.6.1