From 1de8b020cb5f79c3e52a0fb502b5abdbbd20a2f0 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 12 Aug 2018 10:55:20 +0000 Subject: Remove all uses of the PAIR macro in toxav. --- toxav/video.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'toxav/video.h') diff --git a/toxav/video.h b/toxav/video.h index 7a0913a0..19ceb9ba 100644 --- a/toxav/video.h +++ b/toxav/video.h @@ -24,7 +24,6 @@ #include "../toxcore/logger.h" #include "../toxcore/util.h" -#include "pair.h" #include #include @@ -55,7 +54,9 @@ typedef struct VCSession_s { ToxAV *av; uint32_t friend_number; - PAIR(toxav_video_receive_frame_cb *, void *) vcb; /* Video frame receive callback */ + /* Video frame receive callback */ + toxav_video_receive_frame_cb *vcb; + void *vcb_user_data; pthread_mutex_t queue_mutex[1]; } VCSession; -- cgit v1.2.3