MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaS_createlngstrobj

Function luaS_createlngstrobj

lib/lua/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.85
loadStringNFunction · 0.85
luaS_newlstrFunction · 0.85

Calls 2

createstrobjFunction · 0.85
GFunction · 0.50

Tested by

no test coverage detected