diff options
Diffstat (limited to '')
-rw-r--r-- | src/timer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h index 184881249..1506c9173 100644 --- a/src/timer.h +++ b/src/timer.h @@ -30,6 +30,10 @@ struct timer { int rate; }; +#ifdef __cplusplus +extern "C" { +#endif + struct timer *timer_new(const struct audio_format *af); void timer_free(struct timer *timer); @@ -48,4 +52,8 @@ timer_delay(const struct timer *timer); void timer_sync(struct timer *timer); +#ifdef __cplusplus +} +#endif + #endif |