/* Return the number of friends in the instance m. * You should use this to determine how much memory to allocate * for copy_friendlist. */ uint32_t tox_count_friendlist(const Tox *tox) { const Messenger *m = tox; return count_friendlist(m); }
/* Return the number of friends in the instance m. * You should use this to determine how much memory to allocate * for copy_friendlist. */ uint32_t tox_count_friendlist(void *tox) { Messenger *m = tox; return count_friendlist(m); }
/* Return the number of friends in the instance m. * You should use this to determine how much memory to allocate * for copy_friendlist. */ size_t tox_count_friendlist(Tox *tox) { Messenger *m = tox; return count_friendlist(m); }