IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 29, 2004, 2:29:06 PM (22 years ago)
Author:
harman
Message:

Added XML parser

File:
1 edited

Legend:

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

    r2301 r2521  
    1212*  @author Ross Harman, MHPCC
    1313*
    14 *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2004-11-09 00:36:13 $
     14*  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2004-11-30 00:26:53 $
    1616*
    1717*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8282    psFree(metadataItem->items);
    8383    if (type == PS_META_STR || type == PS_META_VEC || type == PS_META_IMG || type == PS_META_LOOKUPTABLE ||
    84             type == PS_META_JPEG || type == PS_META_PNG || type == PS_META_ASTROM || type == PS_META_UNKNOWN) {
     84            type == PS_META_JPEG || type == PS_META_PNG || type == PS_META_ASTROM || type == PS_META_UNKNOWN ||
     85            type == PS_META_HASH) {
    8586        psFree(metadataItem->data.V);
    8687    }
     
    183184    case PS_META_LOOKUPTABLE:
    184185        metadataItem->data.V = va_arg(argPtr, psLookupTable*); // Deep copy of input data not performed
     186        break;
     187    case PS_META_HASH:
     188        metadataItem->data.V = va_arg(argPtr, psHash*); // Deep copy of input data not performed
    185189        break;
    186190    case PS_META_IMG:
     
    211215    // Allocate metadata's internal containers
    212216    list = (psList* ) psListAlloc(NULL);
    213 
    214217    table = (psHash* ) psHashAlloc(10);
    215218
Note: See TracChangeset for help on using the changeset viewer.