MCPcopy Create free account
hub / github.com/ZDoom/Raze / CompareClassNames

Function CompareClassNames

source/common/scripting/core/imports.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55template <typename Desc>
56static int CompareClassNames(const char* const aname, const Desc& b)
57{
58 // ++ to get past the prefix letter of the native class name, which gets omitted by the FName for the class.
59 const char* bname = b.ClassName;
60 if ('\0' != *bname) ++bname;
61 return stricmp(aname, bname);
62}
63
64template <typename Desc>
65static int CompareClassNames(const Desc& a, const Desc& b)

Callers 4

FindFunctionFunction · 0.85
FindFieldFunction · 0.85
funccmpFunction · 0.85
fieldcmpFunction · 0.85

Calls 1

stricmpFunction · 0.85

Tested by

no test coverage detected