src/inc/localmem.h 1.9
1.9 2009/12/03 20:04:29 kent
Adding lmCloneSomeWord.
Index: src/inc/localmem.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/localmem.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 4 -r1.8 -r1.9
--- src/inc/localmem.h 1 Dec 2009 23:10:44 -0000 1.8
+++ src/inc/localmem.h 3 Dec 2009 20:04:29 -0000 1.9
@@ -27,8 +27,12 @@
char *lmCloneFirstWord(struct lm *lm, char *line);
/* Clone first word in line */
+char *lmCloneSomeWord(struct lm *lm, char *line, int wordIx);
+/* Return a clone of the given space-delimited word within line. Returns NULL if
+ * not that many words in line. */
+
struct slName *lmSlName(struct lm *lm, char *name);
/* Return slName in memory. */
void *lmCloneMem(struct lm *lm, void *pt, size_t size);