/* Prints all the Nodes in a list. */ void print_list(Node *node) { //FIX ME! print_hashable(node->key); printf ("value %p\n", node->value); printf ("next %p\n", node->next); }
/* Prints all the Nodes in a list. */ void print_list(Node *node) { if (node == NULL) return; print_hashable(node->key); print_node(node); print_list(node->next); }
/* Prints all the Nodes in a list. */ void print_list(Node *node) { if (node == NULL) { return; } print_hashable(node->key); printf ("value %p\n", node->value); print_list(node->next); }
/* Prints a Node. */ void print_node(Node *node) { print_hashable(node->key); printf ("value %p\n", node->value); printf ("next %p\n", node->next); }