Searched refs:api_check (Results 1 – 5 of 5) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | lapi.c | 88 api_check(L, o < L->top, "unacceptable index"); in index2stack() 93 api_check(L, !ispseudo(idx), "invalid index"); in index2stack() 104 api_check(L, n >= 0, "negative 'n'"); in lua_checkstack() 254 api_check(L, isvalid(L, to), "invalid index"); in lua_copy() 357 default: api_check(L, 0, "invalid option"); in lua_compare() 582 api_check(L, n <= MAXUPVAL, "upvalue index too large"); in lua_pushcclosure() 721 api_check(L, ttistable(t), "table expected"); in gettable() 1001 api_check(L, k == NULL || !isLua(L->ci), in lua_callk() 1042 api_check(L, k == NULL || !isLua(L->ci), in lua_pcallk() 1413 api_check(L, ttisLclosure(fi), "Lua function expected"); in getupvalref() [all …]
|
A D | lapi.h | 16 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \ 30 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
|
A D | llimits.h | 113 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
|
A D | ldo.c | 827 api_check(L, nresults == 0, "hooks cannot yield values"); in lua_yieldk() 828 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
|
A D | ldebug.c | 391 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
|
Completed in 13 milliseconds