Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
llimits.h File Reference
#include <limits.h>
#include <stddef.h>
#include "lua.h"

Go to the source code of this file.

Macros

#define MAX_SIZET   ((size_t)(~(size_t)0)-2)
 
#define MAX_LUMEM   ((lu_mem)(~(lu_mem)0)-2)
 
#define MAX_INT   (INT_MAX-2) /* maximum value of an int (-2 for safety) */
 
#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)) /* to avoid warnings */
 
#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
 

Macro Definition Documentation

◆ api_check

◆ cast

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

◆ cast_byte

◆ cast_int

◆ cast_num

◆ check_exp

#define check_exp ( c,
e )   (e)

Definition at line 63 of file lua-5.1.5/src/llimits.h.

Referenced by codecomp(), luaK_indexed(), upvalname(), upvalname(), and upvalname().

◆ condhardstacktests

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

Definition at line 123 of file lua-5.1.5/src/llimits.h.

Referenced by checkstacksizes().

◆ IntPoint

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

Definition at line 42 of file lua-5.1.5/src/llimits.h.

◆ lua_assert

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

Definition at line 62 of file lua-5.1.5/src/llimits.h.

Referenced by addk(), adjust_varargs(), adjust_varargs(), anchor_token(), Arith(), atomic(), atomic(), atomic(), atomic(), block(), check_next2(), check_next2(), choosePivot(), choosePivot(), chunk(), clearkey(), cleartable(), close_func(), close_func(), close_func(), close_func(), close_state(), close_state(), close_state(), close_state(), closegoto(), closegoto(), codebinexpval(), codebini(), codebitwise(), codeconcat(), codeeq(), codeextraarg(), codeextraarg(), codeextraarg(), codenot(), codenot(), codenot(), codenot(), codesJ(), computesizes(), computesizes(), computesizes(), computesizes(), const2exp(), const2val(), constfolding(), constructor(), constructor(), constructor(), constructor(), correctgraylist(), currentpc(), currentpc(), currentpc(), discharge2reg(), discharge2reg(), discharge2reg(), discharge2reg(), DumpConstants(), DumpConstants(), DumpConstants(), dumpConstants(), enterblock(), enterblock(), enterblock(), enterblock(), entersweep(), entersweep(), entersweep(), exp1(), exp1(), exp1(), f_parser(), f_parser(), f_parser(), finishCcall(), finishCcall(), finishCcall(), fixjump(), fixjump(), fixjump(), fixjump(), freeobj(), freeobj(), freeobj(), freeobj(), freereg(), freereg(), freereg(), freereg(), freestack(), freestack(), fullinc(), funcargs(), funcargs(), funcargs(), funcargs(), GCTM(), generationalcollection(), genlink(), genstep(), getbaseline(), getbuff(), getgclist(), getlocvar(), getlocvar(), getobjname(), gmatch_aux(), hookf(), hookf(), hookf(), hookf(), inclinenumber(), inclinenumber(), inclinenumber(), inclinenumber(), indexupvalue(), intarith(), intarith(), internshrstr(), internshrstr(), invertjump(), invertjump(), io_readline(), io_readline(), io_readline(), Ishl(), l_hashfloat(), l_hashfloat(), l_strton(), leaveblock(), leaveblock(), leaveblock(), leaveblock(), LEnum(), lessequalothers(), lessthanothers(), linkgclist_(), llex(), LoadConstants(), LoadConstants(), loadConstants(), loadline(), loadline(), localdebuginfo(), LTnum(), lua_close(), lua_getinfo(), lua_pushcclosure(), lua_resume(), lua_resume(), lua_resume(), lua_settop(), lua_toclose(), lua_yieldk(), lua_yieldk(), luaB_auxwrap(), luaC_barrier_(), luaC_barrierback(), luaC_barrierback_(), luaC_barrierback_(), luaC_barrierf(), luaC_barrierproto_(), luaC_checkfinalizer(), luaC_checkupvalcolor(), luaC_fix(), luaC_freeallobjects(), luaC_fullgc(), luaC_fullgc(), luaC_linkupval(), luaC_step(), luaC_upvalbarrier_(), luaC_upvdeccount(), luaD_callhook(), luaD_growstack(), luaD_hook(), luaD_hook(), luaD_poscall(), luaD_precall(), luaD_pretailcall(), luaD_reallocstack(), luaD_reallocstack(), luaD_seterrorobj(), luaE_extendCI(), luaE_freethread(), luaE_newthread(), luaE_setdebt(), luaF_close(), luaF_closeupval(), luaF_findupval(), luaF_newtbcupval(), luaF_unlinkupval(), luaG_concaterror(), luaG_errormsg(), luaG_getfuncline(), luaH_getn(), luaH_getshortstr(), luaH_getstr(), luaH_newkey(), luaH_newkey(), luaH_realasize(), luai_makeseed(), luaK_codeABC(), luaK_codeABCk(), luaK_codeABx(), luaK_codeAsBx(), luaK_dischargevars(), luaK_finish(), luaK_indexed(), luaK_infix(), luaK_patchclose(), luaK_patchlist(), luaK_posfix(), luaK_posfix(), luaK_posfix(), luaK_prefix(), luaK_prefix(), luaK_setlist(), luaK_setoneret(), luaK_setreturns(), luaK_storevar(), luaL_ref(), luaL_unref(), luaM_free_(), luaM_growaux_(), luaM_realloc_(), luaM_shrinkvector_(), luaO_arith(), luaO_arith(), luaO_pushvfstring(), luaO_rawequalObj(), luaO_tostring(), luaO_utf8esc(), luaS_eqlngstr(), luaS_hashlongstr(), luaS_resize(), luaT_adjustvarargs(), luaT_gettm(), luaU_undump(), luaV_concat(), luaV_equalobj_(), luaV_equalval(), luaV_execute(), luaV_execute(), luaV_execute(), luaV_finishget(), luaV_finishOp(), luaV_finishset(), luaV_finishset(), luaX_init(), luaX_lookahead(), luaX_token2str(), luaY_parser(), luaY_parser(), mainposition(), makeseed(), makeseed(), markold(), negatecondition(), negatecondition(), newkey(), newupvalue(), numarith(), numarith(), poptbclist(), project(), propagatelist(), propagatemark(), propagatemark(), propagatemark(), propagatemark(), read_numeral(), read_numeral(), read_numeral(), read_numeral(), reallymarkobject(), reallymarkobject(), reallymarkobject(), reallymarkobject(), remarkupvals(), remarkupvals(), remarkupvals(), removeentry(), removeentry(), removeentry(), removelastlineinfo(), reprepstate(), reprepstate(), restore_stack_limit(), resume(), resume(), resume(), resume(), retstat(), retstat(), retstat(), retstat(), rotl(), rotl1(), runafewfinalizers(), runargs(), runargs(), runargs(), runargs(), separatetobefnz(), separatetobefnz(), separatetobefnz(), setpause(), setpause(), singlestep(), singlestep(), singlestep(), singlestep(), singlevar(), singlevar(), singlevar(), skip_sep(), skip_sep(), skip_sep(), skip_sep(), solvegoto(), stackinuse(), stackinuse(), stackinuse(), statement(), statement(), statement(), str2K(), str_find_aux(), str_format(), str_format(), str_gsub(), sweep2old(), sweepgen(), sweeplist(), tofile(), tofile(), tofile(), tostringbuff(), traverseclosure(), traversestack(), traversestrongtable(), traversestrongtable(), traversestrongtable(), traversetable(), traversethread(), traversethread(), traverseweakvalue(), traverseweakvalue(), traverseweakvalue(), udata2finalize(), udata2finalize(), udata2finalize(), unlinkupval(), unlinkupval(), and youngcollection().

