diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-09-02 17:00:41 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-09-02 17:00:41 -0300 |
| commit | 7c0ccdfd61f1611ff0f5f6899a7679916686fc65 (patch) | |
| tree | 843f9a7501112b801e90e53e8c3eb7496046b694 /ldo.c | |
| parent | 4964e7c8a0284a75a57cf591c3b3c77febaf40e6 (diff) | |
| download | lua-7c0ccdfd61f1611ff0f5f6899a7679916686fc65.tar.gz lua-7c0ccdfd61f1611ff0f5f6899a7679916686fc65.tar.bz2 lua-7c0ccdfd61f1611ff0f5f6899a7679916686fc65.zip | |
avoid the use of "enum" in the API, as they do not have a fixed representation
Diffstat (limited to 'ldo.c')
| -rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.c,v 1.192 2002/08/07 20:55:00 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.193 2002/08/30 19:09:21 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -151,7 +151,7 @@ static void luaD_growCI (lua_State *L) { | |||
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | 153 | ||
| 154 | void luaD_callhook (lua_State *L, lua_Hookevent event, int line) { | 154 | void luaD_callhook (lua_State *L, int event, int line) { |
| 155 | lua_Hook hook = L->hook; | 155 | lua_Hook hook = L->hook; |
| 156 | if (hook && allowhook(L)) { | 156 | if (hook && allowhook(L)) { |
| 157 | ptrdiff_t top = savestack(L, L->top); | 157 | ptrdiff_t top = savestack(L, L->top); |
