diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-31 21:50:08 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-05-31 21:50:08 +0000 |
commit | 7268b3d7d8ef137da82987cc469449bf2a3e9020 (patch) | |
tree | 7410c5604d51fd2d72f377a7be52ffc03744c72f /src/htscharset.h | |
parent | b5b647bf44734ba4ce1d7c3b210690a44647d183 (diff) |
Fixed warnings.
Diffstat (limited to 'src/htscharset.h')
-rw-r--r-- | src/htscharset.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/htscharset.h b/src/htscharset.h index bb7f3da..c22978e 100644 --- a/src/htscharset.h +++ b/src/htscharset.h @@ -128,6 +128,13 @@ extern char *hts_convertUCS4StringToUTF8(const hts_UCS4 *s, size_t nChars); **/ extern size_t hts_stringLengthUCS4(const hts_UCS4 *s); +/** + * Write the Unicode character 'uc' in 'dest' of maximum size 'size'. + * Return the number of bytes written, or 0 upon error. + * Note: does not \0-terminate the destination buffer. + **/ +extern size_t hts_writeUTF8(hts_UCS4 uc, char *dest, size_t size); + /* WIN32 specific. */ #ifdef _WIN32 @@ -147,13 +154,6 @@ extern char *hts_convertUCS2StringToUTF8(LPWSTR woutput, int wsize); **/ extern char *hts_convertStringSystemToUTF8(const char *s, size_t size); -/** - * Write the Unicode character 'uc' in 'dest' of maximum size 'size'. - * Return the number of bytes written, or 0 upon error. - * Note: does not \0-terminate the destination buffer. - **/ -extern size_t hts_writeUTF8(hts_UCS4 uc, char *dest, size_t size); - #endif #endif |