diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 19:39:08 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 21:36:09 +0100 |
commit | 823c618d241e7e45f31981c437215bc35664c385 (patch) | |
tree | 39220111d78758ced0a764e55d23c70020b34c69 /src/output_plugin.h | |
parent | 51cb6a0a44f8a70927de6516782e3a9a02b3b3dc (diff) |
{encoder,output}_api.h: allow compiling as C++
Diffstat (limited to 'src/output_plugin.h')
-rw-r--r-- | src/output_plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/output_plugin.h b/src/output_plugin.h index a4729656..2b71ba6a 100644 --- a/src/output_plugin.h +++ b/src/output_plugin.h @@ -166,6 +166,10 @@ ao_plugin_test_default_device(const struct audio_output_plugin *plugin) : false; } +#ifdef __cplusplus +extern "C" { +#endif + gcc_malloc struct audio_output * ao_plugin_init(const struct audio_output_plugin *plugin, @@ -208,4 +212,8 @@ ao_plugin_cancel(struct audio_output *ao); bool ao_plugin_pause(struct audio_output *ao); +#ifdef __cplusplus +} +#endif + #endif |