diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /pkg/tbtables/fitsio_spp.h | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'pkg/tbtables/fitsio_spp.h')
-rw-r--r-- | pkg/tbtables/fitsio_spp.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkg/tbtables/fitsio_spp.h b/pkg/tbtables/fitsio_spp.h new file mode 100644 index 00000000..d291863f --- /dev/null +++ b/pkg/tbtables/fitsio_spp.h @@ -0,0 +1,20 @@ +/* This header file is included only by tbfxff.c. + +There are three SPP FITSIO subroutines that have arrays of character strings +in their calling sequences. The subroutines are fsibin, fsicol, and fsphbn, +and they are called by tbfdef and tbfnew. The declared lengths of the +character strings must be the same in each of these subroutines, and the +macros for the declared lengths are defined in three separate header files. +These header files are: + + fitsio_spp.h (this file, for the SPP/C interface) + tblfits.h (used by tbfdef.x and tbfnew.x, and others) + fitsio/fitssppb/fitsio.h (used by the SPP FITSIO interface) + +The extra char for end-of-string is added transparently for SPP code, +and it is added explicitly in tbfxff.c. +*/ + +# define SZ_FTTYPE 70 /* length of column name string */ +# define SZ_FTFORM 70 /* len of col datatype and display fmt str */ +# define SZ_FTUNIT 70 /* length of column units string */ |