diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-12 14:23:12 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-12 14:23:12 -0300 |
| commit | 8e4ac679ffce4a2d59b0a404473275411854f598 (patch) | |
| tree | 8758db19adc160f2366d40f2d39287611a3d4279 /lua.c | |
| parent | 221b5be7b78dc401d4fac49df534f7ff68c04d58 (diff) | |
| download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
| 47 | static lua_Hook old_hook = NULL; | 47 | static lua_Hook old_hook = NULL; |
| 48 | static int old_mask = 0; | 48 | static unsigned long old_mask = 0; |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | static void lstop (lua_State *l, lua_Debug *ar) { | 51 | static void lstop (lua_State *l, lua_Debug *ar) { |
