From 176cb39feb0421069e930f004412c25549724f1f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 12 Jul 1998 13:11:55 -0300 Subject: [PATCH] macro encapsulates de "-". --- lobject.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lobject.h b/lobject.h index 18cf2097..09f0d4e5 100644 --- 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);