|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
-** $Id: ltm.c,v 1.94 2002/06/12 14:51:31 roberto Exp roberto $
|
|
|
|
|
|
+** $Id: ltm.c,v 1.95 2002/06/13 13:39:55 roberto Exp roberto $
|
|
** Tag methods
|
|
** Tag methods
|
|
** See Copyright Notice in lua.h
|
|
** See Copyright Notice in lua.h
|
|
*/
|
|
*/
|
|
@@ -25,8 +25,9 @@ const char *const luaT_typenames[] = {
|
|
|
|
|
|
void luaT_init (lua_State *L) {
|
|
void luaT_init (lua_State *L) {
|
|
static const char *const luaT_eventname[] = { /* ORDER TM */
|
|
static const char *const luaT_eventname[] = { /* ORDER TM */
|
|
- "__gettable", "__settable", "__index", "__newindex",
|
|
|
|
|
|
+ "__index", "__newindex",
|
|
"__gc", "__eq", "__weakmode",
|
|
"__gc", "__eq", "__weakmode",
|
|
|
|
+ "__gettable", "__settable",
|
|
"__add", "__sub", "__mul", "__div",
|
|
"__add", "__sub", "__mul", "__div",
|
|
"__pow", "__unm", "__lt", "__le",
|
|
"__pow", "__unm", "__lt", "__le",
|
|
"__concat", "__call"
|
|
"__concat", "__call"
|