MCPcopy Create free account
hub / github.com/MyGUI/mygui / strequal

Function strequal

Tools/EditorFramework/pugixml.cpp:214–223  ·  view source on GitHub ↗

Compare two strings

Source from the content-addressed store, hash-verified

212
213// Compare two strings
214PUGI__FN bool strequal(const char_t* src, const char_t* dst)
215{
216 assert(src && dst);
217
218#ifdef PUGIXML_WCHAR_MODE
219 return wcscmp(src, dst) == 0;
220#else
221 return strcmp(src, dst) == 0;
222#endif
223}
224
225// Compare lhs with [rhs_begin, rhs_end)
226PUGI__FN bool strequalrange(const char_t* lhs, const char_t* rhs, size_t count)

Callers 10

childMethod · 0.70
attributeMethod · 0.70
next_siblingMethod · 0.70
previous_siblingMethod · 0.70
operator==Function · 0.70
operator!=Function · 0.70
step_pushMethod · 0.70
findMethod · 0.70
addMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected