From ef62b340e0a6b7b18931000dcbb19c4703bfe0e8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 May 2000 10:54:49 -0300 Subject: code cleaner for 16 bits. --- lobject.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index cb9670ed..f667a103 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.63 2000/05/08 19:37:10 roberto Exp roberto $ +** $Id: lobject.h,v 1.64 2000/05/10 16:33:20 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -92,7 +92,7 @@ typedef struct TString { union { struct { /* for strings */ unsigned long hash; - long len; + size_t len; int constindex; /* hint to reuse constants */ } s; struct { /* for userdata */ @@ -170,10 +170,9 @@ extern const TObject luaO_nilobject; #define luaO_typename(o) luaO_typenames[ttype(o)] -unsigned long luaO_power2 (unsigned long n); +lint32 luaO_power2 (lint32 n); int luaO_equalObj (const TObject *t1, const TObject *t2); -int luaO_redimension (lua_State *L, int oldsize); int luaO_str2d (const char *s, Number *result); -- cgit v1.2.3-55-g6feb