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_RAW.c

    r14938 r15418  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-09-21 00:09:05 $
     5 *  @version $Revision: 1.17.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
     
    4444{
    4545
     46    PS_ASSERT_PTR_NON_NULL(sources, false);
     47    PS_ASSERT_PTR_NON_NULL(filename, false);
     48
    4649    char *name = (char *) psAlloc (strlen(filename) + 10);
    4750
     
    6568bool pmSourcesWritePSFs (psArray *sources, char *filename)
    6669{
     70    PS_ASSERT_PTR_NON_NULL(sources, false);
     71    PS_ASSERT_PTR_NON_NULL(filename, false);
    6772
    6873    double dPos;
     
    124129bool pmSourcesWriteEXTs (psArray *sources, char *filename, bool requireEXT)
    125130{
     131    PS_ASSERT_PTR_NON_NULL(sources, false);
     132    PS_ASSERT_PTR_NON_NULL(filename, false);
    126133
    127134    double dPos;
     
    184191bool pmSourcesWriteNULLs (psArray *sources, char *filename)
    185192{
     193    PS_ASSERT_PTR_NON_NULL(sources, false);
     194    PS_ASSERT_PTR_NON_NULL(filename, false);
    186195
    187196    int i;
     
    230239bool pmMomentsWriteText (psArray *sources, char *filename)
    231240{
     241    PS_ASSERT_PTR_NON_NULL(sources, false);
     242    PS_ASSERT_PTR_NON_NULL(filename, false);
    232243
    233244    int i;
Note: See TracChangeset for help on using the changeset viewer.