MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / lua_pushlstring

Function lua_pushlstring

Source/ThirdParty/luaJIT/src/lj_api.c:583–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583LUA_API void lua_pushlstring(lua_State *L, const char *str, size_t len)
584{
585 GCstr *s;
586 lj_gc_check(L);
587 s = lj_str_new(L, str, len);
588 setstrV(L, L->top, s);
589 incr_top(L);
590}
591
592LUA_API void lua_pushstring(lua_State *L, const char *str)
593{

Callers 10

push_onecaptureFunction · 0.70
add_valueFunction · 0.70
runcmdoptFunction · 0.70
dojitcmdFunction · 0.70
LJLIB_RECFunction · 0.70
luaL_findtableFunction · 0.70
emptybufferFunction · 0.70
pushnexttemplateFunction · 0.70
modinitFunction · 0.70

Calls 1

lj_str_newFunction · 0.85

Tested by

no test coverage detected