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/camera/pmHDUGenerate.c

    r9603 r9730  
    294294    // Generate the HDU
    295295    hdu->images = psArrayAlloc(numReadouts);
    296     hdu->images->n = numReadouts;
    297296    for (int i = 0; i < numReadouts; i++) {
    298297        psImage *image = psImageAlloc(xSize, ySize, type);
Note: See TracChangeset for help on using the changeset viewer.