1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2025-05-21 23:21:15 +02:00

feat: add terminal_print_array_list

This commit is contained in:
2023-07-31 23:51:37 +02:00
parent 368c07c57a
commit 9717cff35a
2 changed files with 14 additions and 0 deletions

View File

@ -111,3 +111,7 @@ void terminal_print_hash_map(struct hash_map* hash_map, void (*print_element)(vo
}
printf("}\n");
}
void terminal_print_array_list(struct array_list* list, void (*print_element)(void*)) {
terminal_print_array(list->data, list->size, sizeof(void*), print_element);
}