Nut/OS  4.10.3
API Reference
llimits.h File Reference
#include <limits.h>
#include <stddef.h>
#include <lua/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.

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 MAX_SIZET   ((size_t)(~(size_t)0)-2)

Definition at line 30 of file llimits.h.

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

Definition at line 32 of file llimits.h.

#define MAX_INT   (INT_MAX-2)

Definition at line 35 of file llimits.h.

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

Definition at line 42 of file llimits.h.

#define lua_assert (   c)    ((void)0)

Definition at line 62 of file llimits.h.

#define check_exp (   c,
 
)    (e)

Definition at line 63 of file llimits.h.

#define api_check   luai_apicheck

Definition at line 64 of file llimits.h.

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

Definition at line 70 of file llimits.h.

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

Definition at line 75 of file llimits.h.

#define cast_byte (   i)    cast(lu_byte, (i))

Definition at line 78 of file llimits.h.

#define cast_num (   i)    cast(lua_Number, (i))

Definition at line 79 of file llimits.h.

#define cast_int (   i)    cast(int, (i))

Definition at line 80 of file llimits.h.

#define MAXSTACK   250

Definition at line 93 of file llimits.h.

#define MINSTRTABSIZE   32

Definition at line 99 of file llimits.h.

#define LUA_MINBUFFER   32

Definition at line 105 of file llimits.h.

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

Definition at line 110 of file llimits.h.

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

Definition at line 111 of file llimits.h.

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

Definition at line 115 of file llimits.h.

#define condhardstacktests (   x)    ((void)0)

Definition at line 123 of file llimits.h.


Typedef Documentation

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.

typedef LUAI_MEM l_mem

Definition at line 22 of file llimits.h.

typedef unsigned char lu_byte

Definition at line 27 of file llimits.h.

typedef LUAI_USER_ALIGNMENT_T L_Umaxalign

Definition at line 47 of file llimits.h.

typedef LUAI_UACNUMBER l_uacNumber

Definition at line 51 of file llimits.h.

Definition at line 88 of file llimits.h.