diff options
author | Gregory Mullen (grayhatter) <greg@grayhatter.com> | 2016-08-19 11:01:58 -0700 |
---|---|---|
committer | Gregory Mullen (grayhatter) <greg@grayhatter.com> | 2016-08-20 11:07:49 -0700 |
commit | 1f94c9626682fce15aa41dee62099903ee9bea7f (patch) | |
tree | 5671fa1aa441054e4c55ed9bb618f3d07f429bf9 /toxcore/tox.h | |
parent | f9c83c1084dc34543a6c5c29e675958bdc1cb915 (diff) |
Make the friend message callback stateless
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index c2b14eec..dab8ac08 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -1580,7 +1580,7 @@ typedef void tox_friend_message_cb(Tox *tox, uint32_t friend_number, TOX_MESSAGE | |||
1580 | * | 1580 | * |
1581 | * This event is triggered when a message from a friend is received. | 1581 | * This event is triggered when a message from a friend is received. |
1582 | */ | 1582 | */ |
1583 | void tox_callback_friend_message(Tox *tox, tox_friend_message_cb *callback, void *user_data); | 1583 | void tox_callback_friend_message(Tox *tox, tox_friend_message_cb *callback); |
1584 | 1584 | ||
1585 | 1585 | ||
1586 | /******************************************************************************* | 1586 | /******************************************************************************* |