2 ** $Id: ltm.h,v 2.6.1.1 2007/12/27 13:02:25 roberto Exp $
4 ** See Copyright Notice in lua.h
15 * WARNING: if you change the order of this enumeration,
24 TM_EQ
, /* last tag method with `fast' access */
44 TM_N
/* number of elements in the enum */
49 #define gfasttm(g,et,e) ((et) == NULL ? NULL : \
50 ((et)->flags & (1u<<(e))) ? NULL : luaT_gettm(et, e, (g)->tmname[e]))
52 #define fasttm(l,et,e) gfasttm(G(l), et, e)
54 LUAI_DATA
const char *const luaT_typenames
[];
57 LUAI_FUNC
const TValue
*luaT_gettm (Table
*events
, TMS event
, TString
*ename
);
58 LUAI_FUNC
const TValue
*luaT_gettmbyobj (lua_State
*L
, const TValue
*o
,
60 LUAI_FUNC
void luaT_init (lua_State
*L
);