diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-04 11:37:07 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-04 11:37:07 -0200 |
commit | 63a752f961dc8b6ced4f398c7d4cafdfc2a6b9f0 (patch) | |
tree | 9f9a2b645c51a41a1cd8dc4f31d09e45bc8012fa /lobject.h | |
parent | 03d38b66fd60209f9e5219fac2429d762417723d (diff) | |
download | lua-63a752f961dc8b6ced4f398c7d4cafdfc2a6b9f0.tar.gz lua-63a752f961dc8b6ced4f398c7d4cafdfc2a6b9f0.tar.bz2 lua-63a752f961dc8b6ced4f398c7d4cafdfc2a6b9f0.zip |
small improvements.
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.23 1998/12/01 19:09:47 roberto Exp $ | 2 | ** $Id: lobject.h,v 1.24 1998/12/27 20:25:20 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 | */ |
@@ -193,7 +193,9 @@ extern char *luaO_typenames[]; | |||
193 | 193 | ||
194 | extern TObject luaO_nilobject; | 194 | extern TObject luaO_nilobject; |
195 | 195 | ||
196 | int luaO_equalObj (TObject *t1, TObject *t2); | 196 | #define luaO_equalObj(t1,t2) ((ttype(t1) != ttype(t2)) ? 0 \ |
197 | : luaO_equalval(t1,t2)) | ||
198 | int luaO_equalval (TObject *t1, TObject *t2); | ||
197 | int luaO_redimension (int oldsize); | 199 | int luaO_redimension (int oldsize); |
198 | void luaO_insertlist (GCnode *root, GCnode *node); | 200 | void luaO_insertlist (GCnode *root, GCnode *node); |
199 | double luaO_str2d (char *s); | 201 | double luaO_str2d (char *s); |