From cb2744ea343d8cb96bab0389f6b7d6e1a3ddf6c1 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 11 Apr 2013 18:07:18 +0200 Subject: unicode: New mod_utf8_codepoint() Signed-off-by: Markus Armbruster Reviewed-by: Laszlo Ersek Signed-off-by: Blue Swirl --- include/qemu-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/qemu-common.h b/include/qemu-common.h index 31fff22f32..3b1873e4ef 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -442,6 +442,9 @@ int64_t pow2floor(int64_t value); int uleb128_encode_small(uint8_t *out, uint32_t n); int uleb128_decode_small(const uint8_t *in, uint32_t *n); +/* unicode.c */ +int mod_utf8_codepoint(const char *s, size_t n, char **end); + /* * Hexdump a buffer to a file. An optional string prefix is added to every line */ -- cgit v1.2.3