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/test/collections/tst_psHash03.c

    r1811 r2204  
    1111#include "psMemory.h"
    1212#define NUM_HASH_TABLE_BUCKETS 100
    13 int imGlobal = 0;
    14 int currentId = 0;
     13psS32 imGlobal = 0;
     14psS32 currentId = 0;
    1515
    1616typedef struct
     
    2727    psMemBlock **memBlocks = NULL;
    2828    psMemBlock *tmp = NULL;
    29     int numBlocks = 0;
     29    psS32 numBlocks = 0;
    3030
    3131    numBlocks = psMemCheckLeaks(currentId, &memBlocks, NULL);
     
    3636    if (memBlocks != NULL) {
    3737        for (tmp = *memBlocks; tmp != NULL; tmp = tmp->nextBlock) {
    38             printf("%d ", (int) tmp->id);
     38            printf("%d ", (psS32) tmp->id);
    3939        }
    4040    }
     
    6262}
    6363
    64 int main()
     64psS32 main()
    6565{
    6666    psHash *myHashTable = NULL;
    67     int testStatus      = true;
    68     int i               = 0;
    69     int TotalKeys       = 0;
    70     bool retVal         = false;
     67    psS32 testStatus      = true;
     68    psS32 i               = 0;
     69    psS32 TotalKeys       = 0;
     70    psBool retVal         = false;
    7171    ID *id = NULL;
    7272    ID *ids[4];
     
    7575    char *myData[] = {"IDA", "IDB", "IDC", "IDD", NULL
    7676                     };
    77     int memLeaks        = 0;
     77    psS32 memLeaks        = 0;
    7878
    7979    currentId = psMemGetId();
Note: See TracChangeset for help on using the changeset viewer.