Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Data Structures | |
struct | GCheader |
union | Value |
struct | lua_TValue |
struct | TString |
struct | Udata |
struct | Proto |
struct | LocVar |
struct | UpVal |
struct | CClosure |
struct | LClosure |
union | Closure |
union | TKey |
union | Node |
struct | Table |
Macros | |
#define | LAST_TAG LUA_TTHREAD |
#define | NUM_TAGS (LAST_TAG+1) |
#define | LUA_TPROTO (LAST_TAG+1) |
#define | LUA_TUPVAL (LAST_TAG+2) |
#define | LUA_TDEADKEY (LAST_TAG+3) |
#define | CommonHeader GCObject *next; lu_byte tt; lu_byte marked |
#define | TValuefields Value value; int tt |
#define | ttisnil(o) (ttype(o) == LUA_TNIL) |
#define | ttisnumber(o) (ttype(o) == LUA_TNUMBER) |
#define | ttisstring(o) (ttype(o) == LUA_TSTRING) |
#define | ttistable(o) (ttype(o) == LUA_TTABLE) |
#define | ttisfunction(o) (ttype(o) == LUA_TFUNCTION) |
#define | ttisboolean(o) (ttype(o) == LUA_TBOOLEAN) |
#define | ttisuserdata(o) (ttype(o) == LUA_TUSERDATA) |
#define | ttisthread(o) (ttype(o) == LUA_TTHREAD) |
#define | ttislightuserdata(o) (ttype(o) == LUA_TLIGHTUSERDATA) |
#define | ttype(o) ((o)->tt) |
#define | gcvalue(o) check_exp(iscollectable(o), (o)->value.gc) |
#define | pvalue(o) check_exp(ttislightuserdata(o), (o)->value.p) |
#define | nvalue(o) check_exp(ttisnumber(o), (o)->value.n) |
#define | rawtsvalue(o) check_exp(ttisstring(o), &(o)->value.gc->ts) |
#define | tsvalue(o) (&rawtsvalue(o)->tsv) |
#define | rawuvalue(o) check_exp(ttisuserdata(o), &(o)->value.gc->u) |
#define | uvalue(o) (&rawuvalue(o)->uv) |
#define | clvalue(o) check_exp(ttisfunction(o), &(o)->value.gc->cl) |
#define | hvalue(o) check_exp(ttistable(o), &(o)->value.gc->h) |
#define | bvalue(o) check_exp(ttisboolean(o), (o)->value.b) |
#define | thvalue(o) check_exp(ttisthread(o), &(o)->value.gc->th) |
#define | l_isfalse(o) (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0)) |
#define | checkconsistency(obj) lua_assert(!iscollectable(obj) || (ttype(obj) == (obj)->value.gc->gch.tt)) |
#define | checkliveness(g, obj) |
#define | setnilvalue(obj) ((obj)->tt=LUA_TNIL) |
#define | setnvalue(obj, x) { TValue *i_o=(obj); i_o->value.n=(x); i_o->tt=LUA_TNUMBER; } |
#define | setpvalue(obj, x) { TValue *i_o=(obj); i_o->value.p=(x); i_o->tt=LUA_TLIGHTUSERDATA; } |
#define | setbvalue(obj, x) { TValue *i_o=(obj); i_o->value.b=(x); i_o->tt=LUA_TBOOLEAN; } |
#define | setsvalue(L, obj, x) |
#define | setuvalue(L, obj, x) |
#define | setthvalue(L, obj, x) |
#define | setclvalue(L, obj, x) |
#define | sethvalue(L, obj, x) |
#define | setptvalue(L, obj, x) |
#define | setobj(L, obj1, obj2) |
#define | setobjs2s setobj |
#define | setobj2s setobj |
#define | setsvalue2s setsvalue |
#define | sethvalue2s sethvalue |
#define | setptvalue2s setptvalue |
#define | setobjt2t setobj |
#define | setobj2t setobj |
#define | setobj2n setobj |
#define | setsvalue2n setsvalue |
#define | setttype(obj, tt) (ttype(obj) = (tt)) |
#define | iscollectable(o) (ttype(o) >= LUA_TSTRING) |
#define | getstr(ts) cast(const char *, (ts) + 1) |
#define | svalue(o) getstr(rawtsvalue(o)) |
#define | VARARG_HASARG 1 |
#define | VARARG_ISVARARG 2 |
#define | VARARG_NEEDSARG 4 |
#define | ClosureHeader |
#define | iscfunction(o) (ttype(o) == LUA_TFUNCTION && clvalue(o)->c.isC) |
#define | isLfunction(o) (ttype(o) == LUA_TFUNCTION && !clvalue(o)->c.isC) |
#define | lmod(s, size) (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1))))) |
#define | twoto(x) (1<<(x)) |
#define | sizenode(t) (twoto((t)->lsizenode)) |
#define | luaO_nilobject (&luaO_nilobject_) |
#define | ceillog2(x) (luaO_log2((x)-1) + 1) |
Typedefs | |
typedef union GCObject | GCObject |
typedef struct GCheader | GCheader |
typedef struct lua_TValue | TValue |
typedef TValue * | StkId |
typedef union TString | TString |
typedef union Udata | Udata |
typedef struct Proto | Proto |
typedef struct LocVar | LocVar |
typedef struct UpVal | UpVal |
typedef struct CClosure | CClosure |
typedef struct LClosure | LClosure |
typedef union Closure | Closure |
typedef union TKey | TKey |
typedef struct Node | Node |
typedef struct Table | Table |
Functions | |
LUAI_FUNC int | luaO_log2 (unsigned int x) |
LUAI_FUNC int | luaO_int2fb (unsigned int x) |
LUAI_FUNC int | luaO_fb2int (int x) |
LUAI_FUNC int | luaO_rawequalObj (const TValue *t1, const TValue *t2) |
LUAI_FUNC int | luaO_str2d (const char *s, lua_Number *result) |
LUAI_FUNC const char * | luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) |
LUAI_FUNC const char * | luaO_pushfstring (lua_State *L, const char *fmt,...) |
LUAI_FUNC void | luaO_chunkid (char *out, const char *source, size_t len) |
Variables | |
LUAI_DATA const TValue | luaO_nilobject_ |
#define bvalue | ( | o | ) | check_exp(ttisboolean(o), (o)->value.b) |
Definition at line 100 of file lua-5.1.5/src/lobject.h.
Referenced by DumpConstants(), DumpConstants(), DumpConstants(), luaO_rawequalObj(), luaV_equalobj(), luaV_equalobj_(), luaV_equalval(), mainposition(), mainposition(), mainposition(), PrintConstant(), PrintConstant(), and PrintConstant().
#define ceillog2 | ( | x | ) | (luaO_log2((x)-1) + 1) |
Definition at line 367 of file lua-5.1.5/src/lobject.h.
Referenced by countint(), and setnodevector().
#define checkconsistency | ( | obj | ) | lua_assert(!iscollectable(obj) || (ttype(obj) == (obj)->value.gc->gch.tt)) |
Definition at line 108 of file lua-5.1.5/src/lobject.h.
#define checkliveness | ( | g, | |
obj ) |
Definition at line 111 of file lua-5.1.5/src/lobject.h.
#define ClosureHeader |
Definition at line 291 of file lua-5.1.5/src/lobject.h.
#define clvalue | ( | o | ) | check_exp(ttisfunction(o), &(o)->value.gc->cl) |
Definition at line 98 of file lua-5.1.5/src/lobject.h.
Referenced by aux_upvalue(), lua_dump(), lua_getfenv(), lua_getinfo(), lua_setfenv(), lua_setupvalue(), lua_tocfunction(), lua_topointer(), luaD_precall(), and luaV_execute().
Definition at line 43 of file lua-5.1.5/src/lobject.h.
#define gcvalue | ( | o | ) | check_exp(iscollectable(o), (o)->value.gc) |
Definition at line 91 of file lua-5.1.5/src/lobject.h.
Referenced by equalkey(), findindex(), findindex(), findindex(), iscleared(), iscleared(), iscleared(), lua_rawset(), lua_rawseti(), lua_rawsetp(), lua_setfenv(), lua_setiuservalue(), lua_setmetatable(), lua_setuservalue(), lua_topointer(), luaC_upvalbarrier_(), luaO_rawequalObj(), luaV_equalobj(), luaV_equalobj_(), luaV_equalval(), mainposition(), mainposition(), mainposition(), reallymarkobject(), traverseephemeron(), traverseephemeron(), and traverseephemeron().
#define getstr | ( | ts | ) | cast(const char *, (ts) + 1) |
Definition at line 210 of file lua-5.1.5/src/lobject.h.
Referenced by addinfo(), addinfo(), anchor_token(), anchor_token(), aux_upvalue(), aux_upvalue(), aux_upvalue(), aux_upvalue(), check_readonly(), checkrepeated(), checkrepeated(), checkrepeated(), closegoto(), closegoto(), createstrobj(), createstrobj(), DumpString(), DumpString(), DumpString(), dumpString(), funcinfo(), funcinfo(), funcinfo(), funcinfo(), funcnamefromcode(), funcnamefromcode(), getfuncname(), getlocalattribute(), getobjname(), internshrstr(), internshrstr(), internshrstr(), jumpscopeerror(), l_strcmp(), l_strcmp(), l_strcmp(), l_strcmp(), lexerror(), LoadString(), loadStringN(), lua_pushlstring(), lua_pushstring(), luaF_getlocalname(), luaG_addinfo(), luaS_eqlngstr(), luaS_hashlongstr(), luaS_new(), luaS_newlstr(), luaT_objtypename(), luaV_concat(), luaX_lexerror(), mainposition(), PrintCode(), PrintDebug(), PrintDebug(), PrintDebug(), PrintHeader(), PrintHeader(), PrintHeader(), PrintHeader(), PrintLocals(), PrintString(), PrintString(), PrintString(), PrintString(), PrintUpvalues(), undefgoto(), undefgoto(), undefgoto(), upvalname(), upvalname(), and upvalname().
Definition at line 99 of file lua-5.1.5/src/lobject.h.
Referenced by f_parser(), getcurrenv(), gettable(), lua_getglobal(), lua_getglobal(), lua_getmetatable(), lua_load(), lua_next(), lua_objlen(), lua_rawget(), lua_rawgeti(), lua_rawgeti(), lua_rawgetp(), lua_rawlen(), lua_rawset(), lua_rawseti(), lua_rawseti(), lua_rawsetp(), lua_replace(), lua_setfenv(), lua_setglobal(), lua_setglobal(), lua_setmetatable(), lua_setuservalue(), lua_topointer(), luaT_gettmbyobj(), luaT_objtypename(), luaV_equalobj(), luaV_equalobj_(), luaV_equalval(), luaV_execute(), luaV_execute(), luaV_execute(), luaV_finishget(), luaV_finishset(), luaV_finishset(), luaV_gettable(), luaV_objlen(), and luaV_settable().
#define iscfunction | ( | o | ) | (ttype(o) == LUA_TFUNCTION && clvalue(o)->c.isC) |
Definition at line 315 of file lua-5.1.5/src/lobject.h.
Referenced by lua_iscfunction(), and lua_tocfunction().
#define iscollectable | ( | o | ) | (ttype(o) >= LUA_TSTRING) |
Definition at line 189 of file lua-5.1.5/src/lobject.h.
Referenced by equalkey(), findindex(), findindex(), findindex(), iscleared(), iscleared(), iscleared(), lua_topointer(), luaO_rawequalObj(), luaV_equalobj_(), and removeentry().
#define isLfunction | ( | o | ) | (ttype(o) == LUA_TFUNCTION && !clvalue(o)->c.isC) |
Definition at line 316 of file lua-5.1.5/src/lobject.h.
Referenced by lua_dump(), lua_dump(), and lua_getlocal().
#define l_isfalse | ( | o | ) | (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0)) |
Definition at line 103 of file lua-5.1.5/src/lobject.h.
Referenced by call_orderTM(), call_orderTM(), lua_toboolean(), luaF_newtbcupval(), luaT_callorderTM(), luaV_equalobj(), luaV_equalobj_(), luaV_equalval(), luaV_execute(), luaV_execute(), luaV_execute(), and luaV_finishOp().
#define LAST_TAG LUA_TTHREAD |
Definition at line 20 of file lua-5.1.5/src/lobject.h.
Definition at line 355 of file lua-5.1.5/src/lobject.h.
Referenced by internshrstr(), internshrstr(), internshrstr(), luaS_newlstr(), luaS_remove(), luaS_resize(), newlstr(), newshrstr(), and tablerehash().
#define LUA_TDEADKEY (LAST_TAG+3) |
Definition at line 30 of file lua-5.1.5/src/lobject.h.
Referenced by findindex(), removeentry(), and traversetable().
#define LUA_TPROTO (LAST_TAG+1) |
Definition at line 28 of file lua-5.1.5/src/lobject.h.
Referenced by freeobj(), freeobj(), freeobj(), luaF_newproto(), propagatemark(), propagatemark(), propagatemark(), reallymarkobject(), reallymarkobject(), and reallymarkobject().
#define LUA_TUPVAL (LAST_TAG+2) |
Definition at line 29 of file lua-5.1.5/src/lobject.h.
Referenced by freeobj(), freeobj(), luaF_findupval(), luaF_newupval(), reallymarkobject(), and reallymarkobject().
#define luaO_nilobject (&luaO_nilobject_) |
Definition at line 363 of file lua-5.1.5/src/lobject.h.
Referenced by getgeneric(), index2adr(), lua_equal(), lua_lessthan(), lua_rawequal(), lua_type(), luaH_get(), luaH_getint(), luaH_getint(), luaH_getnum(), luaH_getshortstr(), luaH_getstr(), luaH_set(), luaH_setint(), luaH_setint(), luaH_setnum(), luaH_setstr(), luaS_newudata(), luaT_gettmbyobj(), luaV_execute(), luaV_finishset(), luaV_settable(), makeseed(), makeseed(), and moveresults().
#define NUM_TAGS (LAST_TAG+1) |
Definition at line 22 of file lua-5.1.5/src/lobject.h.
Referenced by lua_newstate(), and markmt().
#define nvalue | ( | o | ) | check_exp(ttisnumber(o), (o)->value.n) |
Definition at line 93 of file lua-5.1.5/src/lobject.h.
Referenced by addk(), addk(), Arith(), arrayindex(), arrayindex(), DumpConstants(), DumpConstants(), lessequal(), lua_arith(), lua_tointeger(), lua_tointegerx(), lua_tonumber(), lua_tonumberx(), lua_tounsignedx(), luaH_get(), luaH_getint(), luaH_getnum(), luaH_newkey(), luaH_set(), luaO_rawequalObj(), luaV_arith(), luaV_equalobj_(), luaV_equalval(), luaV_execute(), luaV_execute(), luaV_lessequal(), luaV_lessthan(), luaV_tonumber_(), luaV_tostring(), mainposition(), mainposition(), PrintConstant(), PrintConstant(), validop(), and validop().
#define pvalue | ( | o | ) | check_exp(ttislightuserdata(o), (o)->value.p) |
Definition at line 92 of file lua-5.1.5/src/lobject.h.
Referenced by equalkey(), lua_topointer(), lua_touserdata(), luaO_rawequalObj(), luaV_equalobj(), luaV_equalobj_(), luaV_equalval(), mainposition(), mainposition(), mainposition(), and touserdata().
#define rawtsvalue | ( | o | ) | check_exp(ttisstring(o), &(o)->value.gc->ts) |
Definition at line 94 of file lua-5.1.5/src/lobject.h.
Referenced by DumpConstants(), DumpConstants(), iscleared(), iscleared(), lessequal(), luaH_get(), luaH_getstr(), luaV_equalobj_(), luaV_lessequal(), luaV_lessthan(), luaX_newstring(), mainposition(), mainposition(), PrintConstant(), and PrintConstant().
#define rawuvalue | ( | o | ) | check_exp(ttisuserdata(o), &(o)->value.gc->u) |
Definition at line 96 of file lua-5.1.5/src/lobject.h.
Referenced by lua_setmetatable(), and lua_touserdata().
#define setbvalue | ( | obj, | |
x ) { TValue *i_o=(obj); i_o->value.b=(x); i_o->tt=LUA_TBOOLEAN; } |
Definition at line 125 of file lua-5.1.5/src/lobject.h.
Referenced by boolK(), boolK(), boolK(), collectvalidlines(), collectvalidlines(), collectvalidlines(), LoadConstants(), LoadConstants(), LoadConstants(), lua_pushboolean(), luaV_execute(), luaV_execute(), and luaX_newstring().
#define setclvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 143 of file lua-5.1.5/src/lobject.h.
Referenced by f_Ccall(), f_parser(), lua_getinfo(), lua_pushcclosure(), and luaV_execute().
#define sethvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 148 of file lua-5.1.5/src/lobject.h.
Referenced by adjust_varargs(), collectvalidlines(), collectvalidlines(), collectvalidlines(), f_luaopen(), index2adr(), init_registry(), init_registry(), init_registry(), lua_createtable(), lua_getfenv(), lua_getmetatable(), lua_getuservalue(), lua_setfenv(), luaV_execute(), luaV_execute(), luaY_parser(), nilK(), nilK(), nilK(), and nilK().
#define sethvalue2s sethvalue |
Definition at line 176 of file lua-5.1.5/src/lobject.h.
Referenced by collectvalidlines(), lua_createtable(), lua_getmetatable(), luaV_execute(), luaY_parser(), open_func(), and open_func().
#define setnilvalue | ( | obj | ) | ((obj)->tt=LUA_TNIL) |
Definition at line 117 of file lua-5.1.5/src/lobject.h.
Referenced by addk(), addk(), addk(), addk(), adjust_varargs(), adjust_varargs(), adjust_varargs(), clearkeys(), clearkeys(), cleartable(), clearvalues(), clearvalues(), collectvalidlines(), collectvalidlines(), collectvalidlines(), collectvalidlines(), f_luaopen(), finishrawget(), LoadConstants(), LoadConstants(), LoadConstants(), loadConstants(), lua_closeslot(), lua_getfenv(), lua_getinfo(), lua_getiuservalue(), lua_getuservalue(), lua_newstate(), lua_pushnil(), lua_pushstring(), lua_settop(), luaD_poscall(), luaD_precall(), luaD_pretailcall(), luaD_reallocstack(), luaD_reallocstack(), luaD_seterrorobj(), luaE_resetthread(), luaF_initupvals(), luaF_newupval(), luaH_newkey(), luaK_exp2const(), luaS_newudata(), luaT_adjustvarargs(), luaT_getvarargs(), luaV_execute(), luaV_execute(), luaV_execute(), luaV_finishget(), moveresults(), moveresults(), newkey(), nilK(), nilK(), nilK(), nilK(), preinit_state(), setarrayvector(), setarrayvector(), setarrayvector(), setnodevector(), setnodevector(), setnodevector(), stack_init(), stack_init(), stack_init(), stack_init(), traversestack(), traversestack(), traversethread(), and traversethread().
#define setnvalue | ( | obj, | |
x ) { TValue *i_o=(obj); i_o->value.n=(x); i_o->tt=LUA_TNUMBER; } |
Definition at line 119 of file lua-5.1.5/src/lobject.h.
Referenced by addk(), addk(), adjust_varargs(), Arith(), LoadConstants(), LoadConstants(), lua_arith(), lua_pushinteger(), lua_pushnumber(), lua_pushunsigned(), luaH_next(), luaH_setint(), luaH_setnum(), luaK_numberK(), luaO_pushvfstring(), luaV_arith(), luaV_execute(), luaV_execute(), luaV_objlen(), and luaV_tonumber().
#define setobj | ( | L, | |
obj1, | |||
obj2 ) |
Definition at line 161 of file lua-5.1.5/src/lobject.h.
Referenced by addk(), addk(), addk(), addk(), lua_copy(), lua_load(), lua_replace(), lua_setiuservalue(), lua_setupvalue(), luaF_close(), luaF_closeupval(), luaK_exp2const(), luaV_execute(), luaV_execute(), luaV_execute(), luaV_settable(), moveto(), reverse(), and reverse().
#define setobj2n setobj |
Definition at line 183 of file lua-5.1.5/src/lobject.h.
Referenced by adjust_varargs(), lua_pushcclosure(), and luaE_newthread().
#define setobj2s setobj |
Definition at line 174 of file lua-5.1.5/src/lobject.h.
Referenced by auxgetstr(), auxgetstr(), callclosemethod(), callTM(), callTM(), callTMres(), finishrawget(), GCTM(), GCTM(), GCTM(), GCTM(), lua_getfenv(), lua_geti(), lua_getinfo(), lua_getiuservalue(), lua_getlocal(), lua_gettable(), lua_getupvalue(), lua_pushvalue(), lua_rawget(), lua_rawgeti(), lua_rawgeti(), lua_rawgetp(), lua_xmove(), luaA_pushobject(), luaD_tryfuncTM(), luaH_next(), luaT_callTM(), luaT_callTM(), luaT_callTMres(), luaV_execute(), luaV_execute(), luaV_execute(), luaV_finishget(), luaV_finishOp(), luaV_gettable(), reverse(), reverse(), tryfuncTM(), tryfuncTM(), and tryfuncTM().
#define setobj2t setobj |
Definition at line 181 of file lua-5.1.5/src/lobject.h.
Referenced by lua_rawset(), lua_rawseti(), lua_rawsetp(), luaH_finishset(), luaH_newkey(), luaH_newkey(), luaH_setint(), luaH_setint(), luaV_execute(), luaV_execute(), luaV_finishset(), and luaV_settable().
#define setobjs2s setobj |
Definition at line 172 of file lua-5.1.5/src/lobject.h.
Referenced by adjust_varargs(), adjust_varargs(), adjust_varargs(), callTM(), callTMres(), lua_arith(), lua_getinfo(), lua_getlocal(), lua_insert(), lua_remove(), lua_setlocal(), lua_xmove(), luaD_poscall(), luaD_pretailcall(), luaD_seterrorobj(), luaD_throw(), luaD_tryfuncTM(), luaG_errormsg(), luaT_adjustvarargs(), luaT_callTM(), luaT_callTMres(), luaT_getvarargs(), luaV_concat(), luaV_execute(), luaV_execute(), luaV_execute(), luaV_finishOp(), moveresults(), moveresults(), reverse(), reverse(), seterrorobj(), seterrorobj(), tryfuncTM(), tryfuncTM(), and tryfuncTM().
#define setobjt2t setobj |
Definition at line 179 of file lua-5.1.5/src/lobject.h.
Referenced by luaH_resize(), luaH_resize(), and resize().
#define setptvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 153 of file lua-5.1.5/src/lobject.h.
#define setptvalue2s setptvalue |
Definition at line 177 of file lua-5.1.5/src/lobject.h.
Referenced by combine(), LoadFunction(), and open_func().
#define setpvalue | ( | obj, | |
x ) { TValue *i_o=(obj); i_o->value.p=(x); i_o->tt=LUA_TLIGHTUSERDATA; } |
Definition at line 122 of file lua-5.1.5/src/lobject.h.
Referenced by f_Ccall(), lua_pushlightuserdata(), lua_rawgetp(), lua_rawsetp(), luaK_intK(), and luaK_intK().
#define setsvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 128 of file lua-5.1.5/src/lobject.h.
Referenced by lua_getfield(), lua_setfield(), luaH_getstr(), luaH_setstr(), luaK_exp2const(), luaK_numberK(), luaK_stringK(), luaO_tostring(), luaX_newstring(), and stringK().
#define setsvalue2n setsvalue |
Definition at line 184 of file lua-5.1.5/src/lobject.h.
Referenced by LoadConstants(), LoadConstants(), LoadConstants(), and loadConstants().
#define setsvalue2s setsvalue |
Definition at line 175 of file lua-5.1.5/src/lobject.h.
Referenced by auxgetstr(), auxgetstr(), auxsetstr(), auxsetstr(), LoadString(), loadStringN(), lua_concat(), lua_getfield(), lua_getglobal(), lua_pushlstring(), lua_pushstring(), lua_setfield(), lua_setglobal(), luaD_seterrorobj(), luaO_pushvfstring(), luaO_tostring(), luaV_concat(), luaV_concat(), luaV_tostring(), luaX_newstring(), pushstr(), pushstr(), pushstr(), pushstr(), resume_error(), resume_error(), resume_error(), resume_error(), seterrorobj(), and seterrorobj().
#define setthvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 138 of file lua-5.1.5/src/lobject.h.
Referenced by init_registry(), init_registry(), init_registry(), lua_newthread(), and lua_pushthread().
#define setttype | ( | obj, | |
tt ) (ttype(obj) = (tt)) |
Definition at line 186 of file lua-5.1.5/src/lobject.h.
Referenced by removeentry().
#define setuvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 133 of file lua-5.1.5/src/lobject.h.
Referenced by GCTM(), lua_newuserdata(), and lua_newuserdatauv().
#define sizenode | ( | t | ) | (twoto((t)->lsizenode)) |
Definition at line 360 of file lua-5.1.5/src/lobject.h.
Referenced by cleartable(), freehash(), luaH_free(), luaH_next(), luaH_resizearray(), numusehash(), numusehash(), numusehash(), numusehash(), propagatemark(), reinsert(), traverseephemeron(), traversetable(), and traversetable().
#define svalue | ( | o | ) | getstr(rawtsvalue(o)) |
Definition at line 211 of file lua-5.1.5/src/lobject.h.
Referenced by copy2buff(), copy2buff(), GCTM(), GCTM(), getobjname(), getobjname(), getobjname(), getobjname(), kname(), kname(), kname(), kname(), l_strton(), lua_tolstring(), luaE_warnerror(), luaO_pushvfstring(), luaV_concat(), luaV_concat(), luaV_tointeger(), luaV_tonumber(), luaV_tonumber_(), PrintCode(), traversetable(), traversetable(), traversetable(), and traversetable().
#define thvalue | ( | o | ) | check_exp(ttisthread(o), &(o)->value.gc->th) |
Definition at line 101 of file lua-5.1.5/src/lobject.h.
Referenced by lua_getfenv(), lua_setfenv(), lua_topointer(), and lua_tothread().
#define tsvalue | ( | o | ) | (&rawtsvalue(o)->tsv) |
Definition at line 95 of file lua-5.1.5/src/lobject.h.
Referenced by const2exp(), DumpConstants(), dumpConstants(), equalkey(), iscleared(), lessequalothers(), lessthanothers(), lua_error(), lua_objlen(), lua_rawlen(), lua_tolstring(), luaH_get(), luaH_getshortstr(), luaT_objtypename(), luaV_concat(), luaV_concat(), luaV_equalobj(), luaV_execute(), luaV_execute(), luaV_execute(), luaV_lessequal(), luaV_lessthan(), luaV_objlen(), luaV_tonumber(), luaX_newstring(), mainposition(), PrintConstant(), and PrintConstant().
#define ttisboolean | ( | o | ) | (ttype(o) == LUA_TBOOLEAN) |
Definition at line 84 of file lua-5.1.5/src/lobject.h.
#define ttisfunction | ( | o | ) | (ttype(o) == LUA_TFUNCTION) |
Definition at line 83 of file lua-5.1.5/src/lobject.h.
Referenced by aux_upvalue(), GCTM(), GCTM(), lua_getinfo(), lua_pcallk(), luaD_precall(), luaG_errormsg(), luaV_execute(), luaV_finishget(), luaV_finishset(), luaV_finishset(), luaV_gettable(), luaV_settable(), tryfuncTM(), tryfuncTM(), and tryfuncTM().
#define ttislightuserdata | ( | o | ) | (ttype(o) == LUA_TLIGHTUSERDATA) |
Definition at line 87 of file lua-5.1.5/src/lobject.h.
Referenced by lua_isuserdata().
Definition at line 79 of file lua-5.1.5/src/lobject.h.
Referenced by call_binTM(), call_binTM(), call_orderTM(), checkclosemth(), clearkeys(), clearkeys(), cleartable(), clearvalues(), clearvalues(), findindex(), findindex(), findindex(), findindex(), getfreepos(), getfreepos(), getfreepos(), lua_setmetatable(), lua_setuservalue(), luaD_tryfuncTM(), luaH_getn(), luaH_newkey(), luaH_newkey(), luaH_next(), luaH_resize(), luaH_resize(), luaH_set(), luaT_callbinTM(), luaT_gettm(), luaV_execute(), luaV_execute(), luaV_execute(), luaV_finishget(), luaV_finishOp(), luaV_finishset(), luaV_gettable(), luaV_objlen(), luaV_settable(), luaX_newstring(), newkey(), numusearray(), numusearray(), numusearray(), numusehash(), numusehash(), numusehash(), removeentry(), removeentry(), removeentry(), resize(), traverseephemeron(), traverseephemeron(), traversestrongtable(), traversestrongtable(), traversetable(), traverseweakvalue(), traverseweakvalue(), unbound_search(), unbound_search(), and unbound_search().
#define ttisnumber | ( | o | ) | (ttype(o) == LUA_TNUMBER) |
Definition at line 80 of file lua-5.1.5/src/lobject.h.
Referenced by addk(), addk(), arrayindex(), arrayindex(), LEnum(), lessequal(), lessequalothers(), lessthanothers(), LTnum(), lua_arith(), luaG_concaterror(), luaG_opinterror(), luaH_getint(), luaH_getnum(), luaH_newkey(), luaH_set(), luaO_tostring(), luaT_trybinTM(), luaV_concat(), luaV_concat(), luaV_execute(), luaV_execute(), luaV_lessequal(), luaV_lessthan(), luaV_tonumber(), luaV_tostring(), and tostringbuff().
#define ttisstring | ( | o | ) | (ttype(o) == LUA_TSTRING) |
Definition at line 81 of file lua-5.1.5/src/lobject.h.
Referenced by GCTM(), GCTM(), getobjname(), getobjname(), getobjname(), getobjname(), iscleared(), iscleared(), iscleared(), kname(), kname(), kname(), kname(), lessequal(), lessequalothers(), lessthanothers(), lua_isstring(), lua_tolstring(), luaE_warnerror(), luaG_concaterror(), luaG_concaterror(), luaH_getstr(), luaT_objtypename(), luaV_concat(), luaV_concat(), luaV_execute(), luaV_lessequal(), luaV_lessthan(), luaV_tonumber(), symbexec(), traversetable(), traversetable(), traversetable(), and traversetable().
#define ttistable | ( | o | ) | (ttype(o) == LUA_TTABLE) |
Definition at line 82 of file lua-5.1.5/src/lobject.h.
Referenced by gettable(), lua_next(), lua_rawget(), lua_rawgeti(), lua_rawgeti(), lua_rawgetp(), lua_rawset(), lua_rawseti(), lua_rawseti(), lua_rawsetp(), lua_replace(), lua_setfenv(), lua_setmetatable(), lua_setuservalue(), luaT_objtypename(), luaV_execute(), luaV_execute(), luaV_finishget(), luaV_gettable(), and luaV_settable().
#define ttisthread | ( | o | ) | (ttype(o) == LUA_TTHREAD) |
Definition at line 86 of file lua-5.1.5/src/lobject.h.
Referenced by lua_tothread().
#define ttisuserdata | ( | o | ) | (ttype(o) == LUA_TUSERDATA) |
Definition at line 85 of file lua-5.1.5/src/lobject.h.
Referenced by iscleared(), lua_getuservalue(), lua_isuserdata(), and lua_setuservalue().
#define ttype | ( | o | ) | ((o)->tt) |
Definition at line 90 of file lua-5.1.5/src/lobject.h.
Referenced by addk(), aux_upvalue(), aux_upvalue(), auxgetstr(), DumpConstants(), DumpConstants(), findindex(), finishrawget(), lessequal(), lua_getfenv(), lua_geti(), lua_getiuservalue(), lua_getmetatable(), lua_gettable(), lua_objlen(), lua_rawlen(), lua_setfenv(), lua_setmetatable(), lua_topointer(), lua_touserdata(), lua_type(), lua_upvalueid(), luaC_barrierf(), luaD_precall(), luaG_ordererror(), luaG_typeerror(), luaH_get(), luaO_rawequalObj(), luaT_gettmbyobj(), luaT_objtypename(), luaV_equalobj(), luaV_equalobj_(), luaV_equalval(), luaV_execute(), luaV_lessthan(), luaV_objlen(), mainposition(), mainposition(), mainposition(), PrintConstant(), PrintConstant(), PrintConstant(), touserdata(), and traversetable().
Definition at line 71 of file lua-5.1.5/src/lobject.h.
#define twoto | ( | x | ) | (1<<(x)) |
Definition at line 359 of file lua-5.1.5/src/lobject.h.
Referenced by luaH_resize(), resize(), setnodevector(), setnodevector(), setnodevector(), and setnodevector().
#define uvalue | ( | o | ) | (&rawuvalue(o)->uv) |
Definition at line 97 of file lua-5.1.5/src/lobject.h.
Referenced by iscleared(), lua_getfenv(), lua_getiuservalue(), lua_getmetatable(), lua_getuservalue(), lua_objlen(), lua_rawlen(), lua_setfenv(), lua_setiuservalue(), lua_setmetatable(), lua_setuservalue(), lua_topointer(), lua_touserdata(), luaT_gettmbyobj(), luaT_objtypename(), luaV_equalobj(), luaV_equalobj_(), luaV_equalval(), reallymarkobject(), and touserdata().
#define VARARG_HASARG 1 |
Definition at line 257 of file lua-5.1.5/src/lobject.h.
Referenced by adjust_varargs(), parlist(), and precheck().
#define VARARG_ISVARARG 2 |
Definition at line 258 of file lua-5.1.5/src/lobject.h.
Referenced by luaY_parser(), parlist(), and symbexec().
#define VARARG_NEEDSARG 4 |
Definition at line 259 of file lua-5.1.5/src/lobject.h.
Referenced by adjust_varargs(), parlist(), precheck(), and symbexec().
typedef struct CClosure CClosure |
typedef union Closure Closure |
typedef struct GCheader GCheader |
typedef union GCObject GCObject |
Definition at line 36 of file lua-5.1.5/src/lobject.h.
typedef struct LClosure LClosure |
typedef struct LocVar LocVar |
typedef struct Node Node |
typedef struct Proto Proto |
Definition at line 193 of file lua-5.1.5/src/lobject.h.
typedef struct Table Table |
typedef union TKey TKey |
typedef union TString TString |
typedef struct lua_TValue TValue |
typedef union Udata Udata |
typedef struct UpVal UpVal |
LUAI_FUNC void luaO_chunkid | ( | char * | out, |
const char * | source, | ||
size_t | len ) |
Definition at line 182 of file lua-5.1.5/src/lobject.c.
LUAI_FUNC int luaO_fb2int | ( | int | x | ) |
Definition at line 47 of file lua-5.1.5/src/lobject.c.
LUAI_FUNC int luaO_int2fb | ( | unsigned int | x | ) |
Definition at line 35 of file lua-5.1.5/src/lobject.c.
LUAI_FUNC int luaO_log2 | ( | unsigned int | x | ) |
Definition at line 54 of file lua-5.1.5/src/lobject.c.
Definition at line 172 of file lua-5.1.5/src/lobject.c.
Definition at line 111 of file lua-5.1.5/src/lobject.c.
Definition at line 72 of file lua-5.1.5/src/lobject.c.
References bvalue, gcvalue, iscollectable, lua_assert, LUA_TBOOLEAN, LUA_TLIGHTUSERDATA, LUA_TNIL, LUA_TNUMBER, luai_numeq, nvalue, pvalue, and ttype.
Referenced by addk(), call_orderTM(), findindex(), get_compTM(), lua_rawequal(), and luaH_get().
LUAI_FUNC int luaO_str2d | ( | const char * | s, |
lua_Number * | result ) |
Definition at line 90 of file lua-5.1.5/src/lobject.c.
References cast, cast_num, lua_str2number, and s.
Referenced by luaV_tonumber(), read_numeral(), and trydecpoint().
Definition at line 365 of file lua-5.1.5/src/lobject.h.