MCPcopy Create free account
hub / github.com/DFHack/dfhack / ToLower

Method ToLower

depends/tinyxml/tinyxml.h:382–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 static int IsAlpha( unsigned char anyByte, TiXmlEncoding encoding );
381 static int IsAlphaNum( unsigned char anyByte, TiXmlEncoding encoding );
382 inline static int ToLower( int v, TiXmlEncoding encoding )
383 {
384 if ( encoding == TIXML_ENCODING_UTF8 )
385 {
386 if ( v < 128 ) return tolower( v );
387 return v;
388 }
389 else
390 {
391 return tolower( v );
392 }
393 }
394 static void ConvertUTF32ToUTF8( unsigned long input, char* output, int* length );
395
396private:

Callers

nothing calls this directly

Calls 1

tolowerFunction · 0.85

Tested by

no test coverage detected