IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 29, 2007, 2:59:23 PM (19 years ago)
Author:
gusciora
Message:

Adding several changes to the objects directory. Most of these changes are
mere additions of PS_ASSERTs to the beginning of psModule functions to ensure
that input parameters are correct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20071023/psModules/src/objects/pmSourceIO_SMPDATA.c

    r14938 r15418  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-09-21 00:09:05 $
     5 *  @version $Revision: 1.11.6.1 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-10-30 00:59:23 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4242// this format consists of a header derived from the image header
    4343// followed by a zero-size matrix, followed by the table data
    44 bool pmSourcesWrite_SMPDATA (psFits *fits, psArray *sources, psMetadata *imageHeader, psMetadata *tableHeader, char *extname)
     44// XXX: input parameter imageHeader is never used
     45bool pmSourcesWrite_SMPDATA (psFits *fits, psArray *sources, psMetadata *imageHeader,
     46                             psMetadata *tableHeader, char *extname)
    4547{
     48    PS_ASSERT_PTR_NON_NULL(fits, false);
     49    PS_ASSERT_PTR_NON_NULL(sources, false);
     50    PS_ASSERT_PTR_NON_NULL(extname, false);
    4651
    4752    psArray *table;
     
    126131psArray *pmSourcesRead_SMPDATA (psFits *fits, psMetadata *header)
    127132{
     133    PS_ASSERT_PTR_NON_NULL(fits, false);
     134    PS_ASSERT_PTR_NON_NULL(header, false);
    128135
    129136    bool status;
Note: See TracChangeset for help on using the changeset viewer.