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

Function luaS_createlngstrobj

third-party/lua-5.4.6/src/lstring.c:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155
156
157TString *luaS_createlngstrobj (lua_State *L, size_t l) {
158 TString *ts = createstrobj(L, l, LUA_VLNGSTR, G(L)->seed);
159 ts->u.lnglen = l;
160 ts->shrlen = 0xFF; /* signals that it is a long string */
161 return ts;
162}
163
164
165void luaS_remove (lua_State *L, TString *ts) {

Callers 3

luaV_concatFunction · 0.70
loadStringNFunction · 0.70
luaS_newlstrFunction · 0.70

Calls 1

createstrobjFunction · 0.70

Tested by

no test coverage detected