libvlc.h: ensure the header is correctly exposed to C++

The header is not public but can be used by tests in C++.
This commit is contained in:
Alexandre Janniaux 2023-12-20 16:27:37 +01:00 committed by Thomas Guillem
parent ca32e6b95f
commit 1701e2da5c
1 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,10 @@
#include <vlc_input_item.h>
# ifdef __cplusplus
extern "C" {
# endif
extern const char psz_vlc_changeset[];
typedef struct variable_t variable_t;
@ -210,4 +214,8 @@ int vlc_MetadataRequest(libvlc_int_t *libvlc, input_item_t *item,
*/
void var_OptionParse (vlc_object_t *, const char *, bool trusted);
# ifdef __cplusplus
} // extern "C"
# endif
#endif