diff options
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 | ||