array.c
//allocates, initializes, and returns new array_t
allocates, initializes, and returns new array_t
allocates initializes and returns new array_t
array_t* new_array(int size) {
	array_t* ret = malloc(sizeof(array_t));
	WARN_EXIT_IF(!ret, "malloc failed");
	init_array(ret, size);
	return(ret);
}
array_t * new_array ( int size ) { array_t * ret = malloc ( sizeof ( array_t ) ) ; WARN_EXIT_IF ( ! ret , " " ) ; init_array ( ret , size ) ; return ( ret ) ; }
allocates, initializes, and returns new array_t
allocates initializes and returns new array_t