IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/tst_psAstrometry.c

    r2096 r2204  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2004-10-13 23:58:20 $
     7 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2004-10-27 00:57:31 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1717#include "pslib.h"
    1818
    19 static int testExposureAlloc(void);
    20 static int testObservatoryAlloc(void);
    21 static int testFPAAlloc(void);
    22 static int testChipAlloc(void);
    23 static int testCellAlloc(void);
    24 static int testReadoutAlloc(void);
     19static psS32 testExposureAlloc(void);
     20static psS32 testObservatoryAlloc(void);
     21static psS32 testFPAAlloc(void);
     22static psS32 testChipAlloc(void);
     23static psS32 testCellAlloc(void);
     24static psS32 testReadoutAlloc(void);
    2525
    2626testDescription tests[] = {
     
    3434                          };
    3535
    36 int main(int argc, char* argv[])
     36psS32 main(psS32 argc, char* argv[])
    3737{
    3838    psLogSetLevel(PS_LOG_INFO);
     
    4141}
    4242
    43 static int testExposureAlloc(void)
     43static psS32 testExposureAlloc(void)
    4444{
    4545    psTime* now = psTimeGetTime(PS_TIME_UTC);
     
    123123}
    124124
    125 static int testObservatoryAlloc(void)
     125static psS32 testObservatoryAlloc(void)
    126126{
    127127    char* name = "The Kaiser Royal Observatory";
     
    173173}
    174174
    175 static int testFPAAlloc(void)
     175static psS32 testFPAAlloc(void)
    176176{
    177177
     
    220220    }
    221221
    222     for (int lcv=0; lcv < 8; lcv++) {
     222    for (psS32 lcv=0; lcv < 8; lcv++) {
    223223        if (fpa->chips->data[lcv] != NULL) {
    224224            psLogMsg(__func__,PS_LOG_ERROR,
     
    307307    */
    308308
    309     for (int lcv=0; lcv < 8; lcv++) {
     309    for (psS32 lcv=0; lcv < 8; lcv++) {
    310310        fpa->chips->data[lcv] = psAlloc(4);
    311311    }
     
    329329}
    330330
    331 static int testChipAlloc(void)
     331static psS32 testChipAlloc(void)
    332332{
    333333    char* name = "The Kaiser Royal Observatory";
     
    372372    }
    373373
    374     for (int lcv=0; lcv < 8; lcv++) {
     374    for (psS32 lcv=0; lcv < 8; lcv++) {
    375375        if (chip->cells->data[lcv] != NULL) {
    376376            psLogMsg(__func__,PS_LOG_ERROR,
     
    477477}
    478478
    479 static int testCellAlloc(void)
     479static psS32 testCellAlloc(void)
    480480{
    481481    char* name = "The Kaiser Royal Observatory";
     
    522522    }
    523523
    524     for (int lcv=0; lcv < 8; lcv++) {
     524    for (psS32 lcv=0; lcv < 8; lcv++) {
    525525        if (cell1->readouts->data[lcv] != NULL) {
    526526            psLogMsg(__func__,PS_LOG_ERROR,
     
    641641}
    642642
    643 static int testReadoutAlloc(void)
     643static psS32 testReadoutAlloc(void)
    644644{
    645645    psImage* image = psImageAlloc(64,64,PS_TYPE_S8);
Note: See TracChangeset for help on using the changeset viewer.