Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Data Structures | |
struct | stringtable |
struct | CallInfo |
struct | global_State |
struct | lua_State |
struct | GCObject |
Macros | |
#define | gt(L) (&L->l_gt) |
#define | registry(L) (&G(L)->l_registry) |
#define | EXTRA_STACK 5 |
#define | BASIC_CI_SIZE 8 |
#define | BASIC_STACK_SIZE (2*LUA_MINSTACK) |
#define | curr_func(L) (clvalue(L->ci->func)) |
#define | ci_func(ci) (clvalue((ci)->func)) |
#define | f_isLua(ci) (!ci_func(ci)->c.isC) |
#define | isLua(ci) (ttisfunction((ci)->func) && f_isLua(ci)) |
#define | G(L) (L->l_G) |
#define | rawgco2ts(o) check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts)) |
#define | gco2ts(o) (&rawgco2ts(o)->tsv) |
#define | rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) |
#define | gco2u(o) (&rawgco2u(o)->uv) |
#define | gco2cl(o) check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl)) |
#define | gco2h(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h)) |
#define | gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p)) |
#define | gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv)) |
#define | ngcotouv(o) check_exp((o) == NULL || (o)->gch.tt == LUA_TUPVAL, &((o)->uv)) |
#define | gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th)) |
#define | obj2gco(v) (cast(GCObject *, (v))) |
Typedefs | |
typedef struct stringtable | stringtable |
typedef struct CallInfo | CallInfo |
typedef struct global_State | global_State |
Functions | |
LUAI_FUNC lua_State * | luaE_newthread (lua_State *L) |
LUAI_FUNC void | luaE_freethread (lua_State *L, lua_State *L1) |
#define BASIC_CI_SIZE 8 |
Definition at line 32 of file lua-5.1.5/src/lstate.h.
Referenced by stack_init().
#define BASIC_STACK_SIZE (2*LUA_MINSTACK) |
Definition at line 34 of file lua-5.1.5/src/lstate.h.
Referenced by checkstacksizes(), stack_init(), stack_init(), stack_init(), and stack_init().
#define ci_func | ( | ci | ) | (clvalue((ci)->func)) |
Definition at line 60 of file lua-5.1.5/src/lstate.h.
Referenced by addinfo(), currentline(), currentline(), currentpc(), currentpc(), currentpc(), findlocal(), funcnamefromcode(), getcurrentline(), getfuncname(), getfuncname(), getluaproto(), getobjname(), getupvalname(), getupvalname(), luaD_hookcall(), luaG_findlocal(), luaG_runerror(), luaG_traceexec(), luaG_typeerror(), rethook(), traceexec(), traceexec(), and varinfo().
#define curr_func | ( | L | ) | (clvalue(L->ci->func)) |
Definition at line 59 of file lua-5.1.5/src/lstate.h.
Referenced by duk__emit(), duk__update_lineinfo_currtoken(), getcurrenv(), index2adr(), lua_replace(), and luaD_precall().
#define EXTRA_STACK 5 |
Definition at line 29 of file lua-5.1.5/src/lstate.h.
Referenced by checkstacksizes(), freestack(), lua_checkstack(), lua_checkstack(), luaD_growstack(), luaD_reallocstack(), luaD_reallocstack(), luaD_shrinkstack(), restore_stack_limit(), stack_init(), stack_init(), stack_init(), stack_init(), and traversethread().
#define f_isLua | ( | ci | ) | (!ci_func(ci)->c.isC) |
Definition at line 61 of file lua-5.1.5/src/lstate.h.
Referenced by callrethooks(), lua_getstack(), and resume().
#define G | ( | L | ) | (L->l_G) |
Definition at line 130 of file lua-5.1.5/src/lstate.h.
Referenced by atomic(), atomic(), atomic(), atomic(), callallpendingfinalizers(), callallpendingfinalizers(), callallpendingfinalizers(), checkSizes(), checkSizes(), close_state(), close_state(), close_state(), close_state(), entersweep(), entersweep(), entersweep(), f_luaopen(), f_luaopen(), f_luaopen(), f_luaopen(), freeobj(), freeobj(), funcnamefromcode(), funcnamefromcode(), GCTM(), GCTM(), GCTM(), GCTM(), generationalcollection(), getfuncname(), incstep(), index2addr(), index2addr(), index2value(), internshrstr(), internshrstr(), internshrstr(), lua_atpanic(), lua_close(), lua_error(), lua_gc(), lua_gc(), lua_getallocf(), lua_getglobal(), lua_getglobal(), lua_getmetatable(), lua_load(), lua_newthread(), lua_pushthread(), lua_setallocf(), lua_setglobal(), lua_setglobal(), lua_setmetatable(), lua_setwarnf(), lua_version(), lua_xmove(), lua_yieldk(), lua_yieldk(), luaC_barrier_(), luaC_barrierback(), luaC_barrierback_(), luaC_barrierback_(), luaC_barrierf(), luaC_barrierproto_(), luaC_callGCTM(), luaC_changemode(), luaC_changemode(), luaC_checkfinalizer(), luaC_fix(), luaC_forcestep(), luaC_freeall(), luaC_freeallobjects(), luaC_fullgc(), luaC_fullgc(), luaC_link(), luaC_linkupval(), luaC_newobj(), luaC_newobj(), luaC_runtilstate(), luaC_separateudata(), luaC_step(), luaC_upvalbarrier_(), luaD_seterrorobj(), luaD_throw(), luaE_newthread(), luaE_warning(), luaF_close(), luaF_findupval(), luaM_free_(), luaM_malloc_(), luaM_realloc_(), luaS_createlngstrobj(), luaS_init(), luaS_new(), luaS_newlstr(), luaS_newudata(), luaS_remove(), luaS_resize(), luaS_resize(), luaT_gettmbyobj(), luaT_init(), luaV_concat(), luaV_concat(), markroot(), newlstr(), newshrstr(), newupval(), pmain(), preinit_state(), preinit_state(), preinit_thread(), preinit_thread(), prepcallclosemth(), runafewfinalizers(), runafewfinalizers(), separatetobefnz(), seterrorobj(), seterrorobj(), singlestep(), singlestep(), singlestep(), singlestep(), sweep2old(), sweeplist(), sweeplist(), sweeplist(), sweeplist(), sweepthread(), and tryagain().
#define gco2cl | ( | o | ) | check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl)) |
Definition at line 153 of file lua-5.1.5/src/lstate.h.
Referenced by freeobj(), propagatemark(), and reallymarkobject().
#define gco2h | ( | o | ) | check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h)) |
Definition at line 154 of file lua-5.1.5/src/lstate.h.
Referenced by cleartable(), freeobj(), propagatemark(), and reallymarkobject().
#define gco2p | ( | o | ) | check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p)) |
Definition at line 155 of file lua-5.1.5/src/lstate.h.
Referenced by freeobj(), freeobj(), freeobj(), freeobj(), getgclist(), luaF_newproto(), propagatemark(), propagatemark(), propagatemark(), propagatemark(), reallymarkobject(), reallymarkobject(), and reallymarkobject().
#define gco2th | ( | o | ) | check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th)) |
Definition at line 159 of file lua-5.1.5/src/lstate.h.
Referenced by freeobj(), freeobj(), freeobj(), freeobj(), getgclist(), propagatemark(), propagatemark(), propagatemark(), propagatemark(), reallymarkobject(), reallymarkobject(), reallymarkobject(), sweep2old(), sweeplist(), and sweeplist().
#define gco2ts | ( | o | ) | (&rawgco2ts(o)->tsv) |
Definition at line 150 of file lua-5.1.5/src/lstate.h.
Referenced by createstrobj(), createstrobj(), freeobj(), freeobj(), freeobj(), freeobj(), luaS_resize(), reallymarkobject(), and reallymarkobject().
#define gco2u | ( | o | ) | (&rawgco2u(o)->uv) |
Definition at line 152 of file lua-5.1.5/src/lstate.h.
Referenced by freeobj(), freeobj(), freeobj(), freeobj(), getgclist(), luaC_separateudata(), luaS_newudata(), luaS_newudata(), propagatemark(), reallymarkobject(), reallymarkobject(), reallymarkobject(), and reallymarkobject().
#define gco2uv | ( | o | ) | check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv)) |
Definition at line 156 of file lua-5.1.5/src/lstate.h.
Referenced by correctstack(), correctstack(), freeobj(), freeobj(), luaF_close(), luaF_findupval(), reallymarkobject(), and reallymarkobject().
#define gt | ( | L | ) | (&L->l_gt) |
Definition at line 22 of file lua-5.1.5/src/lstate.h.
Referenced by closegoto(), closegoto(), f_luaopen(), f_parser(), findlabel(), findlabel(), getcurrenv(), index2adr(), jumpscopeerror(), lua_getfenv(), lua_getglobal(), lua_load(), lua_setfenv(), lua_setglobal(), luaE_newthread(), markroot(), movegotosout(), movegotosout(), movegotosout(), preinit_state(), solvegoto(), traversestack(), undefgoto(), undefgoto(), and undefgoto().
#define isLua | ( | ci | ) | (ttisfunction((ci)->func) && f_isLua(ci)) |
Definition at line 62 of file lua-5.1.5/src/lstate.h.
Referenced by addinfo(), addinfo(), auxgetinfo(), auxgetinfo(), auxgetinfo(), callhook(), callhook(), callTM(), correctstack(), correctstack(), correctstack(), currentpc(), currentpc(), currentpc(), currentpc(), findlocal(), findlocal(), getfuncname(), getfuncname(), getfuncname(), getluaproto(), getobjname(), lua_callk(), lua_callk(), lua_pcallk(), lua_pcallk(), lua_sethook(), lua_yieldk(), lua_yieldk(), luaD_hook(), luaG_callerror(), luaG_findlocal(), luaG_runerror(), luaG_typeerror(), luaT_callTM(), luaV_execute(), luaV_execute(), resume(), resume(), resume(), rethook(), settraps(), unroll(), unroll(), unroll(), varinfo(), and varinfo().
#define ngcotouv | ( | o | ) | check_exp((o) == NULL || (o)->gch.tt == LUA_TUPVAL, &((o)->uv)) |
Definition at line 157 of file lua-5.1.5/src/lstate.h.
Referenced by luaF_close(), and luaF_findupval().
Definition at line 162 of file lua-5.1.5/src/lstate.h.
Referenced by adjust_varargs(), atomic(), atomic(), aux_rawset(), aux_upvalue(), aux_upvalue(), close_state(), lua_newstate(), lua_newthread(), lua_pushcclosure(), lua_rawseti(), luaC_barrierback(), luaC_barrierproto_(), luaC_checkupvalcolor(), luaC_freeallobjects(), luaC_linkupval(), luaC_newobj(), luaE_newthread(), luaF_close(), luaF_findupval(), luaF_newCclosure(), luaF_newLclosure(), luaF_newproto(), luaF_newupval(), luaH_new(), luaH_newkey(), luaH_newkey(), luaS_init(), luaS_newudata(), luaT_init(), luaV_execute(), luaV_execute(), luaV_finishset(), luaV_settable(), luaX_init(), newlstr(), remarkupvals(), remarkupvals(), singlestep(), traverseephemeron(), traverseproto(), traversestrongtable(), traversetable(), traversetable(), and traverseudata().
#define rawgco2ts | ( | o | ) | check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts)) |
Definition at line 149 of file lua-5.1.5/src/lstate.h.
Referenced by internshrstr(), and luaS_newlstr().
#define rawgco2u | ( | o | ) | check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) |
Definition at line 151 of file lua-5.1.5/src/lstate.h.
Referenced by GCTM().
#define registry | ( | L | ) | (&G(L)->l_registry) |
Definition at line 25 of file lua-5.1.5/src/lstate.h.
Referenced by f_luaopen(), index2adr(), init_registry(), init_registry(), init_registry(), lua_newstate(), and markroot().
typedef struct CallInfo CallInfo |
typedef struct global_State global_State |
typedef struct stringtable stringtable |
Definition at line 134 of file lua-5.1.5/src/lstate.c.
Definition at line 119 of file lua-5.1.5/src/lstate.c.
References lua_State::basehookcount, G, gt, lua_State::hook, lua_State::hookmask, iswhite, lua_assert, LUA_TTHREAD, luaC_link(), luaM_malloc, obj2gco, preinit_state(), resethookcount, setobj2n, stack_init(), state_size, and tostate.
Referenced by lua_newthread().