Changeset 26413
- Timestamp:
- Dec 15, 2009, 6:07:32 PM (16 years ago)
- Location:
- branches/eam_branches/20091201/psLib/src/types
- Files:
-
- 2 edited
-
psMetadata.c (modified) (2 diffs)
-
psMetadata.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psLib/src/types/psMetadata.c
r25383 r26413 622 622 623 623 // may need to extend this to change the keyname in the copy 624 bool psMetadataItemSupplement(psMetadata *out, 624 bool psMetadataItemSupplement(bool *status, 625 psMetadata *out, 625 626 const psMetadata *in, 626 627 const char *key) … … 632 633 psMetadataItem *item = psMetadataLookup(in, key); 633 634 if (!item) { 634 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Could not find '%s' in metadata.\n", key); 635 if (status) { 636 *status = false; 637 } else { 638 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Could not find '%s' in metadata.\n", key); 639 } 635 640 return false; 636 641 } -
branches/eam_branches/20091201/psLib/src/types/psMetadata.h
r25383 r26413 545 545 */ 546 546 bool psMetadataItemSupplement( 547 bool *status, ///< if supplied, returns true/false if key is found (suppresses the error) 547 548 psMetadata *out, ///< output Metadata container for copying. 548 549 const psMetadata *in, ///< Metadata collection from which to copy.
Note:
See TracChangeset
for help on using the changeset viewer.
