Commit aed9becd authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Removed function tableInqParLongPtr().

parent 824aa80f
...@@ -847,27 +847,6 @@ const char *tableInqParNamePtr(int tableID, int code) ...@@ -847,27 +847,6 @@ const char *tableInqParNamePtr(int tableID, int code)
} }
const char *tableInqParLongnamePtr(int tableID, int code)
{
const char *longname = NULL;
if ( tableID != CDI_UNDEFID )
{
int npars = parTable[tableID].npars;
for ( int item = 0; item < npars; item++ )
{
if ( parTable[tableID].pars[item].id == code )
{
longname = parTable[tableID].pars[item].longname;
break;
}
}
}
return longname;
}
int tableInqParLongname(int tableID, int code, char *longname) int tableInqParLongname(int tableID, int code, char *longname)
{ {
if ( ((tableID >= 0) & (tableID < MAX_TABLE)) | (tableID == CDI_UNDEFID) ) { } else if ( ((tableID >= 0) & (tableID < MAX_TABLE)) | (tableID == CDI_UNDEFID) ) { } else
......
...@@ -23,7 +23,6 @@ static void tableLink(int tableID, const param_type *pars, int npars); ...@@ -23,7 +23,6 @@ static void tableLink(int tableID, const param_type *pars, int npars);
int tableDef(int modelID, int tablegribID, const char *tablename); int tableDef(int modelID, int tablegribID, const char *tablename);
const char *tableInqParNamePtr(int tableID, int parID); const char *tableInqParNamePtr(int tableID, int parID);
const char *tableInqParLongnamePtr(int tableID, int parID);
#endif #endif
/* /*
......
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