list.c
/* Create an iterator used to visit and operate on nodes */
Create an iterator used to visit and operate on nodes
Create an iterator used to visit and operate on nodes
void list_iter_create(list_iter_t **iter)
{
	if (((*iter) = (list_iter_t*)malloc(sizeof(list_iter_t))) == NULL) {
		fprintf(stderr, "Failed to allocate list iterator\n");
		exit(EXIT_FAILURE);
	};
}
void list_iter_create ( list_iter_t * * iter ) { if ( ( ( * iter ) = ( list_iter_t * ) malloc ( sizeof ( list_iter_t ) ) ) == NULL ) { fprintf ( stderr , " \n " ) ; exit ( EXIT_FAILURE ) ; } ; }
Create an iterator used to visit and operate on nodes
Create an iterator used to visit and operate on nodes