From cfeeb7af2e398b94db6db84c208976588d8cfcda Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jan 2013 21:27:37 +0100 Subject: test/run_encoder, ...: convert to C++ --- src/audio_parser.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/audio_parser.h') diff --git a/src/audio_parser.h b/src/audio_parser.h index 49926999e..bbe868f61 100644 --- a/src/audio_parser.h +++ b/src/audio_parser.h @@ -31,6 +31,10 @@ struct audio_format; +#ifdef __cplusplus +extern "C" { +#endif + /** * Parses a string in the form "SAMPLE_RATE:BITS:CHANNELS" into an * #audio_format. @@ -46,4 +50,8 @@ bool audio_format_parse(struct audio_format *dest, const char *src, bool mask, GError **error_r); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3