From 26a9ce7b2927f2fc79af46c3152fbc41ee602197 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2013 14:32:32 +0100 Subject: output/{alsa,oss}: convert to C++ --- src/pcm_export.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/pcm_export.h') diff --git a/src/pcm_export.h b/src/pcm_export.h index a7e7c3f6..005db48e 100644 --- a/src/pcm_export.h +++ b/src/pcm_export.h @@ -87,6 +87,10 @@ struct pcm_export_state { uint8_t reverse_endian; }; +#ifdef __cplusplus +extern "C" { +#endif + /** * Initialize a #pcm_export_state object. */ @@ -144,4 +148,8 @@ G_GNUC_PURE size_t pcm_export_source_size(const struct pcm_export_state *state, size_t dest_size); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3