MCPcopy Create free account
hub / github.com/crownengine/crown / lua_type

Function lua_type

3rdparty/lua/src/lapi.c:242–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240
241
242LUA_API int lua_type (lua_State *L, int idx) {
243 StkId o = index2adr(L, idx);
244 return (o == luaO_nilobject) ? LUA_TNONE : ttype(o);
245}
246
247
248LUA_API const char *lua_typename (lua_State *L, int t) {

Callers 15

luaB_setmetatableFunction · 0.70
luaB_selectFunction · 0.70
luaB_tostringFunction · 0.70
add_valueFunction · 0.70
str_gsubFunction · 0.70
luaL_checktypeFunction · 0.70
luaL_checkanyFunction · 0.70
checkintFunction · 0.70
maxnFunction · 0.70
lua_isstringFunction · 0.70
g_readFunction · 0.70
g_writeFunction · 0.70

Calls 1

index2adrFunction · 0.70

Tested by

no test coverage detected