diff options
author | mannol <mannol@users.noreply.github.com> | 2015-04-20 11:21:55 +0200 |
---|---|---|
committer | mannol <mannol@users.noreply.github.com> | 2015-04-20 11:21:55 +0200 |
commit | cbb8fdd4eab3bae4db1179f1fa04cdaa35957aeb (patch) | |
tree | 93a0346bf9e68b4ce16dc52fd5e96af240f59e53 /toxav/toxav.h | |
parent | 3a12a3b3291b34ef18edcd0ca66449944bc8c933 (diff) |
Add extern "C"
Diffstat (limited to 'toxav/toxav.h')
-rw-r--r-- | toxav/toxav.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/toxav/toxav.h b/toxav/toxav.h index f2501d7a..2571bfff 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h | |||
@@ -25,6 +25,10 @@ | |||
25 | #include <stdbool.h> | 25 | #include <stdbool.h> |
26 | #include <stddef.h> | 26 | #include <stddef.h> |
27 | #include <stdint.h> | 27 | #include <stdint.h> |
28 | |||
29 | #ifdef __cplusplus | ||
30 | extern "C" { | ||
31 | #endif | ||
28 | /** \page av Public audio/video API for Tox clients. | 32 | /** \page av Public audio/video API for Tox clients. |
29 | * | 33 | * |
30 | * Unlike the Core API, this API is fully thread-safe. The library will ensure | 34 | * Unlike the Core API, this API is fully thread-safe. The library will ensure |
@@ -528,4 +532,8 @@ typedef void toxav_receive_audio_frame_cb(ToxAV *av, uint32_t friend_number, | |||
528 | */ | 532 | */ |
529 | void toxav_callback_receive_audio_frame(ToxAV *av, toxav_receive_audio_frame_cb *function, void *user_data); | 533 | void toxav_callback_receive_audio_frame(ToxAV *av, toxav_receive_audio_frame_cb *function, void *user_data); |
530 | 534 | ||
535 | #ifdef __cplusplus | ||
536 | } | ||
537 | #endif | ||
538 | |||
531 | #endif /* TOXAV_H */ | 539 | #endif /* TOXAV_H */ |