From 96253ed8ceb38afa50887ccb5500442b5b220f08 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 24 Nov 2000 15:39:56 -0200 Subject: better support for 64-bit machines (avoid excessive use of longs) --- lobject.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index dde9f9b5..f0f7de20 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.81 2000/10/30 16:29:59 roberto Exp roberto $ +** $Id: lobject.h,v 1.82 2000/10/30 17:49:19 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -82,7 +82,7 @@ typedef struct lua_TObject { typedef struct TString { union { struct { /* for strings */ - unsigned long hash; + luint32 hash; int constindex; /* hint to reuse constants */ } s; struct { /* for userdata */ @@ -191,7 +191,7 @@ extern const char *const luaO_typenames[]; #define luaO_typename(o) (luaO_typenames[ttype(o)]) -lint32 luaO_power2 (lint32 n); +luint32 luaO_power2 (luint32 n); char *luaO_openspace (lua_State *L, size_t n); int luaO_equalObj (const TObject *t1, const TObject *t2); -- cgit v1.2.3-55-g6feb