IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2006, 2:11:38 PM (20 years ago)
Author:
Paul Price
Message:

Changed definition of psArrayAlloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxframes.c

    r9392 r9735  
    9090\
    9191    return true; \
    92 } 
     92}
    9393
    9494PX_FRAME_PRINT(pzPendingFrame, pzPendingImfile);
     
    111111    } \
    112112 \
    113     psArray *allFrames = psArrayAlloc(psArrayLength(exposures)); \
     113    psArray *allFrames = psArrayAllocEmpty(psArrayLength(exposures)); \
    114114 \
    115115    for (long i = 0; i < psArrayLength(exposures); i++) { \
     
    143143 \
    144144    return allFrames; \
    145 } 
     145}
    146146
    147147PX_FRAME_SEARCH(pzPendingFrame, pzPendingExp, pzPendingImfile, exp_id);
     
    177177
    178178/*
    179 rawDetrendFrame *newToRawDetrendFrame(pxConfig *config, newFrame *newFrame) 
     179rawDetrendFrame *newToRawDetrendFrame(pxConfig *config, newFrame *newFrame)
    180180{
    181181    newExpRow       *newExp = NULL;
     
    187187
    188188    psArray *newImages = newFrame->images;
    189     psArray *rawImages = psArrayAlloc(psArrayLength(newImages));
     189    psArray *rawImages = psArrayAllocEmpty(psArrayLength(newImages));
    190190    for (long i = 0; i < psArrayLength(newImages); i++) {
    191191        newImfileRow *newImfile = newImages->data[i];
Note: See TracChangeset for help on using the changeset viewer.