diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-12-03 18:50:25 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-12-03 18:50:25 -0200 |
commit | c78940f21a956064ac79f715af072e283538f35c (patch) | |
tree | 5a879991ef8d68bbfd437f35ab1da8b761bf9f14 /ldo.c | |
parent | 8b239eeba13877955b976ccd119ada038b67fa59 (diff) | |
download | lua-c78940f21a956064ac79f715af072e283538f35c.tar.gz lua-c78940f21a956064ac79f715af072e283538f35c.tar.bz2 lua-c78940f21a956064ac79f715af072e283538f35c.zip |
static names do not need `luaX_' prefix
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 2.11 2004/09/22 12:37:52 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.12 2004/12/01 15:52:54 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 | */ |
@@ -147,7 +147,7 @@ void luaD_growstack (lua_State *L, int n) { | |||
147 | } | 147 | } |
148 | 148 | ||
149 | 149 | ||
150 | static CallInfo *luaD_growCI (lua_State *L) { | 150 | static CallInfo *growCI (lua_State *L) { |
151 | if (L->size_ci > LUA_MAXCALLS) /* overflow while handling overflow? */ | 151 | if (L->size_ci > LUA_MAXCALLS) /* overflow while handling overflow? */ |
152 | luaD_throw(L, LUA_ERRERR); | 152 | luaD_throw(L, LUA_ERRERR); |
153 | else { | 153 | else { |
@@ -238,7 +238,7 @@ static StkId tryfuncTM (lua_State *L, StkId func) { | |||
238 | 238 | ||
239 | 239 | ||
240 | #define inc_ci(L) \ | 240 | #define inc_ci(L) \ |
241 | ((L->ci == L->end_ci) ? luaD_growCI(L) : \ | 241 | ((L->ci == L->end_ci) ? growCI(L) : \ |
242 | (condhardstacktests(luaD_reallocCI(L, L->size_ci)), ++L->ci)) | 242 | (condhardstacktests(luaD_reallocCI(L, L->size_ci)), ++L->ci)) |
243 | 243 | ||
244 | 244 | ||