diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 14:19:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 14:19:48 -0300 |
commit | 556a89e53751135f45d8dd1e84651461b67e1f81 (patch) | |
tree | 85c4d8486d53e534100c4b8c9ab30c6990585496 /lua.c | |
parent | e2c60eda16d4aff7ea42513ba7c4d33ac45d9e99 (diff) | |
download | lua-556a89e53751135f45d8dd1e84651461b67e1f81.tar.gz lua-556a89e53751135f45d8dd1e84651461b67e1f81.tar.bz2 lua-556a89e53751135f45d8dd1e84651461b67e1f81.zip |
new names for debug types
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.34 2000/03/03 14:58:26 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.35 2000/03/20 20:27:32 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 | */ |
@@ -30,8 +30,8 @@ typedef void (*handler)(int); /* type for signal actions */ | |||
30 | static void laction (int i); | 30 | static void laction (int i); |
31 | 31 | ||
32 | 32 | ||
33 | static lua_Dbghook old_linehook = NULL; | 33 | static lua_Hook old_linehook = NULL; |
34 | static lua_Dbghook old_callhook = NULL; | 34 | static lua_Hook old_callhook = NULL; |
35 | 35 | ||
36 | 36 | ||
37 | static handler lreset (void) { | 37 | static handler lreset (void) { |
@@ -51,8 +51,8 @@ static void laction (int i) { | |||
51 | (void)i; /* to avoid warnings */ | 51 | (void)i; /* to avoid warnings */ |
52 | signal(SIGINT, SIG_DFL); /* if another SIGINT happens before lstop, | 52 | signal(SIGINT, SIG_DFL); /* if another SIGINT happens before lstop, |
53 | terminate process (default action) */ | 53 | terminate process (default action) */ |
54 | old_linehook = lua_setlinehook(lua_state, (lua_Dbghook)lstop); | 54 | old_linehook = lua_setlinehook(lua_state, (lua_Hook)lstop); |
55 | old_callhook = lua_setcallhook(lua_state, (lua_Dbghook)lstop); | 55 | old_callhook = lua_setcallhook(lua_state, (lua_Hook)lstop); |
56 | } | 56 | } |
57 | 57 | ||
58 | 58 | ||