#include <string.h>
#include "lua.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#include "ltm.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) |
Variables | |
static const char | udatatypename [] = "userdata" |
LUAI_DDEF const char *const | luaT_typenames_ [LUA_TOTALTAGS] |
Definition at line 51 of file ltm.cpp.
References cast_byte, Table::flags, lua_assert, luaH_getstr(), TM_EQ, and ttisnil.
Definition at line 62 of file ltm.cpp.
References G, hvalue, LUA_TTABLE, LUA_TUSERDATA, luaH_getstr(), luaO_nilobject, ttypenv, and uvalue.
Referenced by call_binTM(), GCTM(), luaV_finishOp(), luaV_gettable(), luaV_objlen(), luaV_settable(), and tryfuncTM().
Definition at line 31 of file ltm.cpp.
References G, i, luaS_fix, luaS_new(), and TM_N.
Referenced by f_luaopen().
LUAI_DDEF const char* const luaT_typenames_[LUA_TOTALTAGS] |