Commit 789bc621 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Declare returned pointers to internal data const.

parent 5cbeb9fd
......@@ -3316,7 +3316,7 @@ int gridInqXbounds(int gridID, double *xbounds)
}
double *gridInqXboundsPtr(int gridID)
const double *gridInqXboundsPtr(int gridID)
{
grid_t *gridptr;
......@@ -3431,7 +3431,7 @@ int gridInqYbounds(int gridID, double *ybounds)
}
double *gridInqYboundsPtr(int gridID)
const double *gridInqYboundsPtr(int gridID)
{
grid_t *gridptr;
......
......@@ -78,8 +78,8 @@ int gridSize(void);
const double *gridInqXvalsPtr(int gridID);
const double *gridInqYvalsPtr(int gridID);
double *gridInqXboundsPtr(int gridID);
double *gridInqYboundsPtr(int gridID);
const double *gridInqXboundsPtr(int gridID);
const double *gridInqYboundsPtr(int gridID);
const double *gridInqAreaPtr(int gridID);
int gridCompare(int gridID, grid_t grid);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment