MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IsPrintable

Function IsPrintable

src/string_func.h:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128inline bool IsPrintable(char32_t c)
129{
130 if (c < 0x20) return false;
131 if (c < 0xE000) return true;
132 if (c < 0xE200) return false;
133 return true;
134}
135
136/**
137 * Check whether UNICODE character is whitespace or not, i.e. whether

Callers 12

GetKeyboardLayoutFunction · 0.85
FindMissingGlyphsMethod · 0.85
NextLineMethod · 0.85
GetLayouterFunction · 0.85
StrMakeValidFunction · 0.85
StrValidFunction · 0.85
IsValidCharFunction · 0.85
MapCharToGlyphMethod · 0.85
MapCharToGlyphMethod · 0.85
MapCharToGlyphMethod · 0.85
MapCharToGlyphMethod · 0.85
CopyFromOldNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected