summaryrefslogtreecommitdiffstats
path: root/External/lua-5.2.3/src/lapi.h
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-09-18 03:04:39 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-09-18 03:04:39 +0000
commit2f416d13847293675eb69aece1caa86033b6c892 (patch)
treefeae7adec76b1dfd1b9733e6a8efd8bed5d9542e /External/lua-5.2.3/src/lapi.h
parentUpdated copyright notice (diff)
downloadDiligentTools-2f416d13847293675eb69aece1caa86033b6c892.tar.gz
DiligentTools-2f416d13847293675eb69aece1caa86033b6c892.zip
Moved third party components from External to ThirdParty folder
Diffstat (limited to 'External/lua-5.2.3/src/lapi.h')
-rw-r--r--External/lua-5.2.3/src/lapi.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/External/lua-5.2.3/src/lapi.h b/External/lua-5.2.3/src/lapi.h
deleted file mode 100644
index c7d34ad..0000000
--- a/External/lua-5.2.3/src/lapi.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-** $Id: lapi.h,v 2.7.1.1 2013/04/12 18:48:47 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