src/inc/common.h 1.171
1.171 2010/04/20 15:56:49 markd
made parameter name C++ friendly
Index: src/inc/common.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/common.h,v
retrieving revision 1.170
retrieving revision 1.171
diff -b -B -U 4 -r1.170 -r1.171
--- src/inc/common.h 15 Apr 2010 19:25:12 -0000 1.170
+++ src/inc/common.h 20 Apr 2010 15:56:49 -0000 1.171
@@ -762,10 +762,10 @@
Can take any length string.
Return value needs to be freeMem'd.
*/
-int strSwapStrs(char *string, int sz,char *old, char *new);
-/* Swaps all occurnces of the old with the new in string. Need not be same size
+int strSwapStrs(char *string, int sz,char *oldStr, char *newStr);
+/* Swaps all occurrences of the oldStr with the newStr in string. Need not be same size
Swaps in place but restricted by sz. Returns count of swaps or -1 for sz failure.*/
char * memSwapChar(char *s, int len, char oldChar, char newChar);
/* Substitute newChar for oldChar throughout memory of given length.