On Wed, 21 Dec 2005, Mark Taylor wrote:
> For one thing it doesn't say that's what it does in the non-existent
> documentation :-).
Yes it does. It says it in datGet1C.c and datGetVC.c
> Secondly, the number of pointers written is returned in the actval argument
> (at least I assume that's what it tells you?) which means you don't need
> the sentinel to work out where the end of the list is.
Okay.
> Thirdly, it is inconsistent with the behaviour of the other datGetV*
> routines (at least I presume it is, since there's no equivalent to
> a NULL pointer for [LIRD] types. If the other C datGetV* routines do
> do something like this then the equivalents in HDSObject.c will need
> some non-trivial rewriting).
datGet[V1]C is not meant to be like the other routines since it is meant
to be "more C like" so the C char** array is terminated. I'll remove the
termination.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|