diff options
Diffstat (limited to 'polyp/polyplib-def.h')
-rw-r--r-- | polyp/polyplib-def.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/polyp/polyplib-def.h b/polyp/polyplib-def.h index ec2d528b..e5c786f2 100644 --- a/polyp/polyplib-def.h +++ b/polyp/polyplib-def.h @@ -24,6 +24,10 @@ #include <inttypes.h> +#ifdef __cplusplus +extern "C" { +#endif + enum pa_stream_direction { PA_STREAM_PLAYBACK, PA_STREAM_RECORD, @@ -38,4 +42,8 @@ struct pa_buffer_attr { uint32_t fragsize; }; +#ifdef __cplusplus +} +#endif + #endif |