commit 176cb39feb0421069e930f004412c25549724f1f
parent 64ad009fb2957f6d20fdf2f4d32f8f611ba5bd62
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Sun, 12 Jul 1998 13:11:34 -0300
macro encapsulates de "-".
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lobject.h b/lobject.h
@@ -1,5 +1,5 @@
/*
-** $Id: lobject.h,v 1.20 1998/06/11 18:21:37 roberto Exp roberto $
+** $Id: lobject.h,v 1.21 1998/06/18 16:57:03 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@@ -192,6 +192,9 @@ typedef struct Hash {
extern char *luaO_typenames[];
+#define luaO_typename(o) luaO_typenames[-ttype(o)]
+
+
extern TObject luaO_nilobject;
int luaO_equalObj (TObject *t1, TObject *t2);