IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 13, 2006, 4:26:25 PM (20 years ago)
Author:
drobbin
Message:

Added str check test for error handling of psString fxns, namely stringSubstitute. Edited memory and type to include MemCheck's for string, line, and region. Added is_psType function to check for NULLs and native types first. <-will have to update all fxns next wrt to this change. Added psStringAlloc, stringFree, regionFree. Added doxygen comments.

File:
1 edited

Legend:

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

    r7853 r7901  
    1414 *  @author David Robbins, MHPCC
    1515 *
    16  *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2006-07-10 20:15:43 $
     16 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2006-07-14 02:26:25 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3939 *  @{
    4040 */
     41
     42/** Allocates a new psString.
     43 *
     44 *  @return psString:       Newly allocated string of length n.
     45 */
     46psString psStringAlloc(
     47    long nChar                         ///< Size of psString to allocate.
     48);
     49
     50/** Checks the type of a particular pointer.
     51 *
     52 *  Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
     53 *
     54 *  @return bool:       True if the pointer matches a psString structure, false otherwise.
     55 */
     56bool psMemCheckString(
     57    psPtr ptr                          ///< the pointer whose type to check
     58);
    4159
    4260/** Copies the input string
     
    145163);
    146164
    147 
    148165/** @} */// Doxygen - End of SystemGroup Functions
    149166
Note: See TracChangeset for help on using the changeset viewer.