IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2006, 12:55:05 PM (20 years ago)
Author:
Paul Price
Message:

Following today's meeting, we agreed that psVectorAlloc (and therefore
psArrayAlloc also) shall set the number of elements in use to equal the
number of elements allocated. We introduce new functions,
psVectorAllocEmpty and psArrayAllocEmpty, that allocate a vector and set
the length to zero.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.c

    r9591 r9730  
    44 *  @author EAM (IfA)
    55 *
    6  *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2006-10-17 01:25:22 $
     6 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2006-10-24 22:55:05 $
    88 *
    99 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    883883
    884884    // we load all input files onto a psArray, to be parsed later
    885     psArray *input = psArrayAlloc (16);
    886     input->n = 0;
     885    psArray *input = psArrayAllocEmpty(16);
    887886
    888887    // load the list of filenames the supplied file
Note: See TracChangeset for help on using the changeset viewer.