Convert string to wide string, assuming all symbols are ASCII
| 235 | #ifdef PUGIXML_WCHAR_MODE |
| 236 | // Convert string to wide string, assuming all symbols are ASCII |
| 237 | PUGI__FN void widen_ascii(wchar_t* dest, const char* source) |
| 238 | { |
| 239 | for (const char* i = source; *i; ++i) |
| 240 | *dest++ = *i; |
| 241 | *dest = 0; |
| 242 | } |
| 243 | #endif |
| 244 | PUGI__NS_END |
| 245 |