diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-07-12 13:11:55 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-07-12 13:11:55 -0300 |
commit | 176cb39feb0421069e930f004412c25549724f1f (patch) | |
tree | 8b1d8ac0603c30068cfe0cbfe5ffb48e1f24ba7c | |
parent | 64ad009fb2957f6d20fdf2f4d32f8f611ba5bd62 (diff) | |
download | lua-176cb39feb0421069e930f004412c25549724f1f.tar.gz lua-176cb39feb0421069e930f004412c25549724f1f.tar.bz2 lua-176cb39feb0421069e930f004412c25549724f1f.zip |
macro encapsulates de "-".
-rw-r--r-- | lobject.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 | ||
193 | extern char *luaO_typenames[]; | 193 | extern char *luaO_typenames[]; |
194 | 194 | ||
195 | #define luaO_typename(o) luaO_typenames[-ttype(o)] | ||
196 | |||
197 | |||
195 | extern TObject luaO_nilobject; | 198 | extern TObject luaO_nilobject; |
196 | 199 | ||
197 | int luaO_equalObj (TObject *t1, TObject *t2); | 200 | int luaO_equalObj (TObject *t1, TObject *t2); |