Changeset 1160 for trunk/psLib/test/collections/tst_psVector_02.c
- Timestamp:
- Jun 30, 2004, 12:45:15 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/collections/tst_psVector_02.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/tst_psVector_02.c
r1073 r1160 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-06- 23 23:00:15 $14 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-06-30 22:45:15 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 41 41 psVector *psVec = psVectorAlloc(5, PS_TYPE_PTR); 42 42 printf("Vector size = %d\n", psVec->nalloc); 43 printf("Vector population = %d\n", psVec->n); 43 printf("Vector type = %d\n", psVec->type.type); 44 printf("Vector dimen = %d\n", psVec->type.dimen); 44 45 printFooter(stdout, "psVector", "Create void pointer vector", true); 45 46 … … 53 54 mySt[i] = ts; 54 55 psVec->data.PTR[i] = ts; 55 psVec->n++;56 56 psMemIncrRefCounter(ts); 57 57 }
Note:
See TracChangeset
for help on using the changeset viewer.
