/* Return the number of chats in the instance m. * You should use this to determine how much memory to allocate * for copy_chatlist. */ uint32_t tox_count_chatlist(const Tox *tox) { const Messenger *m = tox; return count_chatlist(m); }
/* Return the number of chats in the instance m. * You should use this to determine how much memory to allocate * for copy_chatlist. */ uint32_t tox_count_chatlist(Tox *tox) { Messenger *m = tox; return count_chatlist(m); }