aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-12 14:23:12 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-12 14:23:12 -0300
commit8e4ac679ffce4a2d59b0a404473275411854f598 (patch)
tree8758db19adc160f2366d40f2d39287611a3d4279 /lua.c
parent221b5be7b78dc401d4fac49df534f7ff68c04d58 (diff)
downloadlua-8e4ac679ffce4a2d59b0a404473275411854f598.tar.gz
lua-8e4ac679ffce4a2d59b0a404473275411854f598.tar.bz2
lua-8e4ac679ffce4a2d59b0a404473275411854f598.zip
use a linear count for count hook
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.c b/lua.c
index d662e485..643e8e79 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.c,v 1.100 2002/08/07 20:54:17 roberto Exp roberto $ 2** $Id: lua.c,v 1.101 2002/08/08 20:08:41 roberto Exp roberto $
3** Lua stand-alone interpreter 3** Lua stand-alone interpreter
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -45,7 +45,7 @@ static const char *progname;
45 45
46 46
47static lua_Hook old_hook = NULL; 47static lua_Hook old_hook = NULL;
48static int old_mask = 0; 48static unsigned long old_mask = 0;
49 49
50 50
51static void lstop (lua_State *l, lua_Debug *ar) { 51static void lstop (lua_State *l, lua_Debug *ar) {