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

Function luaX_newstring

third-party/lua-5.5.0/src/llex.c:156–158  ·  view source on GitHub ↗

** Creates a new string and anchors it in scanner's table. */

Source from the content-addressed store, hash-verified

154** Creates a new string and anchors it in scanner's table.
155*/
156TString *luaX_newstring (LexState *ls, const char *str, size_t l) {
157 return anchorstr(ls, luaS_newlstr(ls->L, str, l));
158}
159
160
161/*

Callers 2

read_long_stringFunction · 0.70
read_stringFunction · 0.70

Calls 2

anchorstrFunction · 0.85
luaS_newlstrFunction · 0.70

Tested by

no test coverage detected