Changeset 17144 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Mar 25, 2008, 1:14:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r17142 r17144 1455 1455 { 1456 1456 psMetadata *md; 1457 warpMaskRow *object; 1458 bool status; 1459 1460 object = warpMaskRowAlloc("a string"); 1461 if (!object) { 1462 exit(EXIT_FAILURE); 1463 } 1464 1465 md = warpMaskMetadataFromObject(object); 1466 if (!md) { 1467 exit(EXIT_FAILURE); 1468 } 1469 1470 psFree(object); 1471 1472 if (strncmp(psMetadataLookupPtr(&status, md, "label"), "a string", MAX_STRING_LENGTH)) { 1473 psFree(md); 1474 exit(EXIT_FAILURE); 1475 } 1476 1477 psFree(md); 1478 } 1479 1480 { 1481 psMetadata *md; 1457 1482 diffRunRow *object; 1458 1483 bool status;
Note:
See TracChangeset
for help on using the changeset viewer.
