diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-14 10:01:35 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-14 10:01:35 -0200 |
commit | 5c5d9b27031f0a7fcf61df86cd242105c38485d6 (patch) | |
tree | 534fb1ea4a4fc82253d5bc8b0af92b91a7ae9714 /ltm.c | |
parent | 43d1a6af12fb9cf20e55cc6ba8a1b0231d6b7a3c (diff) | |
download | lua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.tar.gz lua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.tar.bz2 lua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.zip |
back to `__mode' metafield to specify weakness
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 1.102 2002/09/19 20:12:47 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.103 2002/10/25 20:05:28 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 | */ |
@@ -26,7 +26,7 @@ const char *const luaT_typenames[] = { | |||
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 | "__index", "__newindex", | 28 | "__index", "__newindex", |
29 | "__gc", "__eq", | 29 | "__gc", "__mode", "__eq", |
30 | "__add", "__sub", "__mul", "__div", | 30 | "__add", "__sub", "__mul", "__div", |
31 | "__pow", "__unm", "__lt", "__le", | 31 | "__pow", "__unm", "__lt", "__le", |
32 | "__concat", "__call" | 32 | "__concat", "__call" |