Ardour  9.0-pre0-350-gf17a656217
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.

Classes

union  L_Umaxalign
 

Macros

#define MAX_SIZET   ((size_t)(~(size_t)0))
 
#define MAX_SIZE
 
#define MAX_LUMEM   ((lu_mem)(~(lu_mem)0))
 
#define MAX_LMEM   ((l_mem)(MAX_LUMEM >> 1))
 
#define MAX_INT   INT_MAX /* maximum value of an int */
 
#define point2uint(p)   ((unsigned int)((size_t)(p) & UINT_MAX))
 
#define lua_assert(c)   ((void)0)
 
#define check_exp(c, e)   (e)
 
#define lua_longassert(c)   ((void)0)
 
#define luai_apicheck(l, e)   lua_assert(e)
 
#define api_check(l, e, msg)   luai_apicheck(l,(e) && msg)
 
#define UNUSED(x)   ((void)(x))
 
#define cast(t, exp)   ((t)(exp))
 
#define cast_void(i)   cast(void, (i))
 
#define cast_byte(i)   cast(lu_byte, (i))
 
#define cast_num(i)   cast(lua_Number, (i))
 
#define cast_int(i)   cast(int, (i))
 
#define cast_uchar(i)   cast(unsigned char, (i))
 
#define l_castS2U(i)   ((lua_Unsigned)(i))
 
#define l_castU2S(i)   ((lua_Integer)(i))
 
#define l_noret   void
 
#define LUAI_MAXCCALLS   200
 
#define LUAI_MAXSHORTLEN   40
 
#define MINSTRTABSIZE   128
 
#define STRCACHE_N   53
 
#define STRCACHE_M   2
 
#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 luai_userstateopen(L)   ((void)L)
 
#define luai_userstateclose(L)   ((void)L)
 
#define luai_userstatethread(L, L1)   ((void)L)
 
#define luai_userstatefree(L, L1)   ((void)L)
 
#define luai_userstateresume(L, n)   ((void)L)
 
#define luai_userstateyield(L, n)   ((void)L)
 
#define luai_numidiv(L, a, b)   ((void)L, l_floor(luai_numdiv(L,a,b)))
 
#define luai_numdiv(L, a, b)   ((a)/(b))
 
#define luai_nummod(L, a, b, m)    { (m) = l_mathop(fmod)(a,b); if ((m)*(b) < 0) (m) += (b); }
 
#define luai_numpow(L, a, b)   ((void)L, l_mathop(pow)(a,b))
 
#define luai_numadd(L, a, b)   ((a)+(b))
 
#define luai_numsub(L, a, b)   ((a)-(b))
 
#define luai_nummul(L, a, b)   ((a)*(b))
 
#define luai_numunm(L, a)   (-(a))
 
#define luai_numeq(a, b)   ((a)==(b))
 
#define luai_numlt(a, b)   ((a)<(b))
 
#define luai_numle(a, b)   ((a)<=(b))
 
#define luai_numisnan(a)   (!luai_numeq((a), (a)))
 
#define condmovestack(L, pre, pos)   ((void)0)
 
#define condchangemem(L, pre, pos)   ((void)0)
 

Typedefs

typedef unsigned long lu_mem
 
typedef long l_mem
 
typedef unsigned char lu_byte
 
typedef double l_uacNumber
 
typedef LUA_INTEGER l_uacInt
 
typedef unsigned long Instruction
 

Macro Definition Documentation

◆ api_check

#define api_check (   l,
  e,
  msg 
)    luai_apicheck(l,(e) && msg)

Definition at line 101 of file llimits.h.

◆ cast

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

Definition at line 111 of file llimits.h.

◆ cast_byte

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

Definition at line 114 of file llimits.h.

◆ cast_int

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

Definition at line 116 of file llimits.h.

◆ cast_num

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

Definition at line 115 of file llimits.h.

◆ cast_uchar

#define cast_uchar (   i)    cast(unsigned char, (i))

Definition at line 117 of file llimits.h.

◆ cast_void

#define cast_void (   i)    cast(void, (i))

Definition at line 113 of file llimits.h.

◆ check_exp

#define check_exp (   c,
 
)    (e)

Definition at line 90 of file llimits.h.

◆ condchangemem

#define condchangemem (   L,
  pre,
  pos 
)    ((void)0)

Definition at line 317 of file llimits.h.

◆ condmovestack

#define condmovestack (   L,
  pre,
  pos 
)    ((void)0)

Definition at line 309 of file llimits.h.

◆ l_castS2U

#define l_castS2U (   i)    ((lua_Unsigned)(i))

Definition at line 122 of file llimits.h.

◆ l_castU2S

#define l_castU2S (   i)    ((lua_Integer)(i))

Definition at line 131 of file llimits.h.

◆ l_noret

#define l_noret   void

Definition at line 143 of file llimits.h.

◆ lua_assert

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

Definition at line 89 of file llimits.h.

◆ lua_lock

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

Definition at line 214 of file llimits.h.

◆ lua_longassert

#define lua_longassert (   c)    ((void)0)

Definition at line 91 of file llimits.h.

◆ LUA_MINBUFFER

#define LUA_MINBUFFER   32

Definition at line 205 of file llimits.h.

◆ lua_unlock

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

