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

Function tolowerw

Libraries/unrar/unicode.cpp:536–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534
535
536int tolowerw(int ch)
537{
538#if defined(_WIN_ALL)
539 // CharLower is more reliable than towlower in Windows.
540 // See comment for towupper above. Use 0xffff mask to prevent crash
541 // if value larger than 0xffff is passed to this function.
542 return (int)(INT_PTR)CharLower((wchar *)(INT_PTR)(ch&0xffff));
543#else
544 return towlower(ch);
545#endif
546}
547
548
549int atoiw(const wchar *s)

Callers 1

wcscasestrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected