I've modified the C interfaces for GRP, NDG and GRP KAPLIBS routines so
that the index into a group and size of a group are now size_t rather than
int.
I have also modified grpValid, grpIndex and grpGrpsz so that they return
the answer rather than requiring a pointer argument. This seemed more
natural since I saw a lot of code doing
grpIndex( , &found, );
if (!found) {
which could be written now as
if (!grpIndex( )) {
I have fixed up CUPID, SMURF, POLPACK, KAPPA and CCDPACK accordingly.
I have not tweaked the provenance routines in NDG to return size_t, But
I'm thinking about it.
Now if only I could get up the energy to fix up the NDF C interface to
use NDF* as the type for an NDF identifier rather than a int....
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|