summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorJin^eLD <jin@mediatomb.cc>2014-07-13 20:01:06 +0300
committerJin^eLD <jin@mediatomb.cc>2014-07-13 20:01:06 +0300
commit4fa115e6d09057219e317dd49bb7b8a3bd2b45f7 (patch)
treebfb03e8adf03d393e22fdfd40fbb8df486373607 /toxcore
parent72858076f54da1b94739a79d3be9ee6434d785ce (diff)
Fixed documentation comment errors
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index d931b9be..b44648fc 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -294,13 +294,13 @@ void tox_callback_friend_request(Tox *tox, void (*function)(Tox *tox, const uint
294 void *), void *userdata); 294 void *), void *userdata);
295 295
296/* Set the function that will be executed when a message from a friend is received. 296/* Set the function that will be executed when a message from a friend is received.
297 * Function format is: function(Tox *tox, int32_t friendnumber, uint8_t * message, uint32_t length, void *userdata) 297 * Function format is: function(Tox *tox, int32_t friendnumber, uint8_t * message, uint16_t length, void *userdata)
298 */ 298 */
299void tox_callback_friend_message(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *), 299void tox_callback_friend_message(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *),
300 void *userdata); 300 void *userdata);
301 301
302/* Set the function that will be executed when an action from a friend is received. 302/* Set the function that will be executed when an action from a friend is received.
303 * Function format is: function(Tox *tox, int32_t friendnumber, uint8_t * action, uint32_t length, void *userdata) 303 * Function format is: function(Tox *tox, int32_t friendnumber, uint8_t * action, uint16_t length, void *userdata)
304 */ 304 */
305void tox_callback_friend_action(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *), 305void tox_callback_friend_action(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *),
306 void *userdata); 306 void *userdata);