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

Function widen_ascii

Tools/EditorFramework/pugixml.cpp:237–242  ·  view source on GitHub ↗

Convert string to wide string, assuming all symbols are ASCII

Source from the content-addressed store, hash-verified

235#ifdef PUGIXML_WCHAR_MODE
236// Convert string to wide string, assuming all symbols are ASCII
237PUGI__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
244PUGI__NS_END
245

Callers 1

set_value_bufferFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected