commit 578d1da00d4144caaf2ea7406680f76adcfc5af1
parent 24d6d0528ddecf787f3fa79c9e7e2c3afb73bd3f
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 18 Mar 2002 17:23:52 -0300
new names for tag methods
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/ltm.c b/ltm.c
@@ -1,5 +1,5 @@
/*
-** $Id: ltm.c,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $
+** $Id: ltm.c,v 1.87 2002/02/14 21:40:29 roberto Exp roberto $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -25,11 +25,11 @@ const char *const luaT_typenames[] = {
void luaT_init (lua_State *L) {
static const char *const luaT_eventname[] = { /* ORDER TM */
- "gettable", "settable", "index",
- "gc", "weakmode",
- "add", "sub", "mul", "div",
- "pow", "unm", "lt", "concat",
- "call"
+ "__gettable", "__settable", "__index",
+ "__gc", "__weakmode",
+ "__add", "__sub", "__mul", "__div",
+ "__pow", "__unm", "__lt", "__concat",
+ "__call"
};
int i;
for (i=0; i<TM_N; i++) {