06c5aff972165106c796ce5504930f8edc9446e3 angie Fri Apr 5 15:49:20 2013 -0700 Moving annoRowCmp from oneShot to annoRow.[ch]. diff --git src/inc/annoRow.h src/inc/annoRow.h index 01b57cd..4cc75dc 100644 --- src/inc/annoRow.h +++ src/inc/annoRow.h @@ -32,16 +32,19 @@ struct annoRow *annoRowWigNew(char *chrom, uint start, uint end, boolean rightJoinFail, float *values); /* Allocate & return an annoRowWig, with clone of values; length of values is (end-start). */ struct annoRow *annoRowClone(struct annoRow *rowIn, struct annoStreamer *source); /* Allocate & return a single annoRow cloned from rowIn. * numCols is used only if rowIn->type is arWords. */ void annoRowFree(struct annoRow **pRow, struct annoStreamer *source); /* Free a single annoRow. */ void annoRowFreeList(struct annoRow **pList, struct annoStreamer *source); /* Free a list of annoRows. */ +int annoRowCmp(const void *va, const void *vb); +/* Compare two annoRows' {chrom, start, end}. */ + #endif//ndef ANNOROW_H