[vlc-commits] vlc_charset: add VLC_ICONV_ERR
Francois Cartegnie
git at videolan.org
Sun Jan 24 01:24:21 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Jan 23 20:28:19 2016 +0100| [8aef60e48ec64cebe5e065cb048658e2017b4241] | committer: Francois Cartegnie
vlc_charset: add VLC_ICONV_ERR
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8aef60e48ec64cebe5e065cb048658e2017b4241
---
include/vlc_charset.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vlc_charset.h b/include/vlc_charset.h
index 8867065..0509225 100644
--- a/include/vlc_charset.h
+++ b/include/vlc_charset.h
@@ -109,6 +109,7 @@ static inline char *EnsureUTF8(char *str)
}
/* iconv wrappers (defined in src/extras/libc.c) */
+#define VLC_ICONV_ERR ((size_t) -1)
typedef void *vlc_iconv_t;
VLC_API vlc_iconv_t vlc_iconv_open( const char *, const char * ) VLC_USED;
VLC_API size_t vlc_iconv( vlc_iconv_t, const char **, size_t *, char **, size_t * ) VLC_USED;
More information about the vlc-commits
mailing list