From 8e4ac679ffce4a2d59b0a404473275411854f598 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 12 Aug 2002 14:23:12 -0300 Subject: use a linear count for count hook --- lstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index c5001f7b..372f2b37 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.92 2002/08/06 18:01:50 roberto Exp roberto $ +** $Id: lstate.h,v 1.93 2002/08/07 19:22:39 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -151,7 +151,7 @@ struct lua_State { CallInfo *end_ci; /* points after end of ci array*/ CallInfo *base_ci; /* array of CallInfo's */ int size_ci; /* size of array `base_ci' */ - int hookmask; + unsigned long hookmask; ls_count hookcount; lua_Hook hook; UpVal *openupval; /* list of open upvalues in this stack */ -- cgit v1.2.3-55-g6feb