diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-10-28 00:00:21 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-10-28 00:00:21 +0300 |
| commit | d96b8c7d12fc61ec609d6138627b9d6d18139a9a (patch) | |
| tree | 82bc9a4c2b22de6c021097fb79a57b6d7756a127 /utf9/utf9.h | |
| download | tri-d96b8c7d12fc61ec609d6138627b9d6d18139a9a.tar.gz tri-d96b8c7d12fc61ec609d6138627b9d6d18139a9a.zip | |
move to monorepo
+ Will probably have to make some changes to dir layout to make things
make more sense
Diffstat (limited to 'utf9/utf9.h')
| -rw-r--r-- | utf9/utf9.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/utf9/utf9.h b/utf9/utf9.h new file mode 100644 index 0000000..73a1576 --- /dev/null +++ b/utf9/utf9.h @@ -0,0 +1,11 @@ +#ifndef UTF9_H +#define UTF9_H + +#include <stddef.h> +#include <tri.h> + +size_t utf8_to_utf9(tri_t *u9, size_t u9_len, const uint8_t *u8, size_t u8_len, size_t *u8_read); + +size_t utf9_to_utf8(uint8_t *u8, size_t u8_len, const tri_t *u9, size_t u9_len, size_t *u9_read); + +#endif |
