mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
new names for tag methods
This commit is contained in:
parent
24d6d0528d
commit
578d1da00d
1 changed files with 6 additions and 6 deletions
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…
Add table
Add a link
Reference in a new issue