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

Function lua_pushlstring

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

Source from the content-addressed store, hash-verified

443
444
445LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len) {
446 lua_lock(L);
447 luaC_checkGC(L);
448 setsvalue2s(L, L->top, luaS_newlstr(L, s, len));
449 api_incr_top(L);
450 lua_unlock(L);
451}
452
453
454LUA_API void lua_pushstring (lua_State *L, const char *s) {

Callers 15

str_subFunction · 0.70
push_onecaptureFunction · 0.70
add_valueFunction · 0.70
b_unpackFunction · 0.70
luaL_findtableFunction · 0.70
emptybufferFunction · 0.70
json_encodeFunction · 0.70
json_process_valueFunction · 0.70
bit_tohexFunction · 0.70
mp_packFunction · 0.70
lua_cmsgpack.cFile · 0.70

Calls 1

luaS_newlstrFunction · 0.70

Tested by 1

test_eofFunction · 0.56