aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-11-24 15:39:56 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-11-24 15:39:56 -0200
commit96253ed8ceb38afa50887ccb5500442b5b220f08 (patch)
tree4b42b80f781b0cbe95782f8e8ebec06d85e80ae4 /lobject.h
parent35d6b1505702b0f4a2eee0e6d2f8dfc50943a1a7 (diff)
downloadlua-96253ed8ceb38afa50887ccb5500442b5b220f08.tar.gz
lua-96253ed8ceb38afa50887ccb5500442b5b220f08.tar.bz2
lua-96253ed8ceb38afa50887ccb5500442b5b220f08.zip
better support for 64-bit machines (avoid excessive use of longs)
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lobject.h b/lobject.h
index dde9f9b5..f0f7de20 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.81 2000/10/30 16:29:59 roberto Exp roberto $ 2** $Id: lobject.h,v 1.82 2000/10/30 17:49:19 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*/
@@ -82,7 +82,7 @@ typedef struct lua_TObject {
82typedef struct TString { 82typedef struct TString {
83 union { 83 union {
84 struct { /* for strings */ 84 struct { /* for strings */
85 unsigned long hash; 85 luint32 hash;
86 int constindex; /* hint to reuse constants */ 86 int constindex; /* hint to reuse constants */
87 } s; 87 } s;
88 struct { /* for userdata */ 88 struct { /* for userdata */
@@ -191,7 +191,7 @@ extern const char *const luaO_typenames[];
191#define luaO_typename(o) (luaO_typenames[ttype(o)]) 191#define luaO_typename(o) (luaO_typenames[ttype(o)])
192 192
193 193
194lint32 luaO_power2 (lint32 n); 194luint32 luaO_power2 (luint32 n);
195char *luaO_openspace (lua_State *L, size_t n); 195char *luaO_openspace (lua_State *L, size_t n);
196 196
197int luaO_equalObj (const TObject *t1, const TObject *t2); 197int luaO_equalObj (const TObject *t1, const TObject *t2);