diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-24 10:54:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-24 10:54:49 -0300 |
commit | ef62b340e0a6b7b18931000dcbb19c4703bfe0e8 (patch) | |
tree | d9d995116a8a686b798d1b625b06ead26f28ba58 /lobject.h | |
parent | 5c2dd7a9e0a5b871a71ba66c4683cd88fe4f5aa4 (diff) | |
download | lua-ef62b340e0a6b7b18931000dcbb19c4703bfe0e8.tar.gz lua-ef62b340e0a6b7b18931000dcbb19c4703bfe0e8.tar.bz2 lua-ef62b340e0a6b7b18931000dcbb19c4703bfe0e8.zip |
code cleaner for 16 bits.
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.63 2000/05/08 19:37:10 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.64 2000/05/10 16:33: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 | */ |
@@ -92,7 +92,7 @@ typedef struct TString { | |||
92 | union { | 92 | union { |
93 | struct { /* for strings */ | 93 | struct { /* for strings */ |
94 | unsigned long hash; | 94 | unsigned long hash; |
95 | long len; | 95 | size_t len; |
96 | int constindex; /* hint to reuse constants */ | 96 | int constindex; /* hint to reuse constants */ |
97 | } s; | 97 | } s; |
98 | struct { /* for userdata */ | 98 | struct { /* for userdata */ |
@@ -170,10 +170,9 @@ extern const TObject luaO_nilobject; | |||
170 | 170 | ||
171 | #define luaO_typename(o) luaO_typenames[ttype(o)] | 171 | #define luaO_typename(o) luaO_typenames[ttype(o)] |
172 | 172 | ||
173 | unsigned long luaO_power2 (unsigned long n); | 173 | lint32 luaO_power2 (lint32 n); |
174 | 174 | ||
175 | int luaO_equalObj (const TObject *t1, const TObject *t2); | 175 | int luaO_equalObj (const TObject *t1, const TObject *t2); |
176 | int luaO_redimension (lua_State *L, int oldsize); | ||
177 | int luaO_str2d (const char *s, Number *result); | 176 | int luaO_str2d (const char *s, Number *result); |
178 | 177 | ||
179 | 178 | ||