summaryrefslogtreecommitdiffstats
path: root/utf8_range.h
blob: 3695587d5eef9ba43e4b84f9eb37cc29784ef44f (plain)
1
2
3
4
5
6
7
8
9

#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