h1-mod/deps/protobuf/third_party/utf8_range/utf8_range.h

10 lines
294 B
C
Raw Normal View History

2024-03-07 00:54:15 -05:00
#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