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

Function find_substring

Tools/EditorFramework/pugixml.cpp:6692–6700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6690}
6691
6692PUGI__FN const char_t* find_substring(const char_t* s, const char_t* p)
6693{
6694 #ifdef PUGIXML_WCHAR_MODE
6695 // MSVC6 wcsstr bug workaround (if s is empty it always returns 0)
6696 return (*p == 0) ? s : wcsstr(s, p);
6697 #else
6698 return strstr(s, p);
6699 #endif
6700}
6701
6702// Converts symbol to lower case, if it is an ASCII one
6703PUGI__FN char_t tolower_ascii(char_t ch)

Callers 2

eval_booleanMethod · 0.70
eval_stringMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected