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

Function luabb_isnull

lua/ltypes.c:2161–2169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2159}
2160
2161int luabb_isnull(lua_State *lua, int arg_index)
2162{
2163 int type = lua_type(lua, arg_index);
2164 if (type == LUA_TUSERDATA) {
2165 const lua_dbtypes_t *n = lua_topointer(lua, arg_index);
2166 return n->is_null;
2167 }
2168 return 0;
2169}
2170
2171int luabb_istyped(lua_State *lua, int arg_index)
2172{

Callers 8

l_interval_tostringFunction · 0.85
luabb_typeconvert_intFunction · 0.85
luaL_checkintegerFunction · 0.85
sp_column_nilFunction · 0.85
stmt_bind_intFunction · 0.85
db_csvcopyFunction · 0.85
db_isnullFunction · 0.85
lua_to_sqliteFunction · 0.85

Calls 2

lua_typeFunction · 0.85
lua_topointerFunction · 0.85

Tested by

no test coverage detected