MCPcopy Create free account
hub / github.com/DFHack/dfhack / lua_type

Function lua_type

depends/lua/src/lapi.c:251–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249
250
251LUA_API int lua_type (lua_State *L, int idx) {
252 StkId o = index2addr(L, idx);
253 return (isvalid(o) ? ttnov(o) : LUA_TNONE);
254}
255
256
257LUA_API const char *lua_typename (lua_State *L, int t) {

Callers 15

check_valid_ptr_indexFunction · 0.85
find_primitive_fieldFunction · 0.85
meta_primitive_indexFunction · 0.85
lookup_container_fieldFunction · 0.85
check_container_indexFunction · 0.85
get_char_fieldFunction · 0.85
dfhack_pen_newindexFunction · 0.85
screen_paintTileFunction · 0.85
checkaddrFunction · 0.85
internal_runCommandFunction · 0.85
msghandlerFunction · 0.85
luaB_tonumberFunction · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected