diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-13 10:39:55 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-13 10:39:55 -0300 |
commit | 864c96f36ce8410b03652b1cb9800e4b3c76bcf7 (patch) | |
tree | d5061c0babf25cf222953e5195673534f8287f34 /ltm.c | |
parent | 0052930ffe8c86f0df7ab99dd1b6668f9e10c781 (diff) | |
download | lua-864c96f36ce8410b03652b1cb9800e4b3c76bcf7.tar.gz lua-864c96f36ce8410b03652b1cb9800e4b3c76bcf7.tar.bz2 lua-864c96f36ce8410b03652b1cb9800e4b3c76bcf7.zip |
new fallback for equality `__eq'
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.93 2002/06/03 14:09:57 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.94 2002/06/12 14:51:31 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 | "__gettable", "__settable", "__index", "__newindex", | 28 | "__gettable", "__settable", "__index", "__newindex", |
29 | "__gc", "__weakmode", | 29 | "__gc", "__eq", "__weakmode", |
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" |