Searched refs:api_check (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/external/mit/lua/dist/src/
H A Dlapi.h19 api_check(L, L->top.p <= L->ci->top.p, \
35 api_check(L, (n) < (L->top.p - L->ci->func.p), \
H A Dlapi.c70 api_check(L, idx <= ci->top.p - (ci->func.p + 1), "unacceptable index");
75 api_check(L, idx != 0 && -idx <= L->top.p - (ci->func.p + 1),
83 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large");
90 api_check(L, ttislcf(s2v(ci->func.p)), "caller not a C function");
105 api_check(L, o < L->top.p, "invalid index");
109 api_check(L, idx != 0 && -idx <= L->top.p - (ci->func.p + 1),
111 api_check(L, !ispseudo(idx), "invalid index");
122 api_check(L, n >= 0, "negative 'n'");
139 api_check(from, G(from) == G(to), "moving among independent states");
140 api_check(fro
[all...]
H A Dllimits.h132 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
H A Dldo.c892 api_check(L, nresults == 0, "hooks cannot yield values");
893 api_check(L, k == NULL, "hooks cannot continue after yielding");
H A Dldebug.c396 api_check(L, ttisfunction(func), "function expected");

Completed in 89 milliseconds