blob: f745be7e4c31a226d179a36d1b1cbef1df70cfb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef MGL_UTF8_H
#define MGL_UTF8_H
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
bool mgl_utf8_decode(const unsigned char *str, size_t size, uint32_t *decoded_codepoint, size_t *codepoint_length);
#endif /* MGL_UTF8_H */
|