IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8414 for trunk/psLib/src/types


Ignore:
Timestamp:
Aug 17, 2006, 2:21:59 PM (20 years ago)
Author:
drobbin
Message:

Edited format of ItemParse and printing tests. Updated accordingly. Added tests for creating metadata (allocs, adds, free's, etc.) and a new test for manipulating metadata (lookups, removes, etc.) (<-not yet done but in the makefile so including it). execute_tap is a simple shell script to run all of the tap tests in the types directory. Future expansion is anticipated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadata.c

    r8374 r8414  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.124 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-08-16 03:28:13 $
     14 *  @version $Revision: 1.125 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-08-18 00:21:59 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    102102static void metadataItemFree(psMetadataItem* metadataItem)
    103103{
    104     psDataType type;
    105 
    106     type = metadataItem->type;
    107 
    108104    if (metadataItem == NULL) {
    109105        return;
    110106    }
     107    psDataType type;
     108
     109    type = metadataItem->type;
     110
    111111
    112112    psMemDecrRefCounter(metadataItem->name);
Note: See TracChangeset for help on using the changeset viewer.