| 6914 | } |
| 6915 | |
| 6916 | PUGI__FN const char_t* find_substring(const char_t* s, const char_t* p) |
| 6917 | { |
| 6918 | #ifdef PUGIXML_WCHAR_MODE |
| 6919 | // MSVC6 wcsstr bug workaround (if s is empty it always returns 0) |
| 6920 | return (*p == 0) ? s : wcsstr(s, p); |
| 6921 | #else |
| 6922 | return strstr(s, p); |
| 6923 | #endif |
| 6924 | } |
| 6925 | |
| 6926 | // Converts symbol to lower case, if it is an ASCII one |
| 6927 | PUGI__FN char_t tolower_ascii(char_t ch) |
no outgoing calls
no test coverage detected