MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / cca

Function cca

include/hxString.h:333–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 inline bool operator>=(const Dynamic &inRHS) const { return compare(inRHS)>=0; }
332
333 inline int cca(int inPos) const
334 {
335 if ( (inPos>=length) || (inPos<0) ) return 0;
336 #ifdef HX_SMART_STRINGS
337 if (isUTF16Encoded())
338 return __w[inPos];
339 #endif
340 return ((unsigned char *)__s)[inPos];
341 }
342
343 inline Dynamic iterator();
344 inline Dynamic keyValueIterator();

Callers 1

String.cppFile · 0.85

Calls 1

isUTF16EncodedFunction · 0.85

Tested by

no test coverage detected