MCPcopy Create free account
hub / github.com/DFHack/dfhack / luaS_createlngstrobj

Function luaS_createlngstrobj

depends/lua/src/lstring.c:147–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145
146
147TString *luaS_createlngstrobj (lua_State *L, size_t l) {
148 TString *ts = createstrobj(L, l, LUA_TLNGSTR, G(L)->seed);
149 ts->u.lnglen = l;
150 return ts;
151}
152
153
154void luaS_remove (lua_State *L, TString *ts) {

Callers 3

luaV_concatFunction · 0.85
LoadStringFunction · 0.85
luaS_newlstrFunction · 0.85

Calls 1

createstrobjFunction · 0.85

Tested by

no test coverage detected