new interface for weak modes

This commit is contained in:
Roberto Ierusalimschy
2002-01-09 19:50:35 -02:00
parent facfec0687
commit b3bb0f132b
6 changed files with 33 additions and 44 deletions

2
ltm.c
View File

@@ -26,7 +26,7 @@ const char *const luaT_typenames[] = {
void luaT_init (lua_State *L) {
static const char *const luaT_eventname[] = { /* ORDER TM */
"gettable", "settable", "index",
"gc",
"gc", "weakmode",
"add", "sub", "mul", "div",
"pow", "unm", "lt", "concat",
"call"