527428fffb4613aff49b19580e90b8e66ee99204 angie Mon Apr 15 12:36:13 2013 -0700 Ripping out unused annoColumn -- it's really an output option for tab-sep or CT output and could simply be an slName list. refs #6152 diff --git src/lib/annoColumn.c src/lib/annoColumn.c deleted file mode 100644 index a10cb84..0000000 --- src/lib/annoColumn.c +++ /dev/null @@ -1,41 +0,0 @@ -/* annoColumn -- def. of column plus flag for inclusion in output of annoGratorQuery framework */ - -#include "annoColumn.h" - -struct annoColumn *annoColumnsFromAsObject(struct asObject *asObj) -/* Create a list of columns from asObj; by default, all are set to be included in output. - * Callers: do not modify any column's def! */ -{ -struct annoColumn *colList = NULL; -struct asColumn *asCol; -for (asCol = asObj->columnList; asCol != NULL; asCol = asCol->next) - { - struct annoColumn *col; - AllocVar(col); - col->def = asCol; - col->included = TRUE; - slAddHead(&colList, col); - } -slReverse(&colList); -return colList; -} - -struct annoColumn *annoColumnCloneList(struct annoColumn *list) -/* Shallow-copy a list of annoColumns. Callers: do not modify any column's def! */ -{ -struct annoColumn *newList = NULL, *oldC; -for (oldC = list; oldC != NULL; oldC = oldC->next) - { - struct annoColumn *newC = CloneVar(oldC); - slAddHead(&newList, newC); - } -slReverse(&newList); -return newList; -} - -void annoColumnFreeList(struct annoColumn **pList) -/* Shallow-free a list of annoColumns. Does not free any column's def. */ -{ -slFreeList(pList); -} -