nf_lib.c (netcdf-fortran-4.4.4) | : | nf_lib.c (netcdf-fortran-4.4.5) | ||
---|---|---|---|---|
skipping to change at line 189 | skipping to change at line 189 | |||
extern int | extern int | |||
nc_inq_numtypes(int ncid, int *numtypes) | nc_inq_numtypes(int ncid, int *numtypes) | |||
{ | { | |||
int ret; | int ret; | |||
if ((ret = nc_inq_typeids(ncid, numtypes, NULL))) | if ((ret = nc_inq_typeids(ncid, numtypes, NULL))) | |||
return ret; | return ret; | |||
} | } | |||
extern int | ||||
nc_inq_varnparams(int ncid, int varid, size_t* nparamsp) | ||||
{ | ||||
int ret; | ||||
unsigned int id; | ||||
size_t nparams; | ||||
if ((ret = nc_inq_var_filter(ncid, varid, &id, &nparams, NULL))) | ||||
return ret; | ||||
if(nparamsp) *nparamsp = nparams; | ||||
} | ||||
#endif /*USE_NETCDF4*/ | #endif /*USE_NETCDF4*/ | |||
/* | /* | |||
add a dummy nc_rename_grp function if it is not supported. This is include | add a dummy nc_rename_grp function if it is not supported. This is include | |||
here so we can build/test with netCDF < version 4.3.1 without | here so we can build/test with netCDF < version 4.3.1 without | |||
*/ | */ | |||
#ifndef NC_HAVE_RENAME_GRP | #ifndef NC_HAVE_RENAME_GRP | |||
extern int | extern int | |||
nc_rename_grp(int ncid, const char *name) | nc_rename_grp(int ncid, const char *name) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 12 lines changed or added |