| 253 | } |
| 254 | |
| 255 | const char* nullAsEmpty(const char* str) { |
| 256 | if (str) { |
| 257 | return str; |
| 258 | } else { |
| 259 | return ""; |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | uint32_t GetLengthInBytesForNCodepoints(const string& utf8in, uint32_t codepoint_index) { |
| 264 | uint32_t codepoints = 0; |
no outgoing calls
no test coverage detected