]> git.sesse.net Git - vlc/blobdiff - include/iso_lang.h
small cleanup #11362
[vlc] / include / iso_lang.h
index 89b1bc4102fb2ee721b6a23cd79f59c69b404638..54a8de3369b7a2867c6f0143ea377d8c01055644 100644 (file)
@@ -2,7 +2,7 @@
  * iso_lang.h: function to decode language code (in dvd or a52 for instance).
  *****************************************************************************
  * Copyright (C) 1998-2001 VideoLAN
- * $Id: iso_lang.h,v 1.8 2002/11/11 14:39:11 sam Exp $
+ * $Id$
  *
  * Author: Stéphane Borel <stef@via.ecp.fr>
  *         Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
@@ -11,7 +11,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -31,8 +31,14 @@ struct iso639_lang_t
     char * psz_iso639_2B;       /* ISO-639-2/B (3 characters) native code */
 };
 
+#if defined( __cplusplus )
+extern "C" {
+#endif
 VLC_EXPORT( const iso639_lang_t *, GetLang_1, ( const char * ) );
 VLC_EXPORT( const iso639_lang_t *, GetLang_2T, ( const char * ) );
 VLC_EXPORT( const iso639_lang_t *, GetLang_2B, ( const char * ) );
 VLC_EXPORT( const char *, DecodeLanguage, ( uint16_t ) );
+#if defined( __cplusplus )
+}
+#endif