14 "#### HEC-MW-VIS-E0001:There is no enough memory allocated for "
22 fprintf(stderr,
"%s\n", var);
37 fprintf(stderr,
"There is not enough memory, alloc_verts\n");
41 for (i = 0; i < (num - 1); i++) {
42 (verts + i)->nextpoint = (verts + i + 1);
43 (verts + i)->ident = 0;
45 (verts + num - 1)->ident = 0;
46 (verts + num - 1)->nextpoint =
NULL;
56 fprintf(stderr,
"There is not enough memory, alloc_polygons\n");
60 for (i = 0; i < (num - 1); i++) {
61 (polygons + i)->nextpolygon = (polygons + i + 1);
62 (polygons + i)->plist =
NULL;
64 (polygons + num - 1)->nextpolygon =
NULL;
65 (polygons + num - 1)->plist =
NULL;