diff options
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 1.43 2000/06/30 14:35:17 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 1.44 2000/08/09 19:16:57 roberto Exp roberto $ |
3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -12,6 +12,10 @@ | |||
12 | #include "lobject.h" | 12 | #include "lobject.h" |
13 | 13 | ||
14 | 14 | ||
15 | /* | ||
16 | ** you can use the fact that the 3rd letter or each name is always different | ||
17 | ** (e-m-r-b-n-l) to compare and switch these strings | ||
18 | */ | ||
15 | const char *const luaO_typenames[] = { /* ORDER LUA_T */ | 19 | const char *const luaO_typenames[] = { /* ORDER LUA_T */ |
16 | "userdata", "number", "string", "table", "function", "function", "nil", | 20 | "userdata", "number", "string", "table", "function", "function", "nil", |
17 | "function", "function" | 21 | "function", "function" |