| 1 | #ifndef VILE_UNICODE_BACKEND_H |
| 2 | #define VILE_UNICODE_BACKEND_H |
| 3 | #include <stdint.h> |
| 4 | #include <stddef.h> |
| 5 | int32_t vile_unicode17_scalar(int32_t cp, int mode); |
| 6 | int32_t vile_unicode17_property(int32_t cp, int mode); |
| 7 | int32_t vile_unicode17_category(int32_t cp); |
| 8 | int32_t vile_unicode17_fold(int32_t cp, int32_t *pending); |
| 9 | int64_t vile_unicode17_case(int mode, const uint8_t *source, int64_t length, uint8_t *dest, int64_t capacity); |
| 10 | int64_t vile_unicode17_normalize(int mode, const uint8_t *source, int64_t length, int32_t *buffer, int64_t capacity, int64_t *characters); |
| 11 | int32_t vile_unicode17_encode(int32_t cp, uint8_t *dest); |
| 12 | int32_t vile_unicode17_decode(const uint8_t *source, int32_t length, int32_t *scalar); |
| 13 | int32_t vile_unicode17_equal(const uint8_t *left, const uint8_t *right, int64_t length); |
| 14 | int64_t vile_unicode17_length(const uint8_t *text, int64_t length); |
| 15 | int64_t vile_unicode17_word_break(const uint8_t *text, int64_t length); |
| 16 | #endif |
| 17 | |