From: RĂ©mi Denis-Courmont Date: Wed, 30 Apr 2008 17:04:05 +0000 (+0300) Subject: Export ToLocaleDup X-Git-Tag: 0.9.0-test0~1286 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0fd1b7470520db2e88b1173bcd3145111b7ae8f5;p=vlc Export ToLocaleDup --- diff --git a/include/vlc_charset.h b/include/vlc_charset.h index b7b77b228f..77678cd7a6 100644 --- a/include/vlc_charset.h +++ b/include/vlc_charset.h @@ -37,6 +37,7 @@ VLC_EXPORT( void, LocaleFree, ( const char * ) ); VLC_EXPORT( char *, FromLocale, ( const char * ) ); VLC_EXPORT( char *, FromLocaleDup, ( const char * ) ); VLC_EXPORT( char *, ToLocale, ( const char * ) ); +VLC_EXPORT( char *, ToLocaleDup, ( const char * ) ); /* TODO: move all of this to "vlc_fs.h" or something like that */ VLC_EXPORT( int, utf8_open, ( const char *filename, int flags, mode_t mode ) ); diff --git a/src/libvlc.sym b/src/libvlc.sym index 7ff1910565..27b3f93d89 100644 --- a/src/libvlc.sym +++ b/src/libvlc.sym @@ -330,6 +330,7 @@ str_format_time tls_ClientCreate tls_ClientDelete ToLocale +ToLocaleDup unescape_URI unescape_URI_duplicate update_Check diff --git a/src/text/unicode.c b/src/text/unicode.c index 2d6ec9d535..790664ed5a 100644 --- a/src/text/unicode.c +++ b/src/text/unicode.c @@ -226,7 +226,7 @@ char *ToLocale (const char *utf8) } -static char *ToLocaleDup (const char *utf8) +char *ToLocaleDup (const char *utf8) { return locale_dup (utf8, false); }