MCPcopy Create free account
hub / github.com/WinMerge/winmerge / IsLeadByte

Function IsLeadByte

Src/stringdiffs.cpp:771–778  ·  view source on GitHub ↗

Does character introduce a multicharacter character? */

Source from the content-addressed store, hash-verified

769
770/** Does character introduce a multicharacter character? */
771static inline bool IsLeadByte(tchar_t ch)
772{
773#ifdef UNICODE
774 return false;
775#else
776 return _getmbcp() && IsDBCSLeadByte(ch);
777#endif
778}
779
780/**
781 * @brief Is it whitespace (excludes all lead & trail bytes)?

Callers 1

isSafeWhitespaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected