Commit 12c81616 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Renamed type to taxistype.

parent 2a04ebcc
......@@ -1115,7 +1115,7 @@ void zaxisChangeType(int zaxisID, int zaxistype);
/* TAXIS routines */
/* taxisCreate: Create a Time axis */
int taxisCreate(int timetype);
int taxisCreate(int taxistype);
/* taxisDestroy: Destroy a Time axis */
void taxisDestroy(int taxisID);
......@@ -1124,7 +1124,8 @@ int taxisDuplicate(int taxisID);
void taxisCopyTimestep(int taxisIDdes, int taxisIDsrc);
void taxisDefType(int taxisID, int type);
void taxisDefType(int taxisID, int taxistype);
int taxisInqType(int taxisID);
/* taxisDefVdate: Define the verification date */
void taxisDefVdate(int taxisID, int64_t date);
......@@ -1191,9 +1192,6 @@ void taxisDefForecastPeriod(int taxisID, double fc_period);
double taxisInqForecastPeriod(int taxisID);
void taxisDefNumavg(int taxisID, int numavg);
int taxisInqType(int taxisID);
int taxisInqNumavg(int taxisID);
const char *tunitNamePtr(int tunitID);
......
......@@ -208,8 +208,7 @@ The function @func{taxisCreate} creates a Time axis.
@func{taxisCreate} returns an identifier to the Time axis.
@Example
Here is an example using @func{taxisCreate} to create a relative T-axis
with a standard calendar.
Here is an example using @func{taxisCreate} to create a relative T-axis with a standard calendar.
@Source
#include "cdi.h"
......@@ -240,6 +239,7 @@ int taxisCreate(int taxistype)
return taxisID;
}
void taxisDestroyKernel(taxis_t *taxisptr)
{
delete_refcount_string(taxisptr->name);
......@@ -288,13 +288,13 @@ int taxisDuplicate(int taxisID1)
}
void taxisDefType(int taxisID, int type)
void taxisDefType(int taxisID, int taxistype)
{
taxis_t *taxisptr = (taxis_t *) reshGetVal(taxisID, &taxisOps);
if ( taxisptr->type != type )
if ( taxisptr->type != taxistype )
{
taxisptr->type = type;
taxisptr->type = taxistype;
if ( taxisptr->units )
{
delete_refcount_string(taxisptr->units);
......
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