using 'L->func' when possible
This commit is contained in:
4
lapi.h
4
lapi.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lapi.h,v 2.8 2014/07/15 21:26:50 roberto Exp roberto $
|
||||
** $Id: lapi.h,v 2.9 2015/03/06 19:49:50 roberto Exp roberto $
|
||||
** Auxiliary functions from Lua API
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -17,7 +17,7 @@
|
||||
#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(L, (n) < (L->top - L->func), \
|
||||
"not enough elements in the stack")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user