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

Function luaS_new

third-party/lua-5.2.4/src/lstring.c:170–172  ·  view source on GitHub ↗

** new zero-terminated string */

Source from the content-addressed store, hash-verified

168** new zero-terminated string
169*/
170TString *luaS_new (lua_State *L, const char *str) {
171 return luaS_newlstr(L, str, strlen(str));
172}
173
174
175Udata *luaS_newudata (lua_State *L, size_t s, Table *e) {

Callers 12

luaX_initFunction · 0.70
luaX_setinputFunction · 0.70
luaT_initFunction · 0.70
breaklabelFunction · 0.70
gotostatFunction · 0.70
luaY_parserFunction · 0.70
resume_errorFunction · 0.70
lua_pushstringFunction · 0.70
lua_getglobalFunction · 0.70
lua_getfieldFunction · 0.70
lua_setglobalFunction · 0.70
lua_setfieldFunction · 0.70

Calls 1

luaS_newlstrFunction · 0.70

Tested by

no test coverage detected