◆ lua_lock

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

Definition at line 110 of file lua-5.1.5/src/llimits.h.

Referenced by aux_rawset(), DumpBlock(), DumpBlock(), DumpBlock(), dumpBlock(), finishCcall(), finishCcall(), finishCcall(), lua_arith(), lua_atpanic(), lua_call(), lua_callk(), lua_callk(), lua_checkstack(), lua_checkstack(), lua_close(), lua_closeslot(), lua_compare(), lua_concat(), lua_copy(), lua_cpcall(), lua_createtable(), lua_dump(), lua_dump(), lua_equal(), lua_error(), lua_gc(), lua_gc(), lua_getallocf(), lua_getfenv(), lua_getfield(), lua_getglobal(), lua_getglobal(), lua_geti(), lua_getinfo(), lua_getiuservalue(), lua_getlocal(), lua_getmetatable(), lua_getstack(), lua_gettable(), lua_getupvalue(), lua_getuservalue(), lua_insert(), lua_len(), lua_lessthan(), lua_load(), lua_load(), lua_newthread(), lua_newuserdata(), lua_newuserdatauv(), lua_next(), lua_objlen(), lua_pcall(), lua_pcallk(), lua_pcallk(), lua_pushboolean(), lua_pushcclosure(), lua_pushfstring(), lua_pushinteger(), lua_pushlightuserdata(), lua_pushlstring(), lua_pushnil(), lua_pushnumber(), lua_pushstring(), lua_pushthread(), lua_pushunsigned(), lua_pushvalue(), lua_pushvfstring(), lua_rawget(), lua_rawgeti(), lua_rawgeti(), lua_rawgetp(), lua_rawset(), lua_rawseti(), lua_rawseti(), lua_rawsetp(), lua_remove(), lua_replace(), lua_resetthread(), lua_resume(), lua_resume(), lua_resume(), lua_rotate(), lua_setallocf(), lua_setfenv(), lua_setfield(), lua_setglobal(), lua_setglobal(), lua_seti(), lua_setiuservalue(), lua_setlocal(), lua_setmetatable(), lua_settable(), lua_settop(), lua_setupvalue(), lua_setuservalue(), lua_setwarnf(), lua_toclose(), lua_tolstring(), lua_warning(), lua_xmove(), lua_yield(), lua_yieldk(), lua_yieldk(), luaD_callhook(), luaD_hook(), luaD_hook(), luaD_precall(), luaZ_fill(), pmain(), pmain(), pmain(), pmain(), resume(), resume(), and resume().

