iw6-mod/deps/protobuf/third_party/utf8_range/utf8_range.h
2024-02-27 01:34:37 -05:00

10 lines
294 B
C

#if (defined(__ARM_NEON) && defined(__aarch64__)) || defined(__SSE4_1__)
int utf8_range2(const unsigned char* data, int len);
#else
int utf8_naive(const unsigned char* data, int len);
static inline int utf8_range2(const unsigned char* data, int len) {
return utf8_naive(data, len);
}
#endif