MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / wcsupper

Function wcsupper

Libraries/unrar/unicode.cpp:505–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503
504#ifndef SFX_MODULE
505wchar* wcsupper(wchar *s)
506{
507#ifdef _WIN_ALL
508 // _wcsupr requires setlocale and we do not want to depend on setlocale
509 // in Windows. Also CharUpper involves less overhead.
510 CharUpper(s);
511#else
512 for (wchar *c=s;*c!=0;c++)
513 *c=towupper(*c);
514#endif
515 return s;
516}
517#endif
518
519

Callers 2

ParseArgMethod · 0.85
ConvertNameCaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected