aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-25 15:47:13 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-25 15:47:13 -0200
commit5f698f8b6f7e5fb18e0a7386dc506b0d5b538e6b (patch)
tree30ae565e9ca884a66c3cca023d24950972e02b0b /lstate.h
parent9b1c586b2f5b86173bf0ceca8a0dd84510af9024 (diff)
downloadlua-5f698f8b6f7e5fb18e0a7386dc506b0d5b538e6b.tar.gz
lua-5f698f8b6f7e5fb18e0a7386dc506b0d5b538e6b.tar.bz2
lua-5f698f8b6f7e5fb18e0a7386dc506b0d5b538e6b.zip
simpler interface to hooks + use of `int' to count hooks
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lstate.h b/lstate.h
index 654ec6c1..2e184839 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.106 2002/11/22 17:16:52 roberto Exp roberto $ 2** $Id: lstate.h,v 1.107 2002/11/22 18:01:46 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*/
@@ -143,8 +143,8 @@ struct lua_State {
143 lu_byte hookmask; 143 lu_byte hookmask;
144 lu_byte allowhook; 144 lu_byte allowhook;
145 lu_byte hookinit; 145 lu_byte hookinit;
146 ls_count basehookcount; 146 int basehookcount;
147 ls_count hookcount; 147 int hookcount;
148 lua_Hook hook; 148 lua_Hook hook;
149 TObject _gt; /* table of globals */ 149 TObject _gt; /* table of globals */
150 GCObject *openupval; /* list of open upvalues in this stack */ 150 GCObject *openupval; /* list of open upvalues in this stack */