diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-11 09:45:00 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-11 09:45:00 -0300 |
| commit | 71c716e5a88a6993369505c79cd1383ef27366c4 (patch) | |
| tree | c8b32cf297e5a6faca854c527fd9ea2056f615db /ldo.c | |
| parent | 51ad2f11623c25874b6a0e721e0597df784068ff (diff) | |
| download | lua-71c716e5a88a6993369505c79cd1383ef27366c4.tar.gz lua-71c716e5a88a6993369505c79cd1383ef27366c4.tar.bz2 lua-71c716e5a88a6993369505c79cd1383ef27366c4.zip | |
avoid C identifiers beginning with '_'
Diffstat (limited to 'ldo.c')
| -rw-r--r-- | ldo.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.c,v 1.161 2002/03/07 18:14:29 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.162 2002/03/08 19:11:03 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 | */ |
| @@ -124,7 +124,7 @@ void luaD_lineHook (lua_State *L, int line, lua_Hook linehook) { | |||
| 124 | if (L->allowhooks) { | 124 | if (L->allowhooks) { |
| 125 | lua_Debug ar; | 125 | lua_Debug ar; |
| 126 | ar.event = "line"; | 126 | ar.event = "line"; |
| 127 | ar._ci = L->ci - L->base_ci; | 127 | ar.i_ci = L->ci - L->base_ci; |
| 128 | ar.currentline = line; | 128 | ar.currentline = line; |
| 129 | dohook(L, &ar, linehook); | 129 | dohook(L, &ar, linehook); |
| 130 | } | 130 | } |
| @@ -135,7 +135,7 @@ static void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event) { | |||
| 135 | if (L->allowhooks) { | 135 | if (L->allowhooks) { |
| 136 | lua_Debug ar; | 136 | lua_Debug ar; |
| 137 | ar.event = event; | 137 | ar.event = event; |
| 138 | ar._ci = L->ci - L->base_ci; | 138 | ar.i_ci = L->ci - L->base_ci; |
| 139 | L->ci->pc = NULL; /* function is not active */ | 139 | L->ci->pc = NULL; /* function is not active */ |
| 140 | dohook(L, &ar, callhook); | 140 | dohook(L, &ar, callhook); |
| 141 | } | 141 | } |
