MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / lua_iscfunction

Function lua_iscfunction

Dependencies/lua/src/lapi.c:297–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295
296
297LUA_API int lua_iscfunction (lua_State *L, int idx) {
298 const TValue *o = index2value(L, idx);
299 return (ttislcf(o) || (ttisCclosure(o)));
300}
301
302
303LUA_API int lua_isinteger (lua_State *L, int idx) {

Callers 12

check_function_pointerFunction · 0.85
push_environment_ofFunction · 0.85
checkMethod · 0.85
checkMethod · 0.85
set_onMethod · 0.85
listcodeFunction · 0.85
printcodeFunction · 0.85
listkFunction · 0.85
listabslineinfoFunction · 0.85
listlocalsFunction · 0.85
runCFunction · 0.85
db_upvaluejoinFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by 6

listcodeFunction · 0.68
printcodeFunction · 0.68
listkFunction · 0.68
listabslineinfoFunction · 0.68
listlocalsFunction · 0.68
runCFunction · 0.68