lua/llimits.h File Reference

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

Include dependency graph for llimits.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  L_Umaxalign

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 unsigned long lu_int32
typedef unsigned long lu_mem
typedef long l_mem
typedef unsigned char lu_byte
typedef double 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(), and lua_typename().


Typedef Documentation

Definition at line 88 of file llimits.h.

typedef long l_mem

Definition at line 22 of file llimits.h.

typedef double l_uacNumber

Definition at line 51 of file llimits.h.

typedef unsigned char lu_byte

Definition at line 27 of file llimits.h.

typedef unsigned long lu_int32

Definition at line 18 of file llimits.h.

typedef unsigned long lu_mem

Definition at line 20 of file llimits.h.


Generated on Thu Apr 23 17:47:04 2009 for rpm by  doxygen 1.5.8