aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-29 09:42:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-29 09:42:13 -0300
commitdad808a73a98a23729614b8814728d76b4e5d577 (patch)
tree945fabce1906c5f08fe6512476d7ca3d84017bca /lstate.h
parentca7fd50a4ec2f1b41292f859ba0d5e52a2b22a5c (diff)
downloadlua-dad808a73a98a23729614b8814728d76b4e5d577.tar.gz
lua-dad808a73a98a23729614b8814728d76b4e5d577.tar.bz2
lua-dad808a73a98a23729614b8814728d76b4e5d577.zip
new way to count `nblocks' for GC (try to count bytes).
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 8d54e932..9c31349a 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.38 2000/09/11 17:38:42 roberto Exp roberto $ 2** $Id: lstate.h,v 1.39 2000/09/25 16:22:42 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*/
@@ -65,7 +65,7 @@ struct lua_State {
65 int refSize; /* size of refArray */ 65 int refSize; /* size of refArray */
66 int refFree; /* list of free positions in refArray */ 66 int refFree; /* list of free positions in refArray */
67 unsigned long GCthreshold; 67 unsigned long GCthreshold;
68 unsigned long nblocks; /* number of `blocks' currently allocated */ 68 unsigned long nblocks; /* number of `bytes' currently allocated */
69 lua_Hook callhook; 69 lua_Hook callhook;
70 lua_Hook linehook; 70 lua_Hook linehook;
71 int allowhooks; 71 int allowhooks;