first implementation for type names

This commit is contained in:
Roberto Ierusalimschy
2001-01-25 14:45:36 -02:00
parent c8559e3c8d
commit a53d9b66ca
15 changed files with 299 additions and 237 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.c,v 1.59 2001/01/19 13:20:30 roberto Exp roberto $
** $Id: lobject.c,v 1.60 2001/01/24 15:45:33 roberto Exp roberto $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
@@ -22,12 +22,6 @@
const TObject luaO_nilobject = {LUA_TNIL, {NULL}};
const char *const luaO_typenames[] = {
"userdata", "nil", "number", "string", "table", "function"
};
/*
** returns smaller power of 2 larger than `n' (minimum is MINPOWER2)
*/