diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 5af9e274..9dae8446 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -241,7 +241,6 @@ struct Messenger { | |||
241 | void *friend_message_userdata; | 241 | void *friend_message_userdata; |
242 | void (*friend_namechange)(struct Messenger *m, uint32_t, const uint8_t *, size_t, void *); | 242 | void (*friend_namechange)(struct Messenger *m, uint32_t, const uint8_t *, size_t, void *); |
243 | void (*friend_statusmessagechange)(struct Messenger *m, uint32_t, const uint8_t *, size_t, void *); | 243 | void (*friend_statusmessagechange)(struct Messenger *m, uint32_t, const uint8_t *, size_t, void *); |
244 | void *friend_statusmessagechange_userdata; | ||
245 | void (*friend_userstatuschange)(struct Messenger *m, uint32_t, unsigned int, void *); | 244 | void (*friend_userstatuschange)(struct Messenger *m, uint32_t, unsigned int, void *); |
246 | void *friend_userstatuschange_userdata; | 245 | void *friend_userstatuschange_userdata; |
247 | void (*friend_typingchange)(struct Messenger *m, uint32_t, _Bool, void *); | 246 | void (*friend_typingchange)(struct Messenger *m, uint32_t, _Bool, void *); |
@@ -491,8 +490,7 @@ void m_callback_namechange(Messenger *m, void (*function)(Messenger *m, uint32_t | |||
491 | * | 490 | * |
492 | * You are not responsible for freeing newstatus | 491 | * You are not responsible for freeing newstatus |
493 | */ | 492 | */ |
494 | void m_callback_statusmessage(Messenger *m, void (*function)(Messenger *m, uint32_t, const uint8_t *, size_t, void *), | 493 | void m_callback_statusmessage(Messenger *m, void (*function)(Messenger *m, uint32_t, const uint8_t *, size_t, void *)); |
495 | void *userdata); | ||
496 | 494 | ||
497 | /* Set the callback for status type changes. | 495 | /* Set the callback for status type changes. |
498 | * Function(uint32_t friendnumber, USERSTATUS kind) | 496 | * Function(uint32_t friendnumber, USERSTATUS kind) |