From 9e84bf18db779bea66947c1ca08db9bf8dc593c8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 11 Aug 2000 13:17:28 -0300 Subject: still more debug information --- lobject.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lobject.c') diff --git a/lobject.c b/lobject.c index d6d3f9c4..c833e921 100644 --- a/lobject.c +++ b/lobject.c @@ -1,5 +1,5 @@ /* -** $Id: lobject.c,v 1.43 2000/06/30 14:35:17 roberto Exp roberto $ +** $Id: lobject.c,v 1.44 2000/08/09 19:16:57 roberto Exp roberto $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ @@ -12,6 +12,10 @@ #include "lobject.h" +/* +** you can use the fact that the 3rd letter or each name is always different +** (e-m-r-b-n-l) to compare and switch these strings +*/ const char *const luaO_typenames[] = { /* ORDER LUA_T */ "userdata", "number", "string", "table", "function", "function", "nil", "function", "function" -- cgit v1.2.3-55-g6feb