summaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-12-03 18:50:25 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-12-03 18:50:25 -0200
commitc78940f21a956064ac79f715af072e283538f35c (patch)
tree5a879991ef8d68bbfd437f35ab1da8b761bf9f14 /ldo.c
parent8b239eeba13877955b976ccd119ada038b67fa59 (diff)
downloadlua-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldo.c b/ldo.c
index e5f67d5e..3dcb5ba9 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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
150static CallInfo *luaD_growCI (lua_State *L) { 150static 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