From 3e41afcec550e8c5c3c4372f72efa48cbf7031a3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 27 Nov 2009 13:37:59 -0200 Subject: extra api checks for number of returns of C functions and for lua_yield --- lapi.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index 7850dcc2..694fdc35 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 2.99 2009/11/09 18:55:17 roberto Exp roberto $ +** $Id: lapi.c,v 2.100 2009/11/09 19:10:48 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -35,9 +35,6 @@ const char lua_ident[] = -#define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \ - "not enough elements in the stack") - #define api_checkvalidindex(L, i) api_check(L, (i) != luaO_nilobject, \ "invalid index") -- cgit v1.2.3-55-g6feb