f4-basic-linked-list #19
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ FledastyError fledasty_linked_list_append(FledastyLinkedList *current_linked_lis
|
||||||
new_node->next = NULL;
|
new_node->next = NULL;
|
||||||
|
|
||||||
current_linked_list->end->next = new_node;
|
current_linked_list->end->next = new_node;
|
||||||
|
current_linked_list->end = new_node;
|
||||||
current_linked_list->size += 1;
|
current_linked_list->size += 1;
|
||||||
|
|
||||||
return FLEDASTY_ERROR_NONE;
|
return FLEDASTY_ERROR_NONE;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue