From eedf26a36d70779aae902ff74a0930e67aa6efda Mon Sep 17 00:00:00 2001 From: Aleksey Mokhovikov Date: Fri, 27 Mar 2015 15:12:57 +0600 Subject: [PATCH] Additional description for tox_friend_delete. --- toxcore/tox.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toxcore/tox.h b/toxcore/tox.h index f645282e..cfd68073 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h @@ -936,6 +936,8 @@ typedef enum TOX_ERR_FRIEND_DELETE { /** * Remove a friend from the friend list. + * Other friend numbers are unchanged. + * The friend_number can be reused by toxcore as a friend number for a new friend. * * This does not notify the friend of their deletion. After calling this * function, this client will appear offline to the friend and no communication @@ -944,6 +946,7 @@ typedef enum TOX_ERR_FRIEND_DELETE { * @friend_number Friend number for the friend to be deleted. * * @return true on success. + * @see tox_friend_add for detailed description of friend numbers. */ bool tox_friend_delete(Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_DELETE *error);