Ignore:
Timestamp:
Jan 8, 2001, 6:54:48 PM (25 years ago)
Author:
umoeller
Message:

Final changes for 0.9.7, i hope...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/stringh.c

    r18 r21  
    5959/*
    6060 *@@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.
    6167 */
    6268
     
    988994 */
    989995
    990 PSZ strhFindEOL(PSZ pszSearchIn,        // in: where to search
     996PSZ strhFindEOL(const char *pcszSearchIn,        // in: where to search
    991997                PULONG pulOffset)       // out: offset (ptr can be NULL)
    992998{
    993     PSZ     p = pszSearchIn,
    994             prc = NULL;
     999    const char *p = pcszSearchIn,
     1000               *prc = 0;
    9951001    while (TRUE)
    9961002    {
     
    10041010
    10051011    if (pulOffset)
    1006         *pulOffset = prc - pszSearchIn;
    1007     return (prc);
     1012        *pulOffset = prc - pcszSearchIn;
     1013
     1014    return ((PSZ)prc);
    10081015}
    10091016
Note: See TracChangeset for help on using the changeset viewer.