MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / luaS_new

Function luaS_new

CPPScripts/External/Lua/lstring.c:241–255  ·  view source on GitHub ↗

** Create or reuse a zero-terminated string, first checking in the ** cache (using the string address as a key). The cache can contain ** only zero-terminated strings, so it is safe to use 'strcmp' to ** check hits. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

luaX_initFunction · 0.85
luaT_initFunction · 0.85
luaT_objtypenameFunction · 0.85
luaY_parserFunction · 0.85
resume_errorFunction · 0.85
lua_pushlstringFunction · 0.85
lua_pushstringFunction · 0.85
auxgetstrFunction · 0.85
auxsetstrFunction · 0.85

Calls 1

luaS_newlstrFunction · 0.85

Tested by

no test coverage detected