Very odd. I can't think of any good reason for the signed char.
David
On 20 April 2010 03:18, Tim Jenness <[log in to unmask]> wrote:
> Does anyone know why ndfSbb takes a signed char but ndfQmask and ndfBb take an unsigned char for the badbit argument?
>
> The Fortran implementations (that are called) both say unsigned bytes in the description and both take simple bytes (since I don't think Fortran can do anything else) so I wonder why there is the discrepancy in the C wrapper.
>
> --
> Tim Jenness
> Joint Astronomy Centre
>
|