MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_pushlstring

Function lua_pushlstring

third-party/lua-5.1.5/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 10

str_subFunction · 0.70
push_onecaptureFunction · 0.70
add_valueFunction · 0.70
luaL_findtableFunction · 0.70
emptybufferFunction · 0.70
pushnexttemplateFunction · 0.70
loader_CrootFunction · 0.70
modinitFunction · 0.70
lua_pushstringFunction · 0.70
test_eofFunction · 0.70

Calls 1

luaS_newlstrFunction · 0.70

Tested by 1

test_eofFunction · 0.56