This commit is contained in:
Daniel Lemire
2020-06-21 17:52:30 -04:00
parent f03a6ab5a4
commit 5dbcdf1484
6 changed files with 54 additions and 2 deletions
@@ -95,6 +95,9 @@ WARN_UNUSED error_code dom_parser_implementation::stage1(const uint8_t *_buf, si
return westmere::stage1::json_structural_indexer::index<64>(_buf, _len, *this, streaming);
}
#include "generic/stage1/utf8_validator.h"
WARN_UNUSED bool implementation::validate_utf8(const char *buf, size_t len) const noexcept {
return simdjson::westmere::stage1::utf8_validate(buf,len);
}
} // namespace westmere
} // namespace simdjson
UNTARGET_REGION