IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 28, 2004, 1:26:49 PM (22 years ago)
Author:
desonia
Message:

changed function prototypes to match changes in the SDRS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psVector.c

    r1406 r1920  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2004-08-06 22:34:05 $
     16 *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2004-09-28 23:26:49 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5151    // Test C - Reallocate S32 vector bigger
    5252    printPositiveTestHeader(stdout,"psVector", "Reallocate S32 vector bigger");
    53     psVec = psVectorRealloc(10, psVec);
     53    psVec = psVectorRealloc(psVec,10);
    5454    printf("Adding more elements to S32 vector...\n");
    5555    for(int i = 5; i < 10; i++) {
     
    6565    // Test D - Reallocate S32 vector smaller
    6666    printPositiveTestHeader(stdout,"psVector","Reallocate S32 vector smaller");
    67     psVec = psVectorRealloc(3, psVec);
     67    psVec = psVectorRealloc(psVec,3);
    6868    printf("Vector size = %d\n", psVec->nalloc);
    6969    for(int i = 0; i < 3; i++) {
     
    104104                            "Null input vector", 0);
    105105    psLogMsg(__func__,PS_LOG_INFO, "Following should be an error message.");
    106     psVectorRealloc(6, NULL);
     106    psVectorRealloc(NULL,6);
    107107    printFooter(stdout, "psVector", "Attempt to realloc a null S32 vector", true);
    108108
Note: See TracChangeset for help on using the changeset viewer.