diff options
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 d19548fb..1a335d2b 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -303,7 +303,7 @@ void tox_callback_friend_message(Tox *tox, void (*function)(Tox *tox, int, uint8 | |||
303 | /* Set the function that will be executed when an action from a friend is received. | 303 | /* Set the function that will be executed when an action from a friend is received. |
304 | * Function format is: function(int friendnumber, uint8_t * action, uint32_t length) | 304 | * Function format is: function(int friendnumber, uint8_t * action, uint32_t length) |
305 | */ | 305 | */ |
306 | void tox_callback_action(Tox *tox, void (*function)(Tox *tox, int, uint8_t *, uint16_t, void *), void *userdata); | 306 | void tox_callback_friend_action(Tox *tox, void (*function)(Tox *tox, int, uint8_t *, uint16_t, void *), void *userdata); |
307 | 307 | ||
308 | /* Set the callback for name changes. | 308 | /* Set the callback for name changes. |
309 | * function(int friendnumber, uint8_t *newname, uint16_t length) | 309 | * function(int friendnumber, uint8_t *newname, uint16_t length) |