]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc_media_player.h
libvlc: add some missing 'extern "C"'
[vlc] / include / vlc / libvlc_media_player.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 */