From 8ad725429292be22086d51df285907742be7a91a Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 2 Jul 2023 17:44:24 +0300 Subject: LuaJIT compatibility. --- include/lapi.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 include/lapi.h (limited to 'include/lapi.h') diff --git a/include/lapi.h b/include/lapi.h deleted file mode 100644 index 8e16ad5..0000000 --- a/include/lapi.h +++ /dev/null @@ -1,24 +0,0 @@ -/* -** $Id: lapi.h,v 2.9.1.1 2017/04/19 17:20:42 roberto Exp $ -** Auxiliary functions from Lua API -** See Copyright Notice in lua.h -*/ - -#ifndef lapi_h -#define lapi_h - - -#include "llimits.h" -#include "lstate.h" - -#define api_incr_top(L) {L->top++; api_check(L, 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), \ - "not enough elements in the stack") - - -#endif -- cgit v1.2.3