aboutsummaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-14 10:01:35 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-14 10:01:35 -0200
commit5c5d9b27031f0a7fcf61df86cd242105c38485d6 (patch)
tree534fb1ea4a4fc82253d5bc8b0af92b91a7ae9714 /ltm.c
parent43d1a6af12fb9cf20e55cc6ba8a1b0231d6b7a3c (diff)
downloadlua-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index ff66afdd..60451581 100644
--- a/ltm.c
+++ b/ltm.c
@@ -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[] = {
26void luaT_init (lua_State *L) { 26void 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"