IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2006, 4:58:43 PM (20 years ago)
Author:
magnier
Message:

pmModelGroupInit now returns status telling if init was performed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmModelGroup.c

    r6873 r7478  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-04-17 18:10:08 $
     8 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-06-10 02:58:43 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7676}
    7777
    78 void pmModelGroupInit (void)
    79 {
     78bool pmModelGroupInit (void)
     79{
     80
     81    // if we do not need to init, return false;
     82    if (models != NULL)
     83        return false;
    8084
    8185    int Nnew = sizeof (defaultModels) / sizeof (pmModelGroup);
     
    8690    }
    8791    Nmodels = Nnew;
    88     return;
     92    return true;
    8993}
    9094
Note: See TracChangeset for help on using the changeset viewer.