From b9e76be8a691ed83a716a85c6b85cb80f66cc480 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 1 Nov 2017 16:20:48 -0200 Subject: using 'L->func' when possible --- lapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lapi.h') diff --git a/lapi.h b/lapi.h index b39898eb..ce64a727 100644 --- a/lapi.h +++ b/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") -- cgit v1.2.3-55-g6feb