Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ lua_toboolean
Function
lua_toboolean
freebsd/contrib/openzfs/module/lua/lapi.c:380–383 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
378
379
380
LUA_API int lua_toboolean (lua_State *L, int idx) {
381
const TValue *o = index2addr(L, idx);
382
return !l_isfalse(o);
383
}
384
385
386
LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
Callers
9
luaB_assert
Function · 0.70
str_find_aux
Function · 0.70
add_value
Function · 0.70
luaL_tolstring
Function · 0.70
sort_comp
Function · 0.70
zcp_table_to_nvlist
Function · 0.50
zcp_lua_to_nvlist_impl
Function · 0.50
zcp_synctask_destroy
Function · 0.50
zcp_synctask_wrapper
Function · 0.50
Calls
1
index2addr
Function · 0.85
Tested by
no test coverage detected