Commit 3c4fac1e authored by Rémi Duraffort's avatar Rémi Duraffort

libvlc: add some missing 'extern "C"'

parent 6301d60e
......@@ -31,6 +31,10 @@
#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 */
......@@ -31,6 +31,10 @@
#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> */
......@@ -31,6 +31,10 @@
#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 */
......@@ -31,6 +31,10 @@
#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 */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment