MCPcopy Create free account
hub / github.com/axmolengine/axmol / lua_iscfunction

Function lua_iscfunction

3rdparty/lua/plainlua/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 11

checkMethod · 0.85
checkMethod · 0.85
push_environment_ofFunction · 0.85
check_function_pointerFunction · 0.85
set_onMethod · 0.85
module_index_eventFunction · 0.85
module_newindex_eventFunction · 0.85
class_table_get_indexFunction · 0.85
class_index_eventFunction · 0.85
class_newindex_eventFunction · 0.85
db_upvaluejoinFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected