From 5f698f8b6f7e5fb18e0a7386dc506b0d5b538e6b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Nov 2002 15:47:13 -0200 Subject: simpler interface to hooks + use of `int' to count hooks --- lstate.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 654ec6c1..2e184839 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.106 2002/11/22 17:16:52 roberto Exp roberto $ +** $Id: lstate.h,v 1.107 2002/11/22 18:01:46 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -143,8 +143,8 @@ struct lua_State { lu_byte hookmask; lu_byte allowhook; lu_byte hookinit; - ls_count basehookcount; - ls_count hookcount; + int basehookcount; + int hookcount; lua_Hook hook; TObject _gt; /* table of globals */ GCObject *openupval; /* list of open upvalues in this stack */ -- cgit v1.2.3-55-g6feb