remove declaration without implementation

This commit is contained in:
Kovid Goyal 2024-01-30 19:52:06 +05:30
parent 9bca415af2
commit 3b65c1a58a
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -25,16 +25,11 @@ bool utf8_decode_to_esc(UTF8Decoder *d, const uint8_t *src, size_t src_sz);
// Pass a PyModule PyObject* as the argument. Must be called once at application startup
bool init_simd(void* module);
// Requires 7 bytes to the left of haystack to be readable. Returns pointer to
// Requires 31 bytes to the right of haystack to be readable. Returns pointer to
// first position in haystack that contains either of the two chars or NULL if
// not found.
const uint8_t* find_either_of_two_bytes(const uint8_t *haystack, const size_t sz, const uint8_t a, const uint8_t b);
// Requires 7 bytes to the left of haystack to be readable. Returns pointer to
// first position in haystack that contains a char that is not in [a, b].
// a must be <= b
const uint8_t* find_byte_not_in_range(const uint8_t *haystack, const size_t sz, const uint8_t a1, const uint8_t b);
// SIMD implementations, internal use
bool utf8_decode_to_esc_128(UTF8Decoder *d, const uint8_t *src, size_t src_sz);
bool utf8_decode_to_esc_256(UTF8Decoder *d, const uint8_t *src, size_t src_sz);