llimits.h File Reference

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

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)

#define condhardstacktests (  )     ((void)0)

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

#define lua_assert (  )     ((void)0)

#define lua_lock ( L   )     ((void) 0)

#define LUA_MINBUFFER   32

#define lua_unlock ( L   )     ((void) 0)

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

#define MAX_INT   (INT_MAX-2)

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

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

#define MAXSTACK   250

#define MINSTRTABSIZE   32

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


Typedef Documentation

typedef LUAI_MEM l_mem

typedef LUAI_UACNUMBER l_uacNumber

typedef LUAI_USER_ALIGNMENT_T L_Umaxalign

typedef unsigned char lu_byte

typedef LUAI_UINT32 lu_int32

typedef LUAI_UMEM lu_mem


Generated on Tue Aug 4 15:24:06 2009 for LuaPlayer HM Version 3 by  doxygen 1.5.5