IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 8, 2005, 7:58:58 AM (21 years ago)
Author:
desonia
Message:

changed name of fileUtils to dataIO to better coorespond to the latest
SDRS.

Location:
trunk/psLib/src/collections
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/Makefile.am

    r3127 r3684  
    44        -I$(top_srcdir)/src/astronomy \
    55        -I$(top_srcdir)/src/dataManip \
    6         -I$(top_srcdir)/src/fileUtils \
     6        -I$(top_srcdir)/src/dataIO \
    77        -I$(top_srcdir)/src/image \
    88        -I$(top_srcdir)/src/sysUtils \
  • trunk/psLib/src/collections/psMetadata.h

    r3671 r3684  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2005-04-06 01:12:58 $
     13*  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2005-04-08 17:58:57 $
    1515*
    1616*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    317317                            const char* comment, psPtr value);
    318318
    319 
    320319/** Remove an item from metadata collection.
    321320 *
  • trunk/psLib/src/collections/psVector.c

    r3682 r3684  
    99*  @author Robert DeSonia, MHPCC
    1010*
    11 *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2005-04-07 20:27:41 $
     11*  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-04-08 17:58:57 $
    1313*
    1414*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5555    psVec->type.dimen = PS_DIMEN_VECTOR;
    5656    psVec->type.type = elemType;
    57     psVec->nalloc = nalloc;
     57    *(int*)&psVec->nalloc = nalloc;
    5858    psVec->n = nalloc;
    5959
     
    8181        // Realloc after decrementation to avoid accessing freed array elements
    8282        in->data.U8 = psRealloc(in->data.U8, nalloc * elementSize);
    83         in->nalloc = nalloc;
     83        *(int*)&in->nalloc = nalloc;
    8484    }
    8585
     
    108108    if (byteSize > in->nalloc*PSELEMTYPE_SIZEOF(in->type.type)) {
    109109        in->data.U8 = psRealloc(in->data.U8, byteSize);
    110         in->nalloc = n;
     110        *(int*)&in->nalloc = n;
    111111    }
    112112
  • trunk/psLib/src/collections/psVector.h

    r3476 r3684  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-03-22 21:52:49 $
     13 *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-04-08 17:58:57 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3333{
    3434    psType type;                ///< Type of data.
    35     psU32 nalloc;        ///< Total number of elements available.
    36     psU32 n;             ///< Number of elements in use.
     35    int n;                      ///< Number of elements in use.
     36    const int nalloc;           ///< Total number of elements available.
    3737
    3838    union {
Note: See TracChangeset for help on using the changeset viewer.