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

Function luabb_pushreal

lua/ltypes.c:2154–2159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2152}
2153
2154void luabb_pushreal(lua_State *lua, double dval) {
2155 lua_real_t *i;
2156 l_real_new(lua);
2157 i = (lua_real_t*) lua_topointer(lua, -1);
2158 i->val = dval;
2159}
2160
2161int luabb_isnull(lua_State *lua, int arg_index)
2162{

Callers 6

luabb_typeconvert_intFunction · 0.85
lua_sql_stepFunction · 0.85
push_real_arrayFunction · 0.85
push_paramFunction · 0.85
sqlite_to_luaFunction · 0.85

Calls 2

l_real_newFunction · 0.85
lua_topointerFunction · 0.85

Tested by

no test coverage detected