From 975370c084c8d679ff2cc2fcee48326b1dbcbf2e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 09:38:02 +0100 Subject: decoder_api.h, ...: add "extern C" --- src/audio_format.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/audio_format.h') diff --git a/src/audio_format.h b/src/audio_format.h index d86ade5e..f9b176bc 100644 --- a/src/audio_format.h +++ b/src/audio_format.h @@ -220,6 +220,10 @@ static inline bool audio_format_equals(const struct audio_format *a, a->channels == b->channels; } +#ifdef __cplusplus +extern "C" { +#endif + void audio_format_mask_apply(struct audio_format *af, const struct audio_format *mask); @@ -305,4 +309,8 @@ const char * audio_format_to_string(const struct audio_format *af, struct audio_format_string *s); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3