libretro-common : fix extern C guards in encodings/utf.h

This commit is contained in:
zeromus 2016-08-16 06:15:31 -05:00
parent 1705b3eb21
commit c61e44da34
1 changed files with 6 additions and 0 deletions

View File

@ -23,11 +23,15 @@
#ifndef _LIBRETRO_ENCODINGS_UTF_H
#define _LIBRETRO_ENCODINGS_UTF_H
#include <retro_common_api.h>
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
RETRO_BEGIN_DECLS
size_t utf8_conv_utf32(uint32_t *out, size_t out_chars,
const char *in, size_t in_size);
@ -40,4 +44,6 @@ size_t utf8cpy(char *d, size_t d_len, const char *s, size_t chars);
const char *utf8skip(const char *str, size_t chars);
RETRO_END_DECLS
#endif