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

Function lua_pushstring

lua/lapi.c:461–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459
460
461LUA_API void lua_pushstring (lua_State *L, const char *s) {
462 if (s == NULL)
463 lua_pushnil(L);
464 else
465 lua_pushlstring(L, s, strlen(s));
466}
467
468
469LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt,

Callers 15

luaL_openlibsFunction · 0.85
getargsFunction · 0.85
dolibraryFunction · 0.85
pushlineFunction · 0.85
luaB_typeFunction · 0.85
luaB_tostringFunction · 0.85
luaB_costatusFunction · 0.85
get_date_valueFunction · 0.85
get_string_valueFunction · 0.85
l_cstring_tostringFunction · 0.85
init_cstringFunction · 0.85
l_datetime_tostring_intFunction · 0.85

Calls 2

lua_pushnilFunction · 0.85
lua_pushlstringFunction · 0.85

Tested by

no test coverage detected