コード例 #1
0
ファイル: tox.c プロジェクト: askielboe/toxcore
/* 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);
}
コード例 #2
0
ファイル: tox.c プロジェクト: Alek900/ProjectTox-Core
/* 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);
}
コード例 #3
0
ファイル: tox.c プロジェクト: zan33/ProjectTox-Core
/* 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);
}