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