IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1253


Ignore:
Timestamp:
Jul 21, 2004, 1:49:52 PM (22 years ago)
Author:
desonia
Message:

adjustment for prototype change in psImageWriteSection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImageIO.c

    r1221 r1253  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-07-15 00:08:43 $
     8 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-07-21 23:49:52 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8989        img4 = psImageCopy(img4,img3,PS_TYPE_##TYP); \
    9090        remove(filename); \
    91         if (psImageWriteSection(img3,0,0,1,NULL,0,filename) != 0) { \
     91        if (! psImageWriteSection(img3,0,0,1,NULL,0,filename)) { \
    9292            psError(__func__,"Failed to write test image %s",filename); \
    9393            return 1; \
    9494        } \
    95         if (psImageWriteSection(img,0,0,0,NULL,0,filename) != 0) { \
     95        if (! psImageWriteSection(img,0,0,0,NULL,0,filename)) { \
    9696            psError(__func__,"Failed to write test image %s",filename); \
    9797            return 2; \
    9898        } \
    99         if (psImageWriteSection(img,0,0,1,NULL,1,filename) != 0) { \
     99        if (! psImageWriteSection(img,0,0,1,NULL,1,filename)) { \
    100100            psError(__func__,"Failed to write test image %s",filename); \
    101101            return 3; \
    102102        } \
    103         if (psImageWriteSection(img3,0,0,0,NULL,1,filename) != 0) { \
     103        if (! psImageWriteSection(img3,0,0,0,NULL,1,filename)) { \
    104104            psError(__func__,"Failed to write test image %s",filename); \
    105105            return 4; \
     
    292292    remove
    293293        ("writeTest.fits");
    294     if (psImageWriteSection(img,0,0,0,NULL,0,"tmpImages/writeTest.fits") != 0) {
     294    if (! psImageWriteSection(img,0,0,0,NULL,0,"tmpImages/writeTest.fits")) {
    295295        psError(__func__,"Couldn't write writeTest.fits.");
    296296        return 14;
    297297    }
    298     if (psImageWriteSection(img2,0,0,0,NULL,0,"tmpImages/writeTest.fits") != 0) {
     298    if (! psImageWriteSection(img2,0,0,0,NULL,0,"tmpImages/writeTest.fits")) {
    299299        psError(__func__,"Couldn't overwrite writeTest.fits.");
    300300        return 15;
Note: See TracChangeset for help on using the changeset viewer.