aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-07-12 13:11:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-07-12 13:11:55 -0300
commit176cb39feb0421069e930f004412c25549724f1f (patch)
tree8b1d8ac0603c30068cfe0cbfe5ffb48e1f24ba7c
parent64ad009fb2957f6d20fdf2f4d32f8f611ba5bd62 (diff)
downloadlua-176cb39feb0421069e930f004412c25549724f1f.tar.gz
lua-176cb39feb0421069e930f004412c25549724f1f.tar.bz2
lua-176cb39feb0421069e930f004412c25549724f1f.zip
macro encapsulates de "-".
-rw-r--r--lobject.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lobject.h b/lobject.h
index 18cf2097..09f0d4e5 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.20 1998/06/11 18:21:37 roberto Exp roberto $ 2** $Id: lobject.h,v 1.21 1998/06/18 16:57:03 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -192,6 +192,9 @@ typedef struct Hash {
192 192
193extern char *luaO_typenames[]; 193extern char *luaO_typenames[];
194 194
195#define luaO_typename(o) luaO_typenames[-ttype(o)]
196
197
195extern TObject luaO_nilobject; 198extern TObject luaO_nilobject;
196 199
197int luaO_equalObj (TObject *t1, TObject *t2); 200int luaO_equalObj (TObject *t1, TObject *t2);