MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / IsNameStartChar

Function IsNameStartChar

examples/ThirdPartyLibs/tinyxml2/tinyxml2.h:653–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651 }
652
653 inline static bool IsNameStartChar(unsigned char ch)
654 {
655 if (ch >= 128)
656 {
657 // This is a heuristic guess in attempt to not implement Unicode-aware isalpha()
658 return true;
659 }
660 if (isalpha(ch))
661 {
662 return true;
663 }
664 return ch == ':' || ch == '_';
665 }
666
667 inline static bool IsNameChar(unsigned char ch)
668 {

Callers 3

IsNameCharFunction · 0.85
ParseNameMethod · 0.85
ParseAttributesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected