summaryrefslogtreecommitdiff
path: root/lstate.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 /lstate.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 'lstate.h')
-rw-r--r--lstate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lstate.h b/lstate.h
index 2a93f663..51c6e27d 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.40 2000/09/29 12:42:13 roberto Exp roberto $ 2** $Id: lstate.h,v 1.41 2000/10/05 13:00:17 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -37,7 +37,7 @@ struct TM; /* defined in ltm.h */
37 37
38typedef struct stringtable { 38typedef struct stringtable {
39 int size; 39 int size;
40 lint32 nuse; /* number of elements */ 40 luint32 nuse; /* number of elements */
41 TString **hash; 41 TString **hash;
42} stringtable; 42} stringtable;
43 43
@@ -65,8 +65,8 @@ struct lua_State {
65 struct Ref *refArray; /* locked objects */ 65 struct Ref *refArray; /* locked objects */
66 int refSize; /* size of refArray */ 66 int refSize; /* size of refArray */
67 int refFree; /* list of free positions in refArray */ 67 int refFree; /* list of free positions in refArray */
68 unsigned long GCthreshold; 68 mem_int GCthreshold;
69 unsigned long nblocks; /* number of `bytes' currently allocated */ 69 mem_int nblocks; /* number of `bytes' currently allocated */
70 lua_Hook callhook; 70 lua_Hook callhook;
71 lua_Hook linehook; 71 lua_Hook linehook;
72 int allowhooks; 72 int allowhooks;