diff options
author | irungentoo <irungentoo@gmail.com> | 2013-09-22 14:24:38 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-09-22 14:24:38 -0400 |
commit | ba169b7c218dbec354d53181024c8e02bd061a17 (patch) | |
tree | d5ac01d23eb6c85c6a82d569a346b00e8e30efe8 /toxcore/tox.h | |
parent | 8b5d9dc13e5b5fe66f47701aec57ae7b04345be3 (diff) |
Keep the code consistent.
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index ed471542..9c810418 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -283,14 +283,14 @@ void tox_set_sends_receipts(Tox *tox, int friendnumber, int yesno); | |||
283 | /* Return the number of friends in the instance m. | 283 | /* Return the number of friends in the instance m. |
284 | * You should use this to determine how much memory to allocate | 284 | * You should use this to determine how much memory to allocate |
285 | * for copy_friendlist. */ | 285 | * for copy_friendlist. */ |
286 | size_t tox_count_friendlist(void *tox); | 286 | uint32_t tox_count_friendlist(void *tox); |
287 | 287 | ||
288 | /* Copy a list of valid friend IDs into the array out_list. | 288 | /* Copy a list of valid friend IDs into the array out_list. |
289 | * If out_list is NULL, returns -1. | 289 | * If out_list is NULL, returns 0. |
290 | * Otherwise, returns the number of elements copied. | 290 | * Otherwise, returns the number of elements copied. |
291 | * If the array was too small, the contents | 291 | * If the array was too small, the contents |
292 | * of out_list will be truncated to list_size. */ | 292 | * of out_list will be truncated to list_size. */ |
293 | size_t tox_copy_friendlist(void *tox, int *out_list, size_t list_size); | 293 | uint32_t tox_copy_friendlist(void *tox, int *out_list, uint32_t list_size); |
294 | 294 | ||
295 | /* Set the function that will be executed when a friend request is received. | 295 | /* Set the function that will be executed when a friend request is received. |
296 | * Function format is function(uint8_t * public_key, uint8_t * data, uint16_t length) | 296 | * Function format is function(uint8_t * public_key, uint8_t * data, uint16_t length) |