IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psArray.h

    r1920 r2204  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-09-28 23:26:48 $
     14 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-10-27 00:57:31 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2020#ifndef PS_ARRAY_H
    2121#define PS_ARRAY_H
    22 
    23 #include<stdbool.h>
    2422
    2523#include "psType.h"
     
    3634typedef struct
    3735{
    38     unsigned int nalloc;        ///< Total number of elements available.
    39     unsigned int n;             ///< Number of elements in use.
    40     psPTR* data;                ///< An Array of pointer elements
     36    psU32 nalloc;        ///< Total number of elements available.
     37    psU32 n;             ///< Number of elements in use.
     38    psPtr* data;                ///< An Array of pointer elements
    4139}
    4240psArray;
     
    5755 */
    5856psArray* psArrayAlloc(
    59     unsigned int nalloc                ///< Total number of elements to make available.
     57    psU32 nalloc                ///< Total number of elements to make available.
    6058);
    6159
     
    7068psArray* psArrayRealloc(
    7169    psArray* restrict psArr,           ///< array to reallocate.
    72     unsigned int nalloc                ///< Total number of elements to make available.
     70    psU32 nalloc                ///< Total number of elements to make available.
    7371);
    7472
     
    8179 *
    8280 */
    83 bool psArrayRemove(
     81psBool psArrayRemove(
    8482    psArray* psArr,                    ///< array to operate on
    85     psPTR data                         ///< the data pointer to remove from psArray
     83    psPtr data                         ///< the data pointer to remove from psArray
    8684);
    8785
Note: See TracChangeset for help on using the changeset viewer.