blob: be9b2afb08ce8f5fb7abe8b115efa8f907177d5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "../../include/mglpp/system/Utf8.hpp"
extern "C" {
#include <mgl/system/utf8.h>
}
namespace mgl {
bool utf8_decode(const unsigned char *str, size_t size, uint32_t *decoded_codepoint, size_t *codepoint_length) {
return mgl_utf8_decode(str, size, decoded_codepoint, codepoint_length);
}
}
|