summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lua/src/lapi.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/lua/src/lapi.h')
-rw-r--r--3rdparty/lua/src/lapi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/lua/src/lapi.h b/3rdparty/lua/src/lapi.h
index c7d34ad8486..092f5e974cb 100644
--- a/3rdparty/lua/src/lapi.h
+++ b/3rdparty/lua/src/lapi.h
@@ -1,5 +1,5 @@
/*
-** $Id: lapi.h,v 2.7.1.1 2013/04/12 18:48:47 roberto Exp $
+** $Id: lapi.h,v 2.8 2014/07/15 21:26:50 roberto Exp $
** Auxiliary functions from Lua API
** See Copyright Notice in lua.h
*/
@@ -11,13 +11,13 @@
#include "llimits.h"
#include "lstate.h"
-#define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
+#define api_incr_top(L) {L->top++; api_check(L->top <= L->ci->top, \
"stack overflow");}
#define adjustresults(L,nres) \
{ if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
-#define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
+#define api_checknelems(L,n) api_check((n) < (L->top - L->ci->func), \
"not enough elements in the stack")