diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-09 13:28:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-09 13:28:07 -0300 |
commit | 370d31a5593220723d222dec6e3e4019decc3309 (patch) | |
tree | e04ad903d079da2feea0b1759e89b65d1a70815c /lapi.c | |
parent | f8df21bd2071c4e3729d37d1552f54ca2742551a (diff) | |
download | lua-370d31a5593220723d222dec6e3e4019decc3309.tar.gz lua-370d31a5593220723d222dec6e3e4019decc3309.tar.bz2 lua-370d31a5593220723d222dec6e3e4019decc3309.zip |
`luacĀ“ -> `luai' (to avoid confusion with other luac stuff)
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.29 2005/03/08 18:09:16 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.30 2005/03/08 20:10:05 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -95,7 +95,7 @@ void luaA_pushobject (lua_State *L, const TValue *o) { | |||
95 | LUA_API int lua_checkstack (lua_State *L, int size) { | 95 | LUA_API int lua_checkstack (lua_State *L, int size) { |
96 | int res; | 96 | int res; |
97 | lua_lock(L); | 97 | lua_lock(L); |
98 | if ((L->top - L->base + size) > LUAC_MAXCSTACK) | 98 | if ((L->top - L->base + size) > LUAI_MAXCSTACK) |
99 | res = 0; /* stack overflow */ | 99 | res = 0; /* stack overflow */ |
100 | else { | 100 | else { |
101 | luaD_checkstack(L, size); | 101 | luaD_checkstack(L, size); |