diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/tox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 3b2da2f7..1655d9c1 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -1283,7 +1283,7 @@ void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *callback, void *user | |||
1283 | size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error); | 1283 | size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error); |
1284 | 1284 | ||
1285 | /** | 1285 | /** |
1286 | * Write the name of the friend designated by the given friend number to a byte | 1286 | * Write the status message of the friend designated by the given friend number to a byte |
1287 | * array. | 1287 | * array. |
1288 | * | 1288 | * |
1289 | * Call tox_friend_get_status_message_size to determine the allocation size for the `status_name` | 1289 | * Call tox_friend_get_status_message_size to determine the allocation size for the `status_name` |
@@ -1292,7 +1292,7 @@ size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number | |||
1292 | * The data written to `status_message` is equal to the data received by the last | 1292 | * The data written to `status_message` is equal to the data received by the last |
1293 | * `friend_status_message` callback. | 1293 | * `friend_status_message` callback. |
1294 | * | 1294 | * |
1295 | * @param name A valid memory region large enough to store the friend's name. | 1295 | * @param status_message A valid memory region large enough to store the friend's status message. |
1296 | */ | 1296 | */ |
1297 | bool tox_friend_get_status_message(const Tox *tox, uint32_t friend_number, uint8_t *status_message, | 1297 | bool tox_friend_get_status_message(const Tox *tox, uint32_t friend_number, uint8_t *status_message, |
1298 | TOX_ERR_FRIEND_QUERY *error); | 1298 | TOX_ERR_FRIEND_QUERY *error); |