Changeset 11765 for trunk/ippTools/src/warptoolConfig.c
- Timestamp:
- Feb 12, 2007, 6:03:36 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/warptoolConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/warptoolConfig.c
r11763 r11765 78 78 psMetadataAddS32(addinputexpArgs, PS_LIST_TAIL, "-p3_version", 0, 79 79 "define phase 3 version of exposure tag (required)", 0); 80 psMetadataAddBool( definerunArgs, PS_LIST_TAIL, "-magiced", 0,80 psMetadataAddBool(addinputexpArgs, PS_LIST_TAIL, "-magiced", 0, 81 81 "has this exposure been magiced", false); 82 82 … … 348 348 config->where = psMetadataAlloc(); 349 349 350 addWhereS32(p4_id); 350 { 351 psString str = NULL; 352 bool status = false; 353 if ((str = psMetadataLookupStr(&status, config->args, "-p4_id"))) { 354 if (!psMetadataAddS32(config->where, PS_LIST_TAIL, "p4_id", 0, "==", (psS32)atoi(str))) { 355 psError(PS_ERR_UNKNOWN, false, "failed to add item p4_id"); 356 goto FAIL; 357 } 358 } 359 } 351 360 352 361 if (config->where->list->n < 1) {
Note:
See TracChangeset
for help on using the changeset viewer.
