IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 16, 2020, 1:54:47 PM (6 years ago)
Author:
tdeboer
Message:

revert to working Ohana build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/dvomath.h

    r41269 r41340  
    66# define OPIHI_NAME_SIZE 1024
    77
    8 /* OPIHI_FLT, OPIHI_INT and related are defined in libdvo/include/dvodb.h */
    9 
    108# define NCHARS 256
     9// # define opihi_flt double
     10// # define opihi_int int
     11// NOTE: if opihi_int is changed to unsigned, all subtraction and negation operations
     12// need to result in a float value (or 3 - 5 will yield the unexpected value 2^32 - 2)
    1113
    1214# define REQUIRE_VECTOR_FLT(VECT,RVAL) { \
     
    2426enum {ANYVECTOR, NEWVECTOR, OLDVECTOR};
    2527enum {ANYBUFFER, NEWBUFFER, OLDBUFFER};
     28#ifdef NOT_MOVED_TO_LIBDVO
     29enum {OPIHI_FLT, OPIHI_INT};
     30#endif
    2631
    2732typedef struct {                        /* representation of a variable (0-D) */
     
    3540  union {
    3641    void      *Ptr;
    37     char     **Str;
    3842    opihi_flt *Flt;
    3943    opihi_int *Int;
     
    165169
    166170/* vector IO functions */
    167 int           WriteVectorTableFITS  PROTO((char *filename, char *extname, Header *extraheader, Vector **vec, int Nvec, int append, char *compress, char *format, int Ntile));
     171int           WriteVectorTableFITS  PROTO((char *filename, char *extname, Vector **vec, int Nvec, int append, char *compress, char *format, int Ntile));
    168172Vector      **ReadVectorTableFITS   PROTO((char *filename, char *extname, int *Nvec));
    169173
Note: See TracChangeset for help on using the changeset viewer.