Browse Source

new names for tag methods

v5-2
Roberto Ierusalimschy 23 years ago
parent
commit
578d1da00d
  1. 12
      ltm.c

12
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++) {

Loading…
Cancel
Save