lua5.4
宏定义 | 函数 | 变量
ltm.c 文件参考
#include "lprefix.h"
#include <string.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lgc.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#include "ltm.h"
#include "lvm.h"
ltm.c 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

宏定义

#define ltm_c
 
#define LUA_CORE
 

函数

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, const TValue *p3)
 
void luaT_callTMres (lua_State *L, const TValue *f, const TValue *p1, const TValue *p2, StkId res)
 
static int 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)
 
void luaT_tryconcatTM (lua_State *L)
 
void luaT_trybinassocTM (lua_State *L, const TValue *p1, const TValue *p2, int flip, StkId res, TMS event)
 
void luaT_trybiniTM (lua_State *L, const TValue *p1, lua_Integer i2, int flip, StkId res, TMS event)
 
int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, TMS event)
 
int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2, int flip, int isfloat, TMS event)
 
void luaT_adjustvarargs (lua_State *L, int nfixparams, CallInfo *ci, const Proto *p)
 
void luaT_getvarargs (lua_State *L, CallInfo *ci, StkId where, int wanted)
 

变量

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

宏定义说明

◆ ltm_c

#define ltm_c

◆ LUA_CORE

#define LUA_CORE

函数说明

◆ callbinTM()

static int callbinTM ( lua_State L,
const TValue p1,
const TValue p2,
StkId  res,
TMS  event 
)
static
函数调用图:
这是这个函数的调用关系图:

◆ luaT_adjustvarargs()

void luaT_adjustvarargs ( lua_State L,
int  nfixparams,
CallInfo ci,
const Proto p 
)
这是这个函数的调用关系图:

◆ luaT_callorderiTM()

int luaT_callorderiTM ( lua_State L,
const TValue p1,
int  v2,
int  flip,
int  isfloat,
TMS  event 
)
函数调用图:

◆ luaT_callorderTM()

int luaT_callorderTM ( lua_State L,
const TValue p1,
const TValue p2,
TMS  event 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_callTM()

void luaT_callTM ( lua_State L,
const TValue f,
const TValue p1,
const TValue p2,
const TValue p3 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_callTMres()

void luaT_callTMres ( lua_State L,
const TValue f,
const TValue p1,
const TValue p2,
StkId  res 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_gettm()

const TValue* luaT_gettm ( Table events,
TMS  event,
TString ename 
)
函数调用图:

◆ luaT_gettmbyobj()

const TValue* luaT_gettmbyobj ( lua_State L,
const TValue o,
TMS  event 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_getvarargs()

void luaT_getvarargs ( lua_State L,
CallInfo ci,
StkId  where,
int  wanted 
)
这是这个函数的调用关系图:

◆ luaT_init()

void luaT_init ( lua_State L)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_objtypename()

const char* luaT_objtypename ( lua_State L,
const TValue o 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_trybinassocTM()

void luaT_trybinassocTM ( lua_State L,
const TValue p1,
const TValue p2,
int  flip,
StkId  res,
TMS  event 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_trybiniTM()

void luaT_trybiniTM ( lua_State L,
const TValue p1,
lua_Integer  i2,
int  flip,
StkId  res,
TMS  event 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_trybinTM()

void luaT_trybinTM ( lua_State L,
const TValue p1,
const TValue p2,
StkId  res,
TMS  event 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaT_tryconcatTM()

void luaT_tryconcatTM ( lua_State L)
函数调用图:
这是这个函数的调用关系图:

变量说明

◆ luaT_typenames_

LUAI_DDEF const char* const luaT_typenames_[LUA_TOTALTYPES]
初始值:
= {
"no value",
"nil", "boolean", udatatypename, "number",
"string", "table", "function", udatatypename, "thread",
"upvalue", "proto"
}

◆ udatatypename

const char udatatypename[] = "userdata"
static
udatatypename
static const char udatatypename[]
Definition: ltm.c:28