Blog created for comments to my Digital Signal Processing routines.
void allocate_window(int **window, int window_size){ (*window) = malloc(window_size * sizeof(int)); if((*window) == NULL) { fprintf(stderr, "Error allocating memory for \ window (allocate_window)\n"); exit(1); } return;}
No comments:
Post a Comment