mirror of
https://github.com/TokTok/c-toxcore
synced 2026-10-23 15:12:24 +00:00
Add extern "C"
This commit is contained in:
1 parent
3a12a3b329
commit
cbb8fdd4ea
1 file changed
+8
@@ -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 */
|
||||
Reference in new issue
Block a user