Macros | Functions
lfunc.c File Reference
#include "lprefix.h"
#include <stddef.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "lgc.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
Include dependency graph for lfunc.c:

Go to the source code of this file.

Macros

#define lfunc_c
 
#define LUA_CORE
 
#define MAXDELTA   ((256ul << ((sizeof(L->stack->tbclist.delta) - 1) * 8)) - 1)
 

Functions

static void callclosemethod (lua_State *L, TValue *obj, TValue *err, int yy)
 
static void checkclosemth (lua_State *L, StkId level)
 
void luaF_close (lua_State *L, StkId level, int status, int yy)
 
void luaF_closeupval (lua_State *L, StkId level)
 
UpValluaF_findupval (lua_State *L, StkId level)
 
void luaF_freeproto (lua_State *L, Proto *f)
 
const char * luaF_getlocalname (const Proto *f, int local_number, int pc)
 
void luaF_initupvals (lua_State *L, LClosure *cl)
 
CClosureluaF_newCclosure (lua_State *L, int nupvals)
 
LClosureluaF_newLclosure (lua_State *L, int nupvals)
 
ProtoluaF_newproto (lua_State *L)
 
void luaF_newtbcupval (lua_State *L, StkId level)
 
void luaF_unlinkupval (UpVal *uv)
 
static UpValnewupval (lua_State *L, int tbc, StkId level, UpVal **prev)
 
static void poptbclist (lua_State *L)
 
static void prepcallclosemth (lua_State *L, StkId level, int status, int yy)
 

Macro Definition Documentation

◆ lfunc_c

#define lfunc_c

Definition at line 7 of file lfunc.c.

◆ LUA_CORE

#define LUA_CORE

Definition at line 8 of file lfunc.c.

◆ MAXDELTA

#define MAXDELTA   ((256ul << ((sizeof(L->stack->tbclist.delta) - 1) * 8)) - 1)

Definition at line 162 of file lfunc.c.

Function Documentation

◆ callclosemethod()

static void callclosemethod ( lua_State L,
TValue obj,
TValue err,
int  yy 
)
static

Definition at line 108 of file lfunc.c.

◆ checkclosemth()

static void checkclosemth ( lua_State L,
StkId  level 
)
static

Definition at line 126 of file lfunc.c.

◆ luaF_close()

void luaF_close ( lua_State L,
StkId  level,
int  status,
int  yy 
)

Definition at line 228 of file lfunc.c.

◆ luaF_closeupval()

void luaF_closeupval ( lua_State L,
StkId  level 
)

Definition at line 194 of file lfunc.c.

◆ luaF_findupval()

UpVal* luaF_findupval ( lua_State L,
StkId  level 
)

Definition at line 88 of file lfunc.c.

◆ luaF_freeproto()

void luaF_freeproto ( lua_State L,
Proto f 
)

Definition at line 267 of file lfunc.c.

◆ luaF_getlocalname()

const char* luaF_getlocalname ( const Proto f,
int  local_number,
int  pc 
)

Definition at line 283 of file lfunc.c.

◆ luaF_initupvals()

void luaF_initupvals ( lua_State L,
LClosure cl 
)

Definition at line 48 of file lfunc.c.

◆ luaF_newCclosure()

CClosure* luaF_newCclosure ( lua_State L,
int  nupvals 
)

Definition at line 27 of file lfunc.c.

◆ luaF_newLclosure()

LClosure* luaF_newLclosure ( lua_State L,
int  nupvals 
)

Definition at line 35 of file lfunc.c.

◆ luaF_newproto()

Proto* luaF_newproto ( lua_State L)

Definition at line 240 of file lfunc.c.

◆ luaF_newtbcupval()

void luaF_newtbcupval ( lua_State L,
StkId  level 
)

Definition at line 169 of file lfunc.c.

◆ luaF_unlinkupval()

void luaF_unlinkupval ( UpVal uv)

Definition at line 183 of file lfunc.c.

◆ newupval()

static UpVal* newupval ( lua_State L,
int  tbc,
StkId  level,
UpVal **  prev 
)
static

Definition at line 65 of file lfunc.c.

◆ poptbclist()

static void poptbclist ( lua_State L)
static

Definition at line 214 of file lfunc.c.

◆ prepcallclosemth()

static void prepcallclosemth ( lua_State L,
StkId  level,
int  status,
int  yy 
)
static

Definition at line 144 of file lfunc.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:27