MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_type

Function lua_type

lua/lapi.c:243–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

luaB_setmetatableFunction · 0.85
luaB_typeFunction · 0.85
luaB_selectFunction · 0.85
luaB_tostringFunction · 0.85
add_valueFunction · 0.85
str_gsubFunction · 0.85
luabb_type_err_intFunction · 0.85
luabb_isnullFunction · 0.85
luabb_istypedFunction · 0.85
l_typed_assignmentFunction · 0.85
luabb_dumpcstack_Function · 0.85
luabb_typeFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected