MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaS_createlngstrobj

Function luaS_createlngstrobj

3rd/lua-5.4.3/src/lstring.c:157–161  ·  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 return ts;
161}
162
163
164void luaS_remove (lua_State *L, TString *ts) {

Callers 3

luaV_concatFunction · 0.85
loadStringNFunction · 0.85
luaS_newlstrFunction · 0.85

Calls 1

createstrobjFunction · 0.85

Tested by

no test coverage detected