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

Function lua_isstring

depends/lua/src/lapi.c:283–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282
283LUA_API int lua_isstring (lua_State *L, int idx) {
284 const TValue *o = index2addr(L, idx);
285 return (ttisstring(o) || cvt2str(o));
286}
287
288
289LUA_API int lua_isuserdata (lua_State *L, int idx) {

Callers 13

convert_to_exceptionFunction · 0.85
get_one_widgetFunction · 0.85
get_object_identityMethod · 0.85
generic_readerFunction · 0.85
add_valueFunction · 0.85
luaL_tolstringFunction · 0.85
addfieldFunction · 0.85
findloaderFunction · 0.85
collect_settingsMethod · 0.85
get_burrowFunction · 0.85
tiles_set_add_removeFunction · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected