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

Function luabb_pushinteger

lua/ltypes.c:2097–2102  ·  view source on GitHub ↗

Convenience routines */

Source from the content-addressed store, hash-verified

2095
2096/* Convenience routines */
2097void luabb_pushinteger(lua_State *lua, long long ival) {
2098 lua_int_t *i;
2099 l_int_new(lua);
2100 i = (lua_int_t*) lua_topointer(lua, -1);
2101 i->val = ival;
2102}
2103
2104static int l_decimal_new(Lua);
2105void luabb_pushdecimal(lua_State *lua, const decQuad *val)

Callers 8

luabb_typeconvert_intFunction · 0.85
lua_sql_stepFunction · 0.85
push_i32_arrayFunction · 0.85
push_i64_arrayFunction · 0.85
push_paramFunction · 0.85
push_trigger_args_intFunction · 0.85
sqlite_to_luaFunction · 0.85

Calls 2

l_int_newFunction · 0.85
lua_topointerFunction · 0.85

Tested by

no test coverage detected