Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <stddef.h>
#include "lua.h"
#include "lfunc.h"
#include "lgc.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
Go to the source code of this file.
Macros | |
#define | lfunc_c |
#define | LUA_CORE |
Functions | |
Closure * | luaF_newCclosure (lua_State *L, int n) |
Closure * | luaF_newLclosure (lua_State *L, int n) |
UpVal * | luaF_newupval (lua_State *L) |
UpVal * | luaF_findupval (lua_State *L, StkId level) |
static void | unlinkupval (UpVal *uv) |
void | luaF_freeupval (lua_State *L, UpVal *uv) |
void | luaF_close (lua_State *L, StkId level) |
Proto * | luaF_newproto (lua_State *L) |
void | luaF_freeproto (lua_State *L, Proto *f) |
const char * | luaF_getlocalname (const Proto *f, int local_number, int pc) |
#define lfunc_c |
Definition at line 10 of file lua-5.2.4/src/lfunc.c.
#define LUA_CORE |
Definition at line 11 of file lua-5.2.4/src/lfunc.c.
Definition at line 89 of file lua-5.2.4/src/lfunc.c.
References global_State::allgc, G, gch, gco2uv, isblack, isdead, lua_assert, luaC_checkupvalcolor(), luaF_freeupval(), UpVal::next, NULL, obj2gco, lua_State::openupval, setobj, UpVal::u, unlinkupval(), UpVal::v, and UpVal::value.
Definition at line 47 of file lua-5.2.4/src/lfunc.c.
References changewhite, G, gco2uv, isdead, isold, UpVal::l, lua_assert, LUA_TUPVAL, luaC_newobj(), UpVal::next, NULL, obj2gco, lua_State::openupval, UpVal::prev, UpVal::u, GCObject::uv, global_State::uvhead, UpVal::v, and UpVal::value.
Definition at line 135 of file lua-5.2.4/src/lfunc.c.
References Proto::code, Proto::k, Proto::lineinfo, Proto::locvars, luaM_free, luaM_freearray, Proto::p, Proto::sizecode, Proto::sizek, Proto::sizelineinfo, Proto::sizelocvars, Proto::sizep, Proto::sizeupvalues, and Proto::upvalues.
Definition at line 82 of file lua-5.2.4/src/lfunc.c.
References luaM_free, UpVal::u, unlinkupval(), UpVal::v, and UpVal::value.
Referenced by luaF_close().
const char * luaF_getlocalname | ( | const Proto * | f, |
int | local_number, | ||
int | pc ) |
Definition at line 150 of file lua-5.2.4/src/lfunc.c.
References getstr, Proto::locvars, NULL, Proto::sizelocvars, LocVar::startpc, and LocVar::varname.
Definition at line 23 of file lua-5.2.4/src/lfunc.c.
References Closure::c, cast_byte, GCObject::cl, LUA_TCCL, luaC_newobj(), NULL, and sizeCclosure.
Definition at line 30 of file lua-5.2.4/src/lfunc.c.
References cast_byte, GCObject::cl, Closure::l, LUA_TLCL, luaC_newobj(), NULL, LClosure::p, sizeLclosure, and LClosure::upvals.
Definition at line 110 of file lua-5.2.4/src/lfunc.c.
References Proto::cache, Proto::code, Proto::is_vararg, Proto::k, Proto::lastlinedefined, Proto::linedefined, Proto::lineinfo, Proto::locvars, LUA_TPROTO, luaC_newobj(), Proto::maxstacksize, NULL, Proto::numparams, Proto::p, GCObject::p, Proto::sizecode, Proto::sizek, Proto::sizelineinfo, Proto::sizelocvars, Proto::sizep, Proto::sizeupvalues, Proto::source, and Proto::upvalues.
Definition at line 39 of file lua-5.2.4/src/lfunc.c.
References LUA_TUPVAL, luaC_newobj(), NULL, setnilvalue, UpVal::u, GCObject::uv, UpVal::v, and UpVal::value.
|
static |
Definition at line 75 of file lua-5.2.4/src/lfunc.c.
References UpVal::l, lua_assert, UpVal::next, UpVal::prev, and UpVal::u.
Referenced by luaF_close(), and luaF_freeupval().