summaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
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);