diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-17 10:52:04 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-18 00:01:53 +0100 |
commit | a5e35180c7b42d30c82825cd67c8118ce048f65a (patch) | |
tree | b74e8ece4f78a988ab0a1300cc08bd35fcd63662 /toxcore/tox.h | |
parent | db22522741cccdeba657776844538c71cf8e8e7a (diff) |
Make tox_callback_friend_name stateless.
See #27 and #40 for details.
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 ca6869e4..5e6de408 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -1287,7 +1287,7 @@ typedef void tox_friend_name_cb(Tox *tox, uint32_t friend_number, const uint8_t | |||
1287 | * | 1287 | * |
1288 | * This event is triggered when a friend changes their name. | 1288 | * This event is triggered when a friend changes their name. |
1289 | */ | 1289 | */ |
1290 | void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *callback, void *user_data); | 1290 | void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *callback); |
1291 | 1291 | ||
1292 | /** | 1292 | /** |
1293 | * Return the length of the friend's status message. If the friend number is | 1293 | * Return the length of the friend's status message. If the friend number is |