]> git.sesse.net Git - vlc/commitdiff
libvlc: add some missing 'extern "C"'
authorRémi Duraffort <ivoire@videolan.org>
Thu, 21 Jan 2010 17:53:02 +0000 (18:53 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 21 Jan 2010 17:53:36 +0000 (18:53 +0100)
include/vlc/libvlc_media.h
include/vlc/libvlc_media_discoverer.h
include/vlc/libvlc_media_library.h
include/vlc/libvlc_media_player.h

index d300722256a04f0f8daaf00f912dcd1bdd52f796..637d115bb079b5539572c2421316d97aa90510a0 100644 (file)
 #ifndef VLC_LIBVLC_MEDIA_H
 #define VLC_LIBVLC_MEDIA_H 1
 
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 /*****************************************************************************
  * media
  *****************************************************************************/
@@ -361,4 +365,8 @@ VLC_PUBLIC_API void *
 
 /** @}*/
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif /* VLC_LIBVLC_MEDIA_H */
index dabf51a3bb1f2075e0a799a53a588fc58b6405fb..38392dd870901c9cdd5bdcafdd0c23ae951fc993 100644 (file)
 #ifndef VLC_LIBVLC_MEDIA_DISCOVERER_H
 #define VLC_LIBVLC_MEDIA_DISCOVERER_H 1
 
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 /*****************************************************************************
  * Services/Media Discovery
  *****************************************************************************/
@@ -99,4 +103,8 @@ VLC_PUBLIC_API int
 
 /**@} */
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif /* <vlc/libvlc.h> */
index c7a5772eb8aeceed4df1c57eb262ad5fa01d991c..5325d5d58a88b2dd7dd15bec7f567100e3b3c849 100644 (file)
 #ifndef VLC_LIBVLC_MEDIA_LIBRARY_H
 #define VLC_LIBVLC_MEDIA_LIBRARY_H 1
 
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 /*****************************************************************************
  * Media Library
  *****************************************************************************/
@@ -106,4 +110,8 @@ VLC_PUBLIC_API libvlc_media_list_t *
 
 /** @} */
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif /* VLC_LIBVLC_MEDIA_LIBRARY_H */
index c429993e7881056ccd5fdc82ed64d2373ccd5eaf..51866f51191e4afef104117f70b3b8b6fcc2b2e4 100644 (file)
 #ifndef VLC_LIBVLC_MEDIA_PLAYER_H
 #define VLC_LIBVLC_MEDIA_PLAYER_H 1
 
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 /*****************************************************************************
  * Media Player
  *****************************************************************************/
@@ -1160,4 +1164,8 @@ VLC_PUBLIC_API void libvlc_audio_set_channel( libvlc_instance_t *,
 
 /** @} media_player */
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif /* VLC_LIBVLC_MEDIA_PLAYER_H */