Definition at line 215 of file llimits.h.

◆ luai_apicheck

#define luai_apicheck (   l,
 
)    lua_assert(e)

Definition at line 98 of file llimits.h.

◆ LUAI_MAXCCALLS

#define LUAI_MAXCCALLS   200

Definition at line 153 of file llimits.h.

◆ LUAI_MAXSHORTLEN

#define LUAI_MAXSHORTLEN   40

Definition at line 177 of file llimits.h.

◆ luai_numadd

#define luai_numadd (   L,
  a,
 
)    ((a)+(b))

Definition at line 291 of file llimits.h.

◆ luai_numdiv

#define luai_numdiv (   L,
  a,
 
)    ((a)/(b))

Definition at line 269 of file llimits.h.

◆ luai_numeq

#define luai_numeq (   a,
 
)    ((a)==(b))

Definition at line 295 of file llimits.h.

◆ luai_numidiv

#define luai_numidiv (   L,
  a,
 
)    ((void)L, l_floor(luai_numdiv(L,a,b)))

Definition at line 264 of file llimits.h.

◆ luai_numisnan

#define luai_numisnan (   a)    (!luai_numeq((a), (a)))

Definition at line 298 of file llimits.h.

◆ luai_numle

#define luai_numle (   a,
 
)    ((a)<=(b))

Definition at line 297 of file llimits.h.

◆ luai_numlt

#define luai_numlt (   a,
 
)    ((a)<(b))

Definition at line 296 of file llimits.h.

◆ luai_nummod

#define luai_nummod (   L,
  a,
  b,
 
)     { (m) = l_mathop(fmod)(a,b); if ((m)*(b) < 0) (m) += (b); }

Definition at line 280 of file llimits.h.

◆ luai_nummul

#define luai_nummul (   L,
  a,
 
)    ((a)*(b))

Definition at line 293 of file llimits.h.

◆ luai_numpow

#define luai_numpow (   L,
  a,
 
)    ((void)L, l_mathop(pow)(a,b))

Definition at line 286 of file llimits.h.

◆ luai_numsub

#define luai_numsub (   L,
  a,
 
)    ((a)-(b))

Definition at line 292 of file llimits.h.

◆ luai_numunm

#define luai_numunm (   L,
 
)    (-(a))

Definition at line 294 of file llimits.h.

◆ luai_threadyield

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

Definition at line 223 of file llimits.h.

◆ luai_userstateclose

#define luai_userstateclose (   L)    ((void)L)

Definition at line 237 of file llimits.h.

◆ luai_userstatefree

#define luai_userstatefree (   L,
  L1 
)    ((void)L)

Definition at line 245 of file llimits.h.

◆ luai_userstateopen

#define luai_userstateopen (   L)    ((void)L)

Definition at line 233 of file llimits.h.

◆ luai_userstateresume

#define luai_userstateresume (   L,
 
)    ((void)L)

Definition at line 249 of file llimits.h.

◆ luai_userstatethread

#define luai_userstatethread (   L,
  L1 
)    ((void)L)

Definition at line 241 of file llimits.h.

◆ luai_userstateyield

#define luai_userstateyield (   L,
 
)    ((void)L)

Definition at line 253 of file llimits.h.

◆ MAX_INT

#define MAX_INT   INT_MAX /* maximum value of an int */

Definition at line 51 of file llimits.h.

◆ MAX_LMEM

#define MAX_LMEM   ((l_mem)(MAX_LUMEM >> 1))

Definition at line 48 of file llimits.h.

◆ MAX_LUMEM

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

Definition at line 46 of file llimits.h.

◆ MAX_SIZE

#define MAX_SIZE
Value:
(sizeof(size_t) < sizeof(lua_Integer) ? MAX_SIZET \
: (size_t)(LUA_MAXINTEGER))
#define MAX_SIZET
Definition: llimits.h:39
LUA_INTEGER lua_Integer
Definition: lua-5.3.5/lua.h:93

Definition at line 42 of file llimits.h.

◆ MAX_SIZET

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

Definition at line 39 of file llimits.h.

◆ MINSTRTABSIZE

#define MINSTRTABSIZE   128

Definition at line 188 of file llimits.h.

◆ point2uint

#define point2uint (   p)    ((unsigned int)((size_t)(p) & UINT_MAX))

Definition at line 59 of file llimits.h.

◆ STRCACHE_M

#define STRCACHE_M   2

Definition at line 199 of file llimits.h.

◆ STRCACHE_N

#define STRCACHE_N   53

Definition at line 198 of file llimits.h.

◆ UNUSED

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

Definition at line 106 of file llimits.h.

Typedef Documentation

◆ Instruction

typedef unsigned long Instruction

Definition at line 165 of file llimits.h.

◆ l_mem

typedef long l_mem

Definition at line 30 of file llimits.h.

◆ l_uacInt

typedef LUA_INTEGER l_uacInt

Definition at line 80 of file llimits.h.

◆ l_uacNumber

typedef double l_uacNumber

Definition at line 79 of file llimits.h.

◆ lu_byte

typedef unsigned char lu_byte

Definition at line 35 of file llimits.h.

◆ lu_mem

typedef unsigned long lu_mem

Definition at line 29 of file llimits.h.