Add extern "C"

This commit is contained in:
mannol committed 2015-04-20 11:21:55 +02:00
1 parent 3a12a3b329
commit cbb8fdd4ea
1 file changed
+8
+8
View File
@@ -25,6 +25,10 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/** \page av Public audio/video API for Tox clients.
*
* 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,
*/
void toxav_callback_receive_audio_frame(ToxAV *av, toxav_receive_audio_frame_cb *function, void *user_data);
#ifdef __cplusplus
}
#endif
#endif /* TOXAV_H */