aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-08 17:10:05 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-08 17:10:05 -0300
commitf8df21bd2071c4e3729d37d1552f54ca2742551a (patch)
tree6d85e7fd9f86bfb6879c0edd60780b1f40325027 /lapi.c
parentd3902cfa81021bca0a8c30b3ad79a1e2367f6621 (diff)
downloadlua-f8df21bd2071c4e3729d37d1552f54ca2742551a.tar.gz
lua-f8df21bd2071c4e3729d37d1552f54ca2742551a.tar.bz2
lua-f8df21bd2071c4e3729d37d1552f54ca2742551a.zip
`luaconf.h´ exports all its definitions always (so all of them
must have a lua/LUA prefix).
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 23488256..02d8e62d 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.28 2005/02/23 17:30:22 roberto Exp roberto $ 2** $Id: lapi.c,v 2.29 2005/03/08 18:09:16 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) {
95LUA_API int lua_checkstack (lua_State *L, int size) { 95LUA_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) > MAXCSTACK) 98 if ((L->top - L->base + size) > LUAC_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);