Searched refs:lua_isfunction (Results 1 – 4 of 4) sorted by relevance
155 if (lua_isfunction(L, arg + 1)) { /* info about a function? */ in db_getinfo()203 if (lua_isfunction(L, arg + 1)) { /* function argument? */ in db_getlocal()
548 if (lua_isfunction(L, -2)) /* did it find a loader? */ in findloader()612 if (lua_isfunction(L, i)) { /* avoid 'calling' extra info. */ in dooptions()
385 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION) macro
420 return lua_isfunction(_pimpl->lua_state, index); in is_function()