Update to TommyDS v3.0

This commit is contained in:
Andrea Mazzoleni 2018-04-01 22:36:42 +02:00
parent 9d142e72a4
commit c696c56df1
12 changed files with 181 additions and 102 deletions

View file

@ -311,9 +311,9 @@ tommy_inline tommy_bool_t tommy_list_empty(tommy_list* list)
* Gets the number of elements.
* \note This operation is O(n).
*/
tommy_inline tommy_count_t tommy_list_count(tommy_list* list)
tommy_inline tommy_size_t tommy_list_count(tommy_list* list)
{
tommy_count_t count = 0;
tommy_size_t count = 0;
tommy_node* i = tommy_list_head(list);
while (i) {