Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Data Structures | |
struct | GCObject |
union | Value |
struct | lua_TValue |
struct | TString |
union | UTString |
struct | Udata |
union | UUdata |
struct | Upvaldesc |
struct | LocVar |
struct | Proto |
struct | CClosure |
struct | LClosure |
union | Closure |
union | TKey |
union | Node |
struct | Table |
Macros | |
#define | LUA_TPROTO LUA_NUMTAGS /* function prototypes */ |
#define | LUA_TDEADKEY (LUA_NUMTAGS+1) /* removed keys in tables */ |
#define | LUA_TOTALTAGS (LUA_TPROTO + 2) |
#define | LUA_TLCL (LUA_TFUNCTION | (0 << 4)) /* Lua closure */ |
#define | LUA_TLCF (LUA_TFUNCTION | (1 << 4)) /* light C function */ |
#define | LUA_TCCL (LUA_TFUNCTION | (2 << 4)) /* C closure */ |
#define | LUA_TSHRSTR (LUA_TSTRING | (0 << 4)) /* short strings */ |
#define | LUA_TLNGSTR (LUA_TSTRING | (1 << 4)) /* long strings */ |
#define | LUA_TNUMFLT (LUA_TNUMBER | (0 << 4)) /* float numbers */ |
#define | LUA_TNUMINT (LUA_TNUMBER | (1 << 4)) /* integer numbers */ |
#define | BIT_ISCOLLECTABLE (1 << 6) |
#define | ctb(t) ((t) | BIT_ISCOLLECTABLE) |
#define | CommonHeader GCObject *next; lu_byte tt; lu_byte marked |
#define | TValuefields Value value_; int tt_ |
#define | NILCONSTANT {NULL}, LUA_TNIL |
#define | val_(o) ((o)->value_) |
#define | rttype(o) ((o)->tt_) |
#define | novariant(x) ((x) & 0x0F) |
#define | ttype(o) (rttype(o) & 0x3F) |
#define | ttnov(o) (novariant(rttype(o))) |
#define | checktag(o, t) (rttype(o) == (t)) |
#define | checktype(o, t) (ttnov(o) == (t)) |
#define | ttisnumber(o) checktype((o), LUA_TNUMBER) |
#define | ttisfloat(o) checktag((o), LUA_TNUMFLT) |
#define | ttisinteger(o) checktag((o), LUA_TNUMINT) |
#define | ttisnil(o) checktag((o), LUA_TNIL) |
#define | ttisboolean(o) checktag((o), LUA_TBOOLEAN) |
#define | ttislightuserdata(o) checktag((o), LUA_TLIGHTUSERDATA) |
#define | ttisstring(o) checktype((o), LUA_TSTRING) |
#define | ttisshrstring(o) checktag((o), ctb(LUA_TSHRSTR)) |
#define | ttislngstring(o) checktag((o), ctb(LUA_TLNGSTR)) |
#define | ttistable(o) checktag((o), ctb(LUA_TTABLE)) |
#define | ttisfunction(o) checktype(o, LUA_TFUNCTION) |
#define | ttisclosure(o) ((rttype(o) & 0x1F) == LUA_TFUNCTION) |
#define | ttisCclosure(o) checktag((o), ctb(LUA_TCCL)) |
#define | ttisLclosure(o) checktag((o), ctb(LUA_TLCL)) |
#define | ttislcf(o) checktag((o), LUA_TLCF) |
#define | ttisfulluserdata(o) checktag((o), ctb(LUA_TUSERDATA)) |
#define | ttisthread(o) checktag((o), ctb(LUA_TTHREAD)) |
#define | ttisdeadkey(o) checktag((o), LUA_TDEADKEY) |
#define | ivalue(o) check_exp(ttisinteger(o), val_(o).i) |
#define | fltvalue(o) check_exp(ttisfloat(o), val_(o).n) |
#define | nvalue(o) |
#define | gcvalue(o) check_exp(iscollectable(o), val_(o).gc) |
#define | pvalue(o) check_exp(ttislightuserdata(o), val_(o).p) |
#define | tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc)) |
#define | uvalue(o) check_exp(ttisfulluserdata(o), gco2u(val_(o).gc)) |
#define | clvalue(o) check_exp(ttisclosure(o), gco2cl(val_(o).gc)) |
#define | clLvalue(o) check_exp(ttisLclosure(o), gco2lcl(val_(o).gc)) |
#define | clCvalue(o) check_exp(ttisCclosure(o), gco2ccl(val_(o).gc)) |
#define | fvalue(o) check_exp(ttislcf(o), val_(o).f) |
#define | hvalue(o) check_exp(ttistable(o), gco2t(val_(o).gc)) |
#define | bvalue(o) check_exp(ttisboolean(o), val_(o).b) |
#define | thvalue(o) check_exp(ttisthread(o), gco2th(val_(o).gc)) |
#define | deadvalue(o) check_exp(ttisdeadkey(o), cast(void *, val_(o).gc)) |
#define | l_isfalse(o) (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0)) |
#define | iscollectable(o) (rttype(o) & BIT_ISCOLLECTABLE) |
#define | righttt(obj) (ttype(obj) == gcvalue(obj)->tt) |
#define | checkliveness(L, obj) |
#define | settt_(o, t) ((o)->tt_=(t)) |
#define | setfltvalue(obj, x) { TValue *io=(obj); val_(io).n=(x); settt_(io, LUA_TNUMFLT); } |
#define | chgfltvalue(obj, x) { TValue *io=(obj); lua_assert(ttisfloat(io)); val_(io).n=(x); } |
#define | setivalue(obj, x) { TValue *io=(obj); val_(io).i=(x); settt_(io, LUA_TNUMINT); } |
#define | chgivalue(obj, x) { TValue *io=(obj); lua_assert(ttisinteger(io)); val_(io).i=(x); } |
#define | setnilvalue(obj) settt_(obj, LUA_TNIL) |
#define | setfvalue(obj, x) { TValue *io=(obj); val_(io).f=(x); settt_(io, LUA_TLCF); } |
#define | setpvalue(obj, x) { TValue *io=(obj); val_(io).p=(x); settt_(io, LUA_TLIGHTUSERDATA); } |
#define | setbvalue(obj, x) { TValue *io=(obj); val_(io).b=(x); settt_(io, LUA_TBOOLEAN); } |
#define | setgcovalue(L, obj, x) |
#define | setsvalue(L, obj, x) |
#define | setuvalue(L, obj, x) |
#define | setthvalue(L, obj, x) |
#define | setclLvalue(L, obj, x) |
#define | setclCvalue(L, obj, x) |
#define | sethvalue(L, obj, x) |
#define | setdeadvalue(obj) settt_(obj, LUA_TDEADKEY) |
#define | setobj(L, obj1, obj2) |
#define | setobjs2s setobj |
#define | setobj2s setobj |
#define | setsvalue2s setsvalue |
#define | sethvalue2s sethvalue |
#define | setptvalue2s setptvalue |
#define | setobjt2t setobj |
#define | setobj2n setobj |
#define | setsvalue2n setsvalue |
#define | setobj2t(L, o1, o2) ((void)L, *(o1)=*(o2), checkliveness(L,(o1))) |
#define | getstr(ts) check_exp(sizeof((ts)->extra), cast(char *, (ts)) + sizeof(UTString)) |
#define | svalue(o) getstr(tsvalue(o)) |
#define | tsslen(s) ((s)->tt == LUA_TSHRSTR ? (s)->shrlen : (s)->u.lnglen) |
#define | vslen(o) tsslen(tsvalue(o)) |
#define | getudatamem(u) check_exp(sizeof((u)->ttuv_), (cast(char*, (u)) + sizeof(UUdata))) |
#define | setuservalue(L, u, o) |
#define | getuservalue(L, u, o) |
#define | ClosureHeader CommonHeader; lu_byte nupvalues; GCObject *gclist |
#define | isLfunction(o) ttisLclosure(o) |
#define | getproto(o) (clLvalue(o)->p) |
#define | setnodekey(L, key, obj) |
#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 | UTF8BUFFSZ 8 |
Typedefs | |
typedef struct GCObject | GCObject |
typedef union Value | Value |
typedef struct lua_TValue | TValue |
typedef TValue * | StkId |
typedef struct TString | TString |
typedef union UTString | UTString |
typedef struct Udata | Udata |
typedef union UUdata | UUdata |
typedef struct Upvaldesc | Upvaldesc |
typedef struct LocVar | LocVar |
typedef struct Proto | Proto |
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_int2fb (unsigned int x) |
LUAI_FUNC int | luaO_fb2int (int x) |
LUAI_FUNC int | luaO_utf8esc (char *buff, unsigned long x) |
LUAI_FUNC int | luaO_ceillog2 (unsigned int x) |
LUAI_FUNC void | luaO_arith (lua_State *L, int op, const TValue *p1, const TValue *p2, TValue *res) |
LUAI_FUNC size_t | luaO_str2num (const char *s, TValue *o) |
LUAI_FUNC int | luaO_hexavalue (int c) |
LUAI_FUNC void | luaO_tostring (lua_State *L, StkId obj) |
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_DDEC const TValue | luaO_nilobject_ |
#define BIT_ISCOLLECTABLE (1 << 6) |
Definition at line 63 of file lua-5.3.6/src/lobject.h.
#define bvalue | ( | o | ) | check_exp(ttisboolean(o), val_(o).b) |
Definition at line 176 of file lua-5.3.6/src/lobject.h.
#define checkliveness | ( | L, | |
obj ) |
Definition at line 190 of file lua-5.3.6/src/lobject.h.
#define checktag | ( | o, | |
t ) (rttype(o) == (t)) |
Definition at line 140 of file lua-5.3.6/src/lobject.h.
#define checktype | ( | o, | |
t ) (ttnov(o) == (t)) |
Definition at line 141 of file lua-5.3.6/src/lobject.h.
#define chgfltvalue | ( | obj, | |
x ) { TValue *io=(obj); lua_assert(ttisfloat(io)); val_(io).n=(x); } |
Definition at line 201 of file lua-5.3.6/src/lobject.h.
Referenced by floatforloop(), and luaV_execute().
#define chgivalue | ( | obj, | |
x ) { TValue *io=(obj); lua_assert(ttisinteger(io)); val_(io).i=(x); } |
Definition at line 207 of file lua-5.3.6/src/lobject.h.
Referenced by luaV_execute(), and luaV_execute().
#define clCvalue | ( | o | ) | check_exp(ttisCclosure(o), gco2ccl(val_(o).gc)) |
Definition at line 173 of file lua-5.3.6/src/lobject.h.
#define clLvalue | ( | o | ) | check_exp(ttisLclosure(o), gco2lcl(val_(o).gc)) |
Definition at line 172 of file lua-5.3.6/src/lobject.h.
#define ClosureHeader CommonHeader; lu_byte nupvalues; GCObject *gclist |
Definition at line 443 of file lua-5.3.6/src/lobject.h.
#define clvalue | ( | o | ) | check_exp(ttisclosure(o), gco2cl(val_(o).gc)) |
Definition at line 171 of file lua-5.3.6/src/lobject.h.
Definition at line 79 of file lua-5.3.6/src/lobject.h.
#define ctb | ( | t | ) | ((t) | BIT_ISCOLLECTABLE) |
Definition at line 66 of file lua-5.3.6/src/lobject.h.
#define deadvalue | ( | o | ) | check_exp(ttisdeadkey(o), cast(void *, val_(o).gc)) |
Definition at line 179 of file lua-5.3.6/src/lobject.h.
Definition at line 164 of file lua-5.3.6/src/lobject.h.
Referenced by const2exp(), constfolding(), constfolding(), DumpConstants(), dumpConstants(), equalkey(), floatforloop(), LEnum(), LEnum(), LTnum(), LTnum(), luaH_get(), luaH_newkey(), luaH_newkey(), luaO_tostring(), luaV_equalobj(), luaV_execute(), luaV_execute(), luaV_tointeger(), luaV_tointegerns(), mainposition(), PrintConstant(), PrintConstant(), read_numeral(), read_numeral(), and tostringbuff().
Definition at line 174 of file lua-5.3.6/src/lobject.h.
#define gcvalue | ( | o | ) | check_exp(iscollectable(o), val_(o).gc) |
Definition at line 167 of file lua-5.3.6/src/lobject.h.
#define getproto | ( | o | ) | (clLvalue(o)->p) |
Definition at line 468 of file lua-5.3.6/src/lobject.h.
Definition at line 328 of file lua-5.3.6/src/lobject.h.
Definition at line 368 of file lua-5.3.6/src/lobject.h.
Referenced by lua_newuserdata(), lua_newuserdatauv(), lua_topointer(), lua_touserdata(), and touserdata().
#define getuservalue | ( | L, | |
u, | |||
o ) |
Definition at line 377 of file lua-5.3.6/src/lobject.h.
Referenced by lua_getuservalue(), and reallymarkobject().
Definition at line 175 of file lua-5.3.6/src/lobject.h.
#define iscollectable | ( | o | ) | (rttype(o) & BIT_ISCOLLECTABLE) |
Definition at line 184 of file lua-5.3.6/src/lobject.h.
#define isLfunction | ( | o | ) | ttisLclosure(o) |
Definition at line 466 of file lua-5.3.6/src/lobject.h.
#define ivalue | ( | o | ) | check_exp(ttisinteger(o), val_(o).i) |
Definition at line 163 of file lua-5.3.6/src/lobject.h.
Referenced by addk(), addk(), arrayindex(), const2exp(), constfolding(), constfolding(), DumpConstants(), dumpConstants(), equalkey(), findindex(), forprep(), LEnum(), LEnum(), LTnum(), LTnum(), luaH_get(), luaH_getint(), luaO_arith(), luaO_rawarith(), luaO_tostring(), luaV_equalobj(), luaV_execute(), luaV_execute(), luaV_tointeger(), luaV_tointegerns(), luaV_tonumber_(), mainposition(), PrintConstant(), PrintConstant(), read_numeral(), read_numeral(), rehash(), and tostringbuff().
#define l_isfalse | ( | o | ) | (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0)) |
Definition at line 181 of file lua-5.3.6/src/lobject.h.
Definition at line 514 of file lua-5.3.6/src/lobject.h.
#define LUA_TCCL (LUA_TFUNCTION | (2 << 4)) /* C closure */ |
Definition at line 49 of file lua-5.3.6/src/lobject.h.
#define LUA_TDEADKEY (LUA_NUMTAGS+1) /* removed keys in tables */ |
Definition at line 23 of file lua-5.3.6/src/lobject.h.
#define LUA_TLCF (LUA_TFUNCTION | (1 << 4)) /* light C function */ |
Definition at line 48 of file lua-5.3.6/src/lobject.h.
#define LUA_TLCL (LUA_TFUNCTION | (0 << 4)) /* Lua closure */ |
Definition at line 47 of file lua-5.3.6/src/lobject.h.
#define LUA_TLNGSTR (LUA_TSTRING | (1 << 4)) /* long strings */ |
Definition at line 54 of file lua-5.3.6/src/lobject.h.
#define LUA_TNUMFLT (LUA_TNUMBER | (0 << 4)) /* float numbers */ |
Definition at line 58 of file lua-5.3.6/src/lobject.h.
Referenced by DumpConstants(), LoadConstants(), luaH_get(), luaV_equalobj(), mainposition(), and PrintConstant().
#define LUA_TNUMINT (LUA_TNUMBER | (1 << 4)) /* integer numbers */ |
Definition at line 59 of file lua-5.3.6/src/lobject.h.
Referenced by DumpConstants(), LoadConstants(), luaH_get(), luaV_equalobj(), mainposition(), and PrintConstant().
#define LUA_TOTALTAGS (LUA_TPROTO + 2) |
Definition at line 28 of file lua-5.3.6/src/lobject.h.
#define LUA_TPROTO LUA_NUMTAGS /* function prototypes */ |
Definition at line 22 of file lua-5.3.6/src/lobject.h.
#define LUA_TSHRSTR (LUA_TSTRING | (0 << 4)) /* short strings */ |
Definition at line 53 of file lua-5.3.6/src/lobject.h.
#define luaO_nilobject (&luaO_nilobject_) |
Definition at line 525 of file lua-5.3.6/src/lobject.h.
Definition at line 120 of file lua-5.3.6/src/lobject.h.
#define novariant | ( | x | ) | ((x) & 0x0F) |
Definition at line 130 of file lua-5.3.6/src/lobject.h.
#define nvalue | ( | o | ) |
Definition at line 165 of file lua-5.3.6/src/lobject.h.
#define pvalue | ( | o | ) | check_exp(ttislightuserdata(o), val_(o).p) |
Definition at line 168 of file lua-5.3.6/src/lobject.h.
Definition at line 188 of file lua-5.3.6/src/lobject.h.
#define rttype | ( | o | ) | ((o)->tt_) |
Definition at line 127 of file lua-5.3.6/src/lobject.h.
#define setbvalue | ( | obj, | |
x ) { TValue *io=(obj); val_(io).b=(x); settt_(io, LUA_TBOOLEAN); } |
Definition at line 218 of file lua-5.3.6/src/lobject.h.
#define setclCvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 245 of file lua-5.3.6/src/lobject.h.
#define setclLvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 240 of file lua-5.3.6/src/lobject.h.
#define setdeadvalue | ( | obj | ) | settt_(obj, LUA_TDEADKEY) |
Definition at line 255 of file lua-5.3.6/src/lobject.h.
#define setfltvalue | ( | obj, | |
x ) { TValue *io=(obj); val_(io).n=(x); settt_(io, LUA_TNUMFLT); } |
Definition at line 198 of file lua-5.3.6/src/lobject.h.
Referenced by floatforloop(), forprep(), LoadConstants(), loadConstants(), lua_pushnumber(), luaK_numberK(), luaK_numberK(), luaO_arith(), luaO_pushvfstring(), luaO_rawarith(), luaO_str2num(), luaT_callorderiTM(), luaV_execute(), luaV_execute(), tonumeral(), and tonumeral().
Definition at line 212 of file lua-5.3.6/src/lobject.h.
#define setgcovalue | ( | L, | |
obj, | |||
x ) |
Definition at line 221 of file lua-5.3.6/src/lobject.h.
#define sethvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 250 of file lua-5.3.6/src/lobject.h.
#define sethvalue2s sethvalue |
Definition at line 273 of file lua-5.3.6/src/lobject.h.
#define setivalue | ( | obj, | |
x ) { TValue *io=(obj); val_(io).i=(x); settt_(io, LUA_TNUMINT); } |
Definition at line 204 of file lua-5.3.6/src/lobject.h.
Referenced by addk(), addk(), forprep(), LoadConstants(), loadConstants(), lua_geti(), lua_newstate(), lua_pushinteger(), lua_seti(), luaH_newkey(), luaH_newkey(), luaH_next(), luaH_setint(), luaK_intK(), luaK_intK(), luaO_arith(), luaO_pushvfstring(), luaO_rawarith(), luaO_str2num(), luaT_callorderiTM(), luaT_trybiniTM(), luaV_execute(), luaV_execute(), luaV_objlen(), tonumeral(), and tonumeral().
Definition at line 210 of file lua-5.3.6/src/lobject.h.
#define setnodekey | ( | L, | |
key, | |||
obj ) |
Definition at line 485 of file lua-5.3.6/src/lobject.h.
Referenced by luaH_newkey(), and luaH_newkey().
#define setobj | ( | L, | |
obj1, | |||
obj2 ) |
Definition at line 259 of file lua-5.3.6/src/lobject.h.
#define setobj2n setobj |
Definition at line 278 of file lua-5.3.6/src/lobject.h.
#define setobj2s setobj |
Definition at line 271 of file lua-5.3.6/src/lobject.h.
#define setobj2t | ( | L, | |
o1, | |||
o2 ) ((void)L, *(o1)=*(o2), checkliveness(L,(o1))) |
Definition at line 282 of file lua-5.3.6/src/lobject.h.
#define setobjs2s setobj |
Definition at line 269 of file lua-5.3.6/src/lobject.h.
#define setobjt2t setobj |
Definition at line 276 of file lua-5.3.6/src/lobject.h.
#define setptvalue2s setptvalue |
Definition at line 274 of file lua-5.3.6/src/lobject.h.
#define setpvalue | ( | obj, | |
x ) { TValue *io=(obj); val_(io).p=(x); settt_(io, LUA_TLIGHTUSERDATA); } |
Definition at line 215 of file lua-5.3.6/src/lobject.h.
#define setsvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 225 of file lua-5.3.6/src/lobject.h.
#define setsvalue2n setsvalue |
Definition at line 279 of file lua-5.3.6/src/lobject.h.
#define setsvalue2s setsvalue |
Definition at line 272 of file lua-5.3.6/src/lobject.h.
#define setthvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 235 of file lua-5.3.6/src/lobject.h.
#define settt_ | ( | o, | |
t ) ((o)->tt_=(t)) |
Definition at line 196 of file lua-5.3.6/src/lobject.h.
#define setuservalue | ( | L, | |
u, | |||
o ) |
Definition at line 371 of file lua-5.3.6/src/lobject.h.
Referenced by lua_setuservalue(), and luaS_newudata().
#define setuvalue | ( | L, | |
obj, | |||
x ) |
Definition at line 230 of file lua-5.3.6/src/lobject.h.
#define sizenode | ( | t | ) | (twoto((t)->lsizenode)) |
Definition at line 519 of file lua-5.3.6/src/lobject.h.
Definition at line 333 of file lua-5.3.6/src/lobject.h.
#define thvalue | ( | o | ) | check_exp(ttisthread(o), gco2th(val_(o).gc)) |
Definition at line 177 of file lua-5.3.6/src/lobject.h.
#define tsslen | ( | s | ) | ((s)->tt == LUA_TSHRSTR ? (s)->shrlen : (s)->u.lnglen) |
Definition at line 336 of file lua-5.3.6/src/lobject.h.
Referenced by DumpString(), dumpString(), funcinfo(), l_strcmp(), l_strcmp(), luaG_addinfo(), PrintString(), and PrintString().
#define tsvalue | ( | o | ) | check_exp(ttisstring(o), gco2ts(val_(o).gc)) |
Definition at line 169 of file lua-5.3.6/src/lobject.h.
#define ttisboolean | ( | o | ) | checktag((o), LUA_TBOOLEAN) |
Definition at line 146 of file lua-5.3.6/src/lobject.h.
Definition at line 154 of file lua-5.3.6/src/lobject.h.
#define ttisclosure | ( | o | ) | ((rttype(o) & 0x1F) == LUA_TFUNCTION) |
Definition at line 153 of file lua-5.3.6/src/lobject.h.
#define ttisdeadkey | ( | o | ) | checktag((o), LUA_TDEADKEY) |
Definition at line 159 of file lua-5.3.6/src/lobject.h.
#define ttisfloat | ( | o | ) | checktag((o), LUA_TNUMFLT) |
Definition at line 143 of file lua-5.3.6/src/lobject.h.
Referenced by LEnum(), LEnum(), LTnum(), LTnum(), luaH_newkey(), luaH_newkey(), luaV_execute(), luaV_tointeger(), luaV_tointegerns(), read_numeral(), and read_numeral().
#define ttisfulluserdata | ( | o | ) | checktag((o), ctb(LUA_TUSERDATA)) |
Definition at line 157 of file lua-5.3.6/src/lobject.h.
Referenced by lua_getiuservalue(), lua_getuservalue(), lua_isuserdata(), lua_setiuservalue(), lua_setuservalue(), and luaT_objtypename().
#define ttisfunction | ( | o | ) | checktype(o, LUA_TFUNCTION) |
Definition at line 152 of file lua-5.3.6/src/lobject.h.
#define ttisinteger | ( | o | ) | checktag((o), LUA_TNUMINT) |
Definition at line 144 of file lua-5.3.6/src/lobject.h.
Referenced by addk(), addk(), arrayindex(), codebitwise(), constfolding(), constfolding(), findindex(), forprep(), LEnum(), LEnum(), LTnum(), LTnum(), lua_isinteger(), luaH_getint(), luaO_arith(), luaO_rawarith(), luaO_tostring(), luaV_execute(), luaV_execute(), luaV_tointeger(), luaV_tointegerns(), luaV_tonumber_(), read_numeral(), read_numeral(), rehash(), and tostringbuff().
Definition at line 156 of file lua-5.3.6/src/lobject.h.
Definition at line 155 of file lua-5.3.6/src/lobject.h.
#define ttislightuserdata | ( | o | ) | checktag((o), LUA_TLIGHTUSERDATA) |
Definition at line 147 of file lua-5.3.6/src/lobject.h.
#define ttislngstring | ( | o | ) | checktag((o), ctb(LUA_TLNGSTR)) |
Definition at line 150 of file lua-5.3.6/src/lobject.h.
Definition at line 145 of file lua-5.3.6/src/lobject.h.
#define ttisnumber | ( | o | ) | checktype((o), LUA_TNUMBER) |
Definition at line 142 of file lua-5.3.6/src/lobject.h.
#define ttisshrstring | ( | o | ) | checktag((o), ctb(LUA_TSHRSTR)) |
Definition at line 149 of file lua-5.3.6/src/lobject.h.
#define ttisstring | ( | o | ) | checktype((o), LUA_TSTRING) |
Definition at line 148 of file lua-5.3.6/src/lobject.h.
#define ttistable | ( | o | ) | checktag((o), ctb(LUA_TTABLE)) |
Definition at line 151 of file lua-5.3.6/src/lobject.h.
#define ttisthread | ( | o | ) | checktag((o), ctb(LUA_TTHREAD)) |
Definition at line 158 of file lua-5.3.6/src/lobject.h.
Definition at line 136 of file lua-5.3.6/src/lobject.h.
Referenced by auxgetstr(), lua_geti(), lua_getmetatable(), lua_gettable(), lua_getuservalue(), lua_rawget(), lua_rawgeti(), lua_rawgetp(), lua_setmetatable(), lua_touserdata(), lua_type(), luaT_gettmbyobj(), luaT_objtypename(), and luaV_equalobj().
#define ttype | ( | o | ) | (rttype(o) & 0x3F) |
Definition at line 133 of file lua-5.3.6/src/lobject.h.
#define TValuefields Value value_; int tt_ |
Definition at line 110 of file lua-5.3.6/src/lobject.h.
#define twoto | ( | x | ) | (1<<(x)) |
Definition at line 518 of file lua-5.3.6/src/lobject.h.
#define UTF8BUFFSZ 8 |
Definition at line 531 of file lua-5.3.6/src/lobject.h.
Referenced by luaO_pushvfstring(), luaO_utf8esc(), utf8esc(), and utf8esc().
#define uvalue | ( | o | ) | check_exp(ttisfulluserdata(o), gco2u(val_(o).gc)) |
Definition at line 170 of file lua-5.3.6/src/lobject.h.
#define val_ | ( | o | ) | ((o)->value_) |
Definition at line 123 of file lua-5.3.6/src/lobject.h.
Definition at line 339 of file lua-5.3.6/src/lobject.h.
Referenced by copy2buff(), copy2buff(), l_strton(), lua_tolstring(), luaV_concat(), luaV_tointeger(), and luaV_tonumber_().
typedef struct CClosure CClosure |
typedef union Closure Closure |
typedef struct GCObject GCObject |
Definition at line 72 of file lua-5.3.6/src/lobject.h.
typedef struct LClosure LClosure |
typedef struct LocVar LocVar |
typedef struct Node Node |
typedef struct Proto Proto |
Definition at line 294 of file lua-5.3.6/src/lobject.h.
typedef struct Table Table |
typedef union TKey TKey |
typedef struct TString TString |
typedef struct lua_TValue TValue |
typedef struct Udata Udata |
typedef struct UpVal UpVal |
Definition at line 436 of file lua-5.3.6/src/lobject.h.
typedef struct Upvaldesc Upvaldesc |
typedef union UTString UTString |
typedef union UUdata UUdata |
typedef union Value Value |
LUAI_FUNC void luaO_arith | ( | lua_State * | L, |
int | op, | ||
const TValue * | p1, | ||
const TValue * | p2, | ||
TValue * | res ) |
Definition at line 123 of file lua-5.3.6/src/lobject.c.
References cast, intarith(), ivalue, lua_assert, LUA_OPADD, LUA_OPBAND, LUA_OPBNOT, LUA_OPBOR, LUA_OPBXOR, LUA_OPDIV, LUA_OPPOW, LUA_OPSHL, LUA_OPSHR, luaT_trybinTM(), NULL, numarith(), setfltvalue, setivalue, TM_ADD, tointeger, tonumber, and ttisinteger.
LUAI_FUNC int luaO_ceillog2 | ( | unsigned int | x | ) |
Definition at line 55 of file lua-5.2.4/src/lobject.c.
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.
Referenced by luaV_execute(), and luaV_execute().
LUAI_FUNC int luaO_hexavalue | ( | int | c | ) |
Definition at line 87 of file lua-5.2.4/src/lobject.c.
LUAI_FUNC int luaO_int2fb | ( | unsigned int | x | ) |
Definition at line 35 of file lua-5.1.5/src/lobject.c.
References cast_int.
Referenced by constructor(), constructor(), and constructor().
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 331 of file lua-5.3.6/src/lobject.c.
Definition at line 371 of file lua-5.3.6/src/lobject.c.
References fltvalue, ivalue, lua_assert, lua_getlocaledecpoint, lua_integer2str, lua_number2str, luaS_newlstr(), MAXNUMBER2STR, setsvalue2s, ttisinteger, and ttisnumber.
Referenced by lua_tolstring(), and luaO_pushvfstring().
LUAI_FUNC int luaO_utf8esc | ( | char * | buff, |
unsigned long | x ) |
Definition at line 346 of file lua-5.3.6/src/lobject.c.
Definition at line 528 of file lua-5.3.6/src/lobject.h.