diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-01-19 10:00:45 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-01-19 10:00:45 -0200 |
commit | 2877bad4c260d11c22c3b12e633d6b1ca3415789 (patch) | |
tree | 2109684c4521c34b584bfd24e0eae05688c7fc32 /lstate.h | |
parent | 27163f032eed6b851b98a0ab67b1387d701e61c0 (diff) | |
download | lua-2877bad4c260d11c22c3b12e633d6b1ca3415789.tar.gz lua-2877bad4c260d11c22c3b12e633d6b1ca3415789.tar.bz2 lua-2877bad4c260d11c22c3b12e633d6b1ca3415789.zip |
new debug API (first version)
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.26 1999/12/21 18:04:41 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.27 1999/12/27 17:33:22 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -76,8 +76,8 @@ struct lua_State { | |||
76 | unsigned long GCthreshold; | 76 | unsigned long GCthreshold; |
77 | unsigned long nblocks; /* number of `blocks' currently allocated */ | 77 | unsigned long nblocks; /* number of `blocks' currently allocated */ |
78 | int debug; | 78 | int debug; |
79 | lua_CHFunction callhook; | 79 | lua_Dbghook callhook; |
80 | lua_LHFunction linehook; | 80 | lua_Dbghook linehook; |
81 | int allowhooks; | 81 | int allowhooks; |
82 | }; | 82 | }; |
83 | 83 | ||