diff options
author | Remi Collet <remi@remirepo.net> | 2022-03-21 08:03:24 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-03-21 08:03:24 +0100 |
commit | 8bcd18d36d6d3d919ba9002856e078c60cd5dcc0 (patch) | |
tree | 8baafd5ccb0f0a941d9ee32121a2bf54bf343fa8 /utf8_range.h | |
parent | 0d2ea15d4b79e24f3c9cd614baa74e57a784b908 (diff) |
update to 3.20.0RC2
Diffstat (limited to 'utf8_range.h')
-rw-r--r-- | utf8_range.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utf8_range.h b/utf8_range.h new file mode 100644 index 0000000..3695587 --- /dev/null +++ b/utf8_range.h @@ -0,0 +1,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 |