MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_pushstring

Function lua_pushstring

app/redis-6.2.6/deps/lua/src/lapi.c:454–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452
453
454LUA_API void lua_pushstring (lua_State *L, const char *s) {
455 if (s == NULL)
456 lua_pushnil(L);
457 else
458 lua_pushlstring(L, s, strlen(s));
459}
460
461
462LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt,

Callers 15

luaL_openlibsFunction · 0.70
getargsFunction · 0.70
dolibraryFunction · 0.70
pushlineFunction · 0.70
luaB_typeFunction · 0.70
luaB_tostringFunction · 0.70
luaB_costatusFunction · 0.70
luaL_getmetafieldFunction · 0.70
json_enum_optionFunction · 0.70
ll_loadFunction · 0.70
ll_symFunction · 0.70
pusherrorFunction · 0.70

Calls 2

lua_pushnilFunction · 0.70
lua_pushlstringFunction · 0.70

Tested by

no test coverage detected