MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaS_new

Function luaS_new

freebsd/contrib/openzfs/module/lua/lstring.c:171–173  ·  view source on GitHub ↗

** new zero-terminated string */

Source from the content-addressed store, hash-verified

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

Callers 15

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

Calls 1

luaS_newlstrFunction · 0.70

Tested by

no test coverage detected