◆ LUA_MINBUFFER

#define LUA_MINBUFFER   32

Definition at line 105 of file lua-5.1.5/src/llimits.h.

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

◆ lua_unlock

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

Definition at line 111 of file lua-5.1.5/src/llimits.h.

Referenced by aux_rawset(), auxgetstr(), auxgetstr(), auxsetstr(), auxsetstr(), DumpBlock(), DumpBlock(), DumpBlock(), dumpBlock(), finishCcall(), finishCcall(), finishCcall(), finishrawget(), lua_arith(), lua_atpanic(), lua_call(), lua_callk(), lua_callk(), lua_checkstack(), lua_checkstack(), lua_closeslot(), lua_compare(), lua_concat(), lua_copy(), lua_cpcall(), lua_createtable(), lua_dump(), lua_dump(), lua_equal(), lua_error(), lua_gc(), lua_gc(), lua_getallocf(), lua_getfenv(), lua_getfield(), lua_getglobal(), lua_geti(), lua_getinfo(), lua_getiuservalue(), lua_getlocal(), lua_getmetatable(), lua_getstack(), lua_gettable(), lua_getupvalue(), lua_getuservalue(), lua_insert(), lua_len(), lua_lessthan(), lua_load(), lua_load(), lua_newthread(), lua_newuserdata(), lua_newuserdatauv(), lua_next(), lua_objlen(), lua_pcall(), lua_pcallk(), lua_pcallk(), lua_pushboolean(), lua_pushcclosure(), lua_pushfstring(), lua_pushinteger(), lua_pushlightuserdata(), lua_pushlstring(), lua_pushnil(), lua_pushnumber(), lua_pushstring(), lua_pushthread(), lua_pushunsigned(), lua_pushvalue(), lua_pushvfstring(), lua_rawget(), lua_rawgeti(), lua_rawgeti(), lua_rawgetp(), lua_rawset(), lua_rawseti(), lua_rawseti(), lua_rawsetp(), lua_remove(), lua_replace(), lua_resetthread(), lua_resume(), lua_resume(), lua_resume(), lua_rotate(), lua_setallocf(), lua_setfenv(), lua_setfield(), lua_setglobal(), lua_seti(), lua_setiuservalue(), lua_setlocal(), lua_setmetatable(), lua_settable(), lua_settop(), lua_setupvalue(), lua_setuservalue(), lua_setwarnf(), lua_toclose(), lua_tolstring(), lua_warning(), lua_xmove(), lua_yield(), lua_yieldk(), lua_yieldk(), luaD_callhook(), luaD_hook(), luaD_hook(), luaD_precall(), luaD_throw(), luaZ_fill(), pmain(), pmain(), pmain(), pmain(), resume(), resume(), resume(), resume_error(), resume_error(), and resume_error().

◆ luai_threadyield

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

Definition at line 115 of file lua-5.1.5/src/llimits.h.

◆ MAX_INT

◆ MAX_LUMEM

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

Definition at line 32 of file lua-5.1.5/src/llimits.h.

Referenced by lua_gc(), and luaC_step().

◆ MAX_SIZET

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

◆ MAXSTACK

#define MAXSTACK   250

Definition at line 93 of file lua-5.1.5/src/llimits.h.

Referenced by luaK_checkstack(), and precheck().

◆ MINSTRTABSIZE

#define MINSTRTABSIZE   32

Definition at line 99 of file lua-5.1.5/src/llimits.h.

Referenced by checkSizes(), f_luaopen(), f_luaopen(), and luaS_init().

◆ UNUSED

Typedef Documentation

◆ Instruction

Definition at line 88 of file lua-5.1.5/src/llimits.h.

◆ l_mem

typedef LUAI_MEM l_mem

Definition at line 22 of file lua-5.1.5/src/llimits.h.

◆ l_uacNumber

Definition at line 51 of file lua-5.1.5/src/llimits.h.

◆ L_Umaxalign

typedef LUAI_USER_ALIGNMENT_T L_Umaxalign

Definition at line 47 of file lua-5.1.5/src/llimits.h.

◆ lu_byte

typedef unsigned char lu_byte

Definition at line 27 of file lua-5.1.5/src/llimits.h.

◆ lu_int32

Definition at line 18 of file lua-5.1.5/src/llimits.h.

◆ lu_mem

typedef LUAI_UMEM lu_mem

Definition at line 20 of file lua-5.1.5/src/llimits.h.