349d74d92e
* Updated PHP to the new version of upb. This is a large change, as the upb API surface has been renamed to follow Google style more closely. * Fixed utf8_range. * Updated Ruby for new utf8_range. * Picked up new upb for PHP, with spelling fixes. * Fixed the 32-bit build.
10 lines
294 B
C
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
|