IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 4, 2006, 12:15:04 PM (19 years ago)
Author:
Paul Price
Message:

Changing API for psStringSubstitute to something less prone to user mistake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psString.h

    r10286 r10446  
    1414 *  @author David Robbins, MHPCC
    1515 *
    16  *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2006-11-29 21:33:09 $
     16 *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2006-12-04 22:15:04 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    191191 *  the replacement value wherever found.  The input string may be freed if not needed.
    192192 *
    193  *  @return char*:      the modified input string.
    194  */
    195 psString psStringSubstitute (
    196     psString input,                     ///< input string to be modified
     193 *  @return ssize_t:      the length of the new string (excluding '\0')
     194 */
     195ssize_t psStringSubstitute (
     196    psString *input,                    ///< ptr to input string to be modified
    197197    const char *replace,                ///< replacement value
    198198    const char *key                     ///< string to be replaced in input
Note: See TracChangeset for help on using the changeset viewer.