RetroArch
Classes | Macros | Functions
lfunc.h File Reference
#include "lobject.h"
Include dependency graph for lfunc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UpVal
 

Macros

#define sizeCclosure(n)
 
#define sizeLclosure(n)
 
#define isintwups(L)   (L->twups != L)
 
#define MAXUPVAL   255
 
#define upisopen(up)   ((up)->v != &(up)->u.value)
 

Functions

LUAI_FUNC ProtoluaF_newproto (lua_State *L)
 
LUAI_FUNC CClosureluaF_newCclosure (lua_State *L, int nelems)
 
LUAI_FUNC LClosureluaF_newLclosure (lua_State *L, int nelems)
 
LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl)
 
LUAI_FUNC UpValluaF_findupval (lua_State *L, StkId level)
 
LUAI_FUNC void luaF_close (lua_State *L, StkId level)
 
LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f)
 
LUAI_FUNC const char * luaF_getlocalname (const Proto *func, int local_number, int pc)
 

Macro Definition Documentation

◆ isintwups

#define isintwups (   L)    (L->twups != L)

◆ MAXUPVAL

#define MAXUPVAL   255

◆ sizeCclosure

#define sizeCclosure (   n)
Value:
(cast(int, sizeof(CClosure)) + \
cast(int, sizeof(TValue)*((n)-1)))
Definition: lobject.h:113
#define cast(t, exp)
Definition: llimits.h:111
Definition: lobject.h:446
GLdouble n
Definition: glext.h:8396

◆ sizeLclosure

#define sizeLclosure (   n)
Value:
(cast(int, sizeof(LClosure)) + \
cast(int, sizeof(TValue *)*((n)-1)))
Definition: lobject.h:113
#define cast(t, exp)
Definition: llimits.h:111
Definition: lobject.h:453
GLdouble n
Definition: glext.h:8396

◆ upisopen

#define upisopen (   up)    ((up)->v != &(up)->u.value)

Function Documentation

◆ luaF_close()

LUAI_FUNC void luaF_close ( lua_State L,
StkId  level 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaF_findupval()

LUAI_FUNC UpVal* luaF_findupval ( lua_State L,
StkId  level 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaF_freeproto()

LUAI_FUNC void luaF_freeproto ( lua_State L,
Proto f 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaF_getlocalname()

LUAI_FUNC const char* luaF_getlocalname ( const Proto func,
int  local_number,
int  pc 
)
Here is the caller graph for this function:

◆ luaF_initupvals()

LUAI_FUNC void luaF_initupvals ( lua_State L,
LClosure cl 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaF_newCclosure()

LUAI_FUNC CClosure* luaF_newCclosure ( lua_State L,
int  nelems 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaF_newLclosure()

LUAI_FUNC LClosure* luaF_newLclosure ( lua_State L,
int  nelems 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaF_newproto()

LUAI_FUNC Proto* luaF_newproto ( lua_State L)
Here is the call graph for this function:
Here is the caller graph for this function: