From 44752fc9ce2588a9b402d335c87660a9ee28a157 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 8 Jul 2002 17:22:08 -0300 Subject: hook count is quadratic --- lstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 4f3290ef..ef47de36 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.86 2002/07/02 16:43:28 roberto Exp roberto $ +** $Id: lstate.h,v 1.87 2002/07/08 18:21:33 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -131,7 +131,7 @@ struct lua_State { CallInfo *base_ci; /* array of CallInfo's */ global_State *l_G; int hookmask; - int hookcount; + ls_count hookcount; lua_Hook hook; TObject globs[NUMGLOBS]; /* registry, table of globals, etc. */ struct lua_longjmp *errorJmp; /* current error recover point */ -- cgit v1.2.3-55-g6feb