WCSLIB scalar test routines
---------------------------

WCSLIB 3.x provides a set of C preprocessor macros for the lin.c, prj.c, and
sph.c routines which map their vector function interfaces to the scalar
interfaces of WCSLIB 2.0.  For example, the scalar routine azpfwd() is mapped
to vector routine azps2x().

There are two provisos to the use of these macros:

   1) In WCSLIB 3.x the prjprm structure is more general in nature and
      contains additional members which require initialization.  This may be
      done conveniently by inserting a call to prjini().

   2) The new interface to prjset() differs from that of WCSLIB 2.x and old
      code which uses it must be changed manually.

Macros are not provided for cel.c or wcs.c (because the relevant celprm and
wcsprm structs are incompatible), nor for the newer spc.c or spec.c functions.

The scalar test routines provided here may be compared with those of
WCSLIB 2.9.  tlin_s.c and tsph_s.c are identical, while the differences for
tprj1_s.c and tprj2_s.c (from 'diff') are as follows (differences in the
copyright statement have been excised):

------------------------------------------------------------------------------

grus% diff tprj1_s.c ../../../wcslib-2.9/C/tproj1.c
39c39
< #include "prj.h"
---
> #include "proj.h"
84c84
<    prjini(&prj);
---
>    for (j = 0; j < 10; prj.p[j++] = 0.0);
227,228c227
<    strcpy(prj->code, pcode);
<    prjset(prj);
---
>    prjset(pcode, prj);
329c328
<    prjini(prj);
---
>    for (j = 0; j < 10; prj->p[j++] = 0.0);

------------------------------------------------------------------------------

grus% diff tprj2_s.c ../../../wcslib-2.9/C/tproj2.c
< #include "prj.h"
---
> #include "proj.h"
90c90
<    prjini(&prj);
---
>    for (j = 0; j < 10; prj.p[j++] = 0.0);
276,277c276
<    strcpy(prj->code, pcode);
<    prjset(prj);
---
>    prjset(pcode, prj);
394c393
<    prjini(prj);
---
>    for (j = 0; j < 10; prj->p[j++] = 0.0);

------------------------------------------------------------------------------
