Compare two strings
| 188 | |
| 189 | // Compare two strings |
| 190 | PUGI__FN bool strequal(const char_t* src, const char_t* dst) |
| 191 | { |
| 192 | assert(src && dst); |
| 193 | |
| 194 | #ifdef PUGIXML_WCHAR_MODE |
| 195 | return wcscmp(src, dst) == 0; |
| 196 | #else |
| 197 | return strcmp(src, dst) == 0; |
| 198 | #endif |
| 199 | } |
| 200 | |
| 201 | // Compare lhs with [rhs_begin, rhs_end) |
| 202 | PUGI__FN bool strequalrange(const char_t* lhs, const char_t* rhs, size_t count) |
no outgoing calls
no test coverage detected