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/psLib/src/jpeg/psImageJpeg.c

    r8977 r9730  
    3333    map->blue  = psVectorAlloc(256, PS_TYPE_U8);
    3434    map->green = psVectorAlloc(256, PS_TYPE_U8);
    35 
    36     map->red->n = 256;
    37     map->blue->n = 256;
    38     map->green->n = 256;
    3935
    4036    return map;
Note: See TracChangeset for help on using the changeset viewer.