diff options
| -rw-r--r-- | ltm.c | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltm.c,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ | 2 | ** $Id: ltm.c,v 1.87 2002/02/14 21:40:29 roberto Exp roberto $ |
| 3 | ** Tag methods | 3 | ** Tag methods |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -25,11 +25,11 @@ const char *const luaT_typenames[] = { | |||
| 25 | 25 | ||
| 26 | void luaT_init (lua_State *L) { | 26 | void luaT_init (lua_State *L) { |
| 27 | static const char *const luaT_eventname[] = { /* ORDER TM */ | 27 | static const char *const luaT_eventname[] = { /* ORDER TM */ |
| 28 | "gettable", "settable", "index", | 28 | "__gettable", "__settable", "__index", |
| 29 | "gc", "weakmode", | 29 | "__gc", "__weakmode", |
| 30 | "add", "sub", "mul", "div", | 30 | "__add", "__sub", "__mul", "__div", |
| 31 | "pow", "unm", "lt", "concat", | 31 | "__pow", "__unm", "__lt", "__concat", |
| 32 | "call" | 32 | "__call" |
| 33 | }; | 33 | }; |
| 34 | int i; | 34 | int i; |
| 35 | for (i=0; i<TM_N; i++) { | 35 | for (i=0; i<TM_N; i++) { |
