MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Compare

Method Compare

Source/Engine/Platform/Unix/UnixStringUtils.cpp:112–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112int32 StringUtils::Compare(const Char* str1, const Char* str2)
113{
114 Char c1, c2;
115 int32 i;
116 do
117 {
118 c1 = *str1++;
119 c2 = *str2++;
120 i = (int32)c1 - (int32)c2;
121 } while (i == 0 && c1 && c2);
122 return i;
123}
124
125int32 StringUtils::Compare(const Char* str1, const Char* str2, int32 maxCount)
126{

Callers 5

DeleteDirWatcherFunction · 0.45
AreFilePathsEqualMethod · 0.45
FlashWindowMethod · 0.45
DoDragDropMethod · 0.45
InitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected