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

Function f_newext

third-party/lua-5.5.0/src/lstring.c:311–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310
311static void f_newext (lua_State *L, void *ud) {
312 struct NewExt *ne = cast(struct NewExt *, ud);
313 size_t size = luaS_sizelngstr(0, ne->kind);
314 ne->ts = createstrobj(L, size, LUA_VLNGSTR, G(L)->seed);
315}
316
317
318TString *luaS_newextlstr (lua_State *L,

Callers 1

luaS_newextlstrFunction · 0.85

Calls 2

luaS_sizelngstrFunction · 0.85
createstrobjFunction · 0.70

Tested by

no test coverage detected