Github User Fetcher 1.0.0
C Application with Server and GUI
|
#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"
Go to the source code of this file.
Macros | |
#define | ltm_c |
#define | LUA_CORE |
Functions | |
void | luaT_init (lua_State *L) |
const TValue * | luaT_gettm (Table *events, TMS event, TString *ename) |
const TValue * | luaT_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] |
#define ltm_c |
Definition at line 7 of file lua-5.3.6/src/ltm.c.
#define LUA_CORE |
Definition at line 8 of file lua-5.3.6/src/ltm.c.
Definition at line 124 of file lua-5.3.6/src/ltm.c.
References luaT_callTM(), luaT_gettmbyobj(), and ttisnil.
Referenced by luaT_callorderTM(), and luaT_trybinTM().
Definition at line 158 of file lua-5.3.6/src/ltm.c.
References l_isfalse, luaT_callbinTM(), and lua_State::top.
Referenced by lessequalothers(), lessthanothers(), luaV_lessequal(), and luaV_lessthan().
void luaT_callTM | ( | lua_State * | L, |
const TValue * | f, | ||
const TValue * | p1, | ||
const TValue * | p2, | ||
TValue * | p3, | ||
int | hasres ) |
Definition at line 102 of file lua-5.3.6/src/ltm.c.
References lua_State::ci, isLua, luaD_call(), luaD_callnoyield(), restorestack, savestack, setobj2s, setobjs2s, and lua_State::top.
Referenced by luaT_callbinTM(), luaV_equalobj(), luaV_finishget(), luaV_finishset(), luaV_finishset(), and luaV_objlen().
Definition at line 59 of file lua-5.3.6/src/ltm.c.
References cast_byte, Table::flags, lua_assert, luaH_getshortstr(), NULL, TM_EQ, and ttisnil.
Definition at line 70 of file lua-5.3.6/src/ltm.c.
References G, hvalue, LUA_TTABLE, LUA_TUSERDATA, luaH_getshortstr(), luaO_nilobject, Table::metatable, tmname, ttnov, and uvalue.
Referenced by luaT_callbinTM().
void luaT_init | ( | lua_State * | L | ) |
Definition at line 37 of file lua-5.3.6/src/ltm.c.
References G, luaC_fix(), luaS_new, obj2gco, TM_N, and tmname.
Definition at line 90 of file lua-5.3.6/src/ltm.c.
References getstr, hvalue, luaH_getshortstr(), luaS_new, name, NULL, tsvalue, ttisfulluserdata, ttisstring, ttistable, ttnov, ttypename, and uvalue.
Referenced by luaG_callerror(), luaG_forerror(), luaG_ordererror(), and luaG_typeerror().
Definition at line 135 of file lua-5.3.6/src/ltm.c.
References dummy, luaG_concaterror(), luaG_opinterror(), luaG_tointerror(), luaT_callbinTM(), TM_BAND, TM_BNOT, TM_BOR, TM_BXOR, TM_CONCAT, TM_SHL, TM_SHR, and tonumber.
Referenced by luaO_arith(), luaO_arith(), luaV_concat(), luaV_execute(), and luaV_execute().
LUAI_DDEF const char* const luaT_typenames_[LUA_TOTALTAGS] |
Definition at line 29 of file lua-5.3.6/src/ltm.c.
|
static |
Definition at line 27 of file lua-5.3.6/src/ltm.c.