/
niceSOFT
/
lua
Обзор
Документация
Войти
/
niceSOFT
/
lua
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.3.0
lapi.h
24 строки
543 B
Roberto Ierusalimschy
removed unused parameter Ä'L' in macro 'api_check' and company
16 июл 2014, 01:26
16 июл 2014, 01:26
5bbb4a0
Код
Авторство
О чём код?
/* ** $Id: lapi.h,v 2.7 2009/11/27 15:37:59 roberto Exp roberto $ ** 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->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((n) < (L->top - L->ci->func), \ "not enough elements in the stack") #endif