src/hg/hgTracks/hgTracks.h 1.194
1.194 2009/12/21 22:43:34 markd
remove fixed length restrion on size of item names. reduce per-item memory usage by removing unusaed array
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.193
retrieving revision 1.194
diff -b -B -U 4 -r1.193 -r1.194
--- src/hg/hgTracks/hgTracks.h 1 Dec 2009 05:49:36 -0000 1.193
+++ src/hg/hgTracks/hgTracks.h 21 Dec 2009 22:43:34 -0000 1.194
@@ -278,17 +278,16 @@
int tallStart, tallEnd; /* Start/end of fat display. */
int grayIx; /* Average of components. */
int filterColor; /* Filter color (-1 for none) */
float score; /* score for this feature */
- char name[64]; /* Accession of query seq. */
+ char *name; /* Accession of query seq. */
int orientation; /* Orientation. */
struct simpleFeature *components; /* List of component simple features. */
struct simpleFeature *codons; /* If zoomed to CDS or codon level.*/
void *extra; /* Extra info that varies with type. */
void *original; /* The structure that was converted
into this (when needed later). */
struct itemAttr *itemAttr; /* itemAttr object for this lf, or NULL */
- char popUp[128]; /* text for popup */
};
struct linkedFeaturesSeries
/* series of linked features that are comprised of multiple linked features */