diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-18 17:24:14 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-18 17:24:14 -0300 |
| commit | 578d1da00d4144caaf2ea7406680f76adcfc5af1 (patch) | |
| tree | 70ac41bf1c6e0066b8e9473c32c73dada244a3d5 | |
| parent | 24d6d0528ddecf787f3fa79c9e7e2c3afb73bd3f (diff) | |
| download | lua-578d1da00d4144caaf2ea7406680f76adcfc5af1.tar.gz lua-578d1da00d4144caaf2ea7406680f76adcfc5af1.tar.bz2 lua-578d1da00d4144caaf2ea7406680f76adcfc5af1.zip | |
new names for tag methods
| -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++) { |
