diff options
Diffstat (limited to 'toxav/toxav.h')
-rw-r--r-- | toxav/toxav.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/toxav/toxav.h b/toxav/toxav.h index 69654f97..04ad3cd0 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h | |||
@@ -1,4 +1,6 @@ | |||
1 | #pragma once | 1 | #ifndef TOXAV_H |
2 | #define TOXAV_H | ||
3 | |||
2 | #include <stdbool.h> | 4 | #include <stdbool.h> |
3 | #include <stddef.h> | 5 | #include <stddef.h> |
4 | #include <stdint.h> | 6 | #include <stdint.h> |
@@ -480,4 +482,6 @@ typedef void toxav_receive_audio_frame_cb(ToxAV *av, uint32_t friend_number, | |||
480 | /** | 482 | /** |
481 | * Set the callback for the `receive_audio_frame` event. Pass NULL to unset. | 483 | * Set the callback for the `receive_audio_frame` event. Pass NULL to unset. |
482 | */ | 484 | */ |
483 | void toxav_callback_receive_audio_frame(ToxAV *av, toxav_receive_audio_frame_cb *function, void *user_data); \ No newline at end of file | 485 | void toxav_callback_receive_audio_frame(ToxAV *av, toxav_receive_audio_frame_cb *function, void *user_data); |
486 | |||
487 | #endif /* TOXAV_H */ \ No newline at end of file | ||