! . */
| 2355 | |
| 2356 | /*! . */ |
| 2357 | GMT_LOCAL bool gmtapi_adjust_grdpadding (struct GMT_GRID_HEADER *h, unsigned int *pad) { |
| 2358 | /* Compares current grid pad status to output pad requested. If we need |
| 2359 | * to adjust a pad we return true here, otherwise false. */ |
| 2360 | unsigned int side; |
| 2361 | |
| 2362 | for (side = 0; side < 4; side++) if (h->pad[side] != pad[side]) return (true); |
| 2363 | return (false); |
| 2364 | } |
| 2365 | |
| 2366 | /*! . */ |
| 2367 | struct GMT_GRID_HEADER * gmt_get_header (struct GMT_CTRL *GMT) { |
no outgoing calls
no test coverage detected