RetroArch
Macros | Functions | Variables
ltm.c File Reference
#include "lprefix.h"
#include <string.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#include "ltm.h"
#include "lvm.h"
Include dependency graph for ltm.c:

Macros

#define ltm_c
 
#define LUA_CORE
 

Functions

void luaT_init (lua_State *L)
 
const TValueluaT_gettm (Table *events, TMS event, TString *ename)
 
const TValueluaT_gettmbyobj (lua_State *L, const TValue *o, TMS event)
 
const char * luaT_objtypename (lua_State *L, const TValue *o)
 
void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1, const TValue *p2, TValue *p3, int hasres)
 
int luaT_callbinTM (lua_State *L, const TValue *p1, const TValue *p2, StkId res, TMS event)
 
void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, StkId res, TMS event)
 
int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, TMS event)
 

Variables

static const char udatatypename [] = "userdata"
 
LUAI_DDEF const char *const luaT_typenames_ [LUA_TOTALTAGS]
 

Macro Definition Documentation

◆ ltm_c

#define ltm_c

◆ LUA_CORE

#define LUA_CORE

Function Documentation

◆ luaT_callbinTM()

int luaT_callbinTM ( lua_State L,
const TValue p1,
const TValue p2,
StkId  res,
TMS  event 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaT_callorderTM()

int luaT_callorderTM ( lua_State L,
const TValue p1,
const TValue p2,
TMS  event 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaT_callTM()

void luaT_callTM ( lua_State L,
const TValue f,
const TValue p1,
const TValue p2,
TValue p3,
int  hasres 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaT_gettm()

const TValue* luaT_gettm ( Table events,
TMS  event,
TString ename 
)
Here is the call graph for this function:

◆ luaT_gettmbyobj()

const TValue* luaT_gettmbyobj ( lua_State L,
const TValue o,
TMS  event 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaT_init()

void luaT_init ( lua_State L)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaT_objtypename()

const char* luaT_objtypename ( lua_State L,
const TValue o 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaT_trybinTM()

void luaT_trybinTM ( lua_State L,
const TValue p1,
const TValue p2,
StkId  res,
TMS  event 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ luaT_typenames_

LUAI_DDEF const char* const luaT_typenames_[LUA_TOTALTAGS]
Initial value:
= {
"no value",
"nil", "boolean", udatatypename, "number",
"string", "table", "function", udatatypename, "thread",
"proto"
}
static const char udatatypename[]
Definition: ltm.c:27

◆ udatatypename

const char udatatypename[] = "userdata"
static