IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2007, 3:28:23 PM (19 years ago)
Author:
jhoblitt
Message:

add pxTreePrint()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxtree.c

    r15221 r15270  
    9494    }
    9595    psFree(iter);
     96}
     97
     98
     99static bool printNodes(void *arg, pxNode *node)
     100{
     101    pxNodePrint((FILE *)arg, node);
     102    fprintf((FILE *)arg, "\n\n");
     103
     104    return true;
     105}
     106
     107
     108void pxTreePrint(FILE *stream, pxNode *root)
     109{
     110    pxTreeCrawl(root, printNodes, (void *)stream);
    96111}
    97112
Note: See TracChangeset for help on using the changeset viewer.