diff options
-rw-r--r-- | toxav/toxav.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/toxav/toxav.h b/toxav/toxav.h index 4d988962..b32708ce 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h | |||
@@ -26,6 +26,10 @@ | |||
26 | #define __TOXAV | 26 | #define __TOXAV |
27 | #include <inttypes.h> | 27 | #include <inttypes.h> |
28 | 28 | ||
29 | #ifdef __cplusplus | ||
30 | extern "C" { | ||
31 | #endif | ||
32 | |||
29 | /* vpx_image_t */ | 33 | /* vpx_image_t */ |
30 | #include <vpx/vpx_image.h> | 34 | #include <vpx/vpx_image.h> |
31 | 35 | ||
@@ -370,4 +374,9 @@ int toxav_set_video_queue_limit ( ToxAv *av, int32_t call_index, uint64_t limit | |||
370 | 374 | ||
371 | 375 | ||
372 | Tox *toxav_get_tox(ToxAv *av); | 376 | Tox *toxav_get_tox(ToxAv *av); |
377 | |||
378 | #ifdef __cplusplus | ||
379 | } | ||
380 | #endif | ||
381 | |||
373 | #endif /* __TOXAV */ \ No newline at end of file | 382 | #endif /* __TOXAV */ \ No newline at end of file |