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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user