Commit 786c3aa1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Renamed gridID2Ptr() to grid_to_pointer().

parent 2df65ba7
......@@ -105,7 +105,7 @@ cdi_atts_t *cdi_get_attsp(int objID, int varID)
if ( varID == CDI_GLOBAL && reshGetTxCode(objID) == GRID )
{
grid_t *gridptr = gridID2Ptr(objID);
grid_t *gridptr = grid_to_pointer(objID);
attsp = &gridptr->atts;
}
else if ( varID == CDI_GLOBAL && reshGetTxCode(objID) == ZAXIS )
......
This diff is collapsed.
......@@ -114,7 +114,7 @@ struct grid_t {
void grid_init(grid_t *gridptr);
void cdiGridTypeInit(grid_t *gridptr, int gridtype, int size);
void grid_free(grid_t *gridptr);
grid_t *gridID2Ptr(int gridID);
grid_t *grid_to_pointer(int gridID);
extern const struct gridVirtTable cdiGridVtable;
unsigned cdiGridCount(void);
......
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