Changeset 28486 for trunk/ippTools/src/pxtools.c
- Timestamp:
- Jun 24, 2010, 3:02:57 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/pxtools.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap merged: 28179,28188-28189,28195,28197,28199-28200,28441,28443,28454-28485
- Property svn:mergeinfo changed
-
trunk/ippTools/src
- Property svn:ignore
-
old new 39 39 warptool 40 40 staticskytool 41 41 bgtool 42 42 diffphottool
-
- Property svn:ignore
-
trunk/ippTools/src/pxtools.c
r28321 r28486 48 48 } 49 49 50 bool pxIsValidCleanedState(const char *state) 51 { 52 PS_ASSERT_PTR_NON_NULL(state, false); 53 54 if (!strcmp(state, "cleaned")) return true; 55 if (!strcmp(state, "purged")) return true; 56 if (!strcmp(state, "scrubbed")) return true; 57 return false; 58 } 59 50 60 psString pxMergeCodeVersions(psString version1, psString version2) 51 61 { … … 211 221 212 222 // change the value for tableName.columName from 'full' to 'cleaned' if necessary 213 bool pxSetStateCleaned(const psString tableName, const psStringcolumnName, psArray *rows)223 bool pxSetStateCleaned(const char *tableName, const char *columnName, psArray *rows) 214 224 { 215 225 for (long i = 0; i < psArrayLength(rows); i++) { 216 226 psMetadata *row = rows->data[i]; 217 psStringstate = psMetadataLookupStr(NULL, row, columnName);227 const char *state = psMetadataLookupStr(NULL, row, columnName); 218 228 if (!state) { 219 229 psError(PS_ERR_PROGRAMMING, false, "%s not found in row %ld of table %s",
Note:
See TracChangeset
for help on using the changeset viewer.
