[vlc-devel] commit: Export ToLocaleDup ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Apr 30 19:04:24 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed Apr 30 20:04:05 2008 +0300| [0fd1b7470520db2e88b1173bcd3145111b7ae8f5]

Export ToLocaleDup

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0fd1b7470520db2e88b1173bcd3145111b7ae8f5
---

 include/vlc_charset.h |    1 +
 src/libvlc.sym        |    1 +
 src/text/unicode.c    |    2 +-
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/vlc_charset.h b/include/vlc_charset.h
index b7b77b2..77678cd 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 7ff1910..27b3f93 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 2d6ec9d..790664e 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);
 }




More information about the vlc-devel mailing list