Changeset 21 for trunk/src/helpers/stringh.c
- Timestamp:
- Jan 8, 2001, 6:54:48 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/stringh.c
r18 r21 59 59 /* 60 60 *@@category: Helpers\C helpers\String management 61 * See stringh.c and xstring.c. 62 */ 63 64 /* 65 *@@category: Helpers\C helpers\String management\C string helpers 66 * See stringh.c. 61 67 */ 62 68 … … 988 994 */ 989 995 990 PSZ strhFindEOL( PSZ pszSearchIn, // in: where to search996 PSZ strhFindEOL(const char *pcszSearchIn, // in: where to search 991 997 PULONG pulOffset) // out: offset (ptr can be NULL) 992 998 { 993 PSZ p = pszSearchIn,994 prc = NULL;999 const char *p = pcszSearchIn, 1000 *prc = 0; 995 1001 while (TRUE) 996 1002 { … … 1004 1010 1005 1011 if (pulOffset) 1006 *pulOffset = prc - pszSearchIn; 1007 return (prc); 1012 *pulOffset = prc - pcszSearchIn; 1013 1014 return ((PSZ)prc); 1008 1015 } 1009 1016
Note:
See TracChangeset
for help on using the changeset viewer.