Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "lobject.h"
Go to the source code of this file.
Macros | |
#define | sizeCclosure(n) |
#define | sizeLclosure(n) |
#define | isintwups(L) (L->twups != L) |
#define | MAXUPVAL 255 |
#define | upisopen(up) ((up)->v != &(up)->u.value) |
#define | uplevel(up) check_exp(upisopen(up), cast(StkId, (up)->v)) |
#define | MAXMISS 10 |
#define | CLOSEKTOP (-1) |
Functions | |
LUAI_FUNC Proto * | luaF_newproto (lua_State *L) |
LUAI_FUNC CClosure * | luaF_newCclosure (lua_State *L, int nupvals) |
LUAI_FUNC LClosure * | luaF_newLclosure (lua_State *L, int nupvals) |
LUAI_FUNC void | luaF_initupvals (lua_State *L, LClosure *cl) |
LUAI_FUNC UpVal * | luaF_findupval (lua_State *L, StkId level) |
LUAI_FUNC void | luaF_newtbcupval (lua_State *L, StkId level) |
LUAI_FUNC void | luaF_closeupval (lua_State *L, StkId level) |
LUAI_FUNC void | luaF_close (lua_State *L, StkId level, int status, int yy) |
LUAI_FUNC void | luaF_unlinkupval (UpVal *uv) |
LUAI_FUNC void | luaF_freeproto (lua_State *L, Proto *f) |
LUAI_FUNC const char * | luaF_getlocalname (const Proto *func, int local_number, int pc) |
#define CLOSEKTOP (-1) |
Definition at line 47 of file lua-5.4.3/src/lfunc.h.
Referenced by lua_closeslot(), lua_settop(), luaV_execute(), moveresults(), and prepcallclosemth().
#define isintwups | ( | L | ) | (L->twups != L) |
Definition at line 22 of file lua-5.4.3/src/lfunc.h.
#define MAXMISS 10 |
Definition at line 42 of file lua-5.4.3/src/lfunc.h.
#define MAXUPVAL 255 |
Definition at line 29 of file lua-5.4.3/src/lfunc.h.
#define sizeCclosure | ( | n | ) |
Definition at line 14 of file lua-5.4.3/src/lfunc.h.
#define sizeLclosure | ( | n | ) |
Definition at line 17 of file lua-5.4.3/src/lfunc.h.
#define upisopen | ( | up | ) | ((up)->v != &(up)->u.value) |
Definition at line 32 of file lua-5.4.3/src/lfunc.h.
Definition at line 35 of file lua-5.4.3/src/lfunc.h.
Referenced by correctstack(), luaF_closeupval(), and luaF_findupval().
Definition at line 228 of file lua-5.4.3/src/lfunc.c.
References luaF_closeupval(), poptbclist(), prepcallclosemth(), restorestack, savestack, and lua_State::tbclist.
Definition at line 194 of file lua-5.4.3/src/lfunc.c.
References iswhite, lua_assert, luaC_barrier, luaF_unlinkupval(), NULL, nw2black, lua_State::openupval, setobj, lua_State::top, UpVal::u, uplevel, UpVal::v, and UpVal::value.
Referenced by luaE_freethread(), luaF_close(), and luaV_execute().
Definition at line 53 of file lua-5.1.5/src/lfunc.c.
References changewhite, G, gco2uv, isdead, isintwups, isold, UpVal::l, lua_assert, LUA_TUPVAL, luaC_newobj(), luaC_white, luaM_new, newupval(), UpVal::next, ngcotouv, NULL, obj2gco, UpVal::open, lua_State::openupval, UpVal::prev, UpVal::refcount, UpVal::touched, lua_State::twups, UpVal::u, upisopen, uplevel, GCObject::uv, global_State::uvhead, UpVal::v, and UpVal::value.
Referenced by luaV_execute(), pushclosure(), pushclosure(), and pushclosure().
Definition at line 141 of file lua-5.1.5/src/lfunc.c.
References Proto::abslineinfo, Proto::code, Proto::k, Proto::lineinfo, Proto::locvars, luaM_free, luaM_freearray, Proto::p, Proto::sizeabslineinfo, Proto::sizecode, Proto::sizek, Proto::sizelineinfo, Proto::sizelocvars, Proto::sizep, Proto::sizeupvalues, and Proto::upvalues.
Referenced by freeobj(), freeobj(), freeobj(), and freeobj().
Definition at line 163 of file lua-5.1.5/src/lfunc.c.
References getstr, Proto::locvars, NULL, Proto::sizelocvars, LocVar::startpc, and LocVar::varname.
Referenced by findlocal(), findlocal(), findlocal(), getobjname(), getobjname(), getobjname(), getobjname(), lua_getlocal(), and luaG_findlocal().
Definition at line 45 of file lua-5.3.6/src/lfunc.c.
References gco2upv, LUA_VUPVAL, luaC_newobj(), luaC_objbarrier, luaM_new, UpVal::refcount, setnilvalue, UpVal::u, LClosure::upvals, UpVal::v, and UpVal::value.
Referenced by f_parser(), and f_parser().
Definition at line 23 of file lua-5.2.4/src/lfunc.c.
References Closure::c, cast_byte, GCObject::cl, gco2ccl, LUA_TCCL, LUA_VCCL, luaC_newobj(), NULL, and sizeCclosure.
Definition at line 30 of file lua-5.2.4/src/lfunc.c.
References cast_byte, GCObject::cl, gco2lcl, Closure::l, LUA_TLCL, LUA_VLCL, luaC_newobj(), NULL, LClosure::p, sizeLclosure, and LClosure::upvals.
Definition at line 115 of file lua-5.1.5/src/lfunc.c.
References Proto::abslineinfo, Proto::cache, Proto::code, gco2p, Proto::is_vararg, Proto::k, Proto::lastlinedefined, Proto::linedefined, Proto::lineinfo, Proto::locvars, LUA_TPROTO, LUA_VPROTO, luaC_link(), luaC_newobj(), luaM_new, Proto::maxstacksize, NULL, Proto::numparams, Proto::nups, obj2gco, Proto::p, GCObject::p, Proto::sizeabslineinfo, Proto::sizecode, Proto::sizek, Proto::sizelineinfo, Proto::sizelocvars, Proto::sizep, Proto::sizeupvalues, Proto::source, and Proto::upvalues.
Referenced by addprototype(), addprototype(), addprototype(), combine(), LoadConstants(), LoadFunction(), LoadProtos(), loadProtos(), luaU_undump(), luaU_undump(), luaY_parser(), and open_func().
Definition at line 169 of file lua-5.4.3/src/lfunc.c.
References cast, cast_uint, checkclosemth(), l_isfalse, lua_assert, MAXDELTA, s2v, and lua_State::tbclist.
Referenced by lua_toclose(), and luaV_execute().
Definition at line 183 of file lua-5.4.3/src/lfunc.c.
References lua_assert, UpVal::next, UpVal::open, UpVal::previous, UpVal::u, and upisopen.
Referenced by freeupval(), and luaF_closeupval().