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

Function luaS_eqstr

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

** equality for strings */

Source from the content-addressed store, hash-verified

43** equality for strings
44*/
45int luaS_eqstr (TString *a, TString *b) {
46 return (a->tsv.tt == b->tsv.tt) &&
47 (a->tsv.tt == LUA_TSHRSTR ? eqshrstr(a, b) : luaS_eqlngstr(a, b));
48}
49
50
51unsigned int luaS_hash (const char *str, size_t l, unsigned int seed) {

Callers 6

searchupvalueFunction · 0.70
searchvarFunction · 0.70
closegotoFunction · 0.70
findlabelFunction · 0.70
findgotosFunction · 0.70
checkrepeatedFunction · 0.70

Calls 1

luaS_eqlngstrFunction · 0.70

Tested by

no test coverage detected