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/psLine.h

    r7847 r7901  
    11/** @file  psLine.h
    22 *
    3  * the psLine functions allow manipulation of fixed-length lines
     3 *
     4 *  @brief Contains the declarations of line utility functions
     5 *
     6 *  @ingroup SysUtils
     7 *
     8 *  The psLine functions allow manipulation of fixed-length lines.
     9 *
     10 *  @author Paul Price, IFA
     11 *  @author David Robbins, MHPCC
     12 *
     13 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-07-14 02:26:25 $
     15 *
     16 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    417 */
    518
    619#ifndef PS_LINE_H
    720#define PS_LINE_H
     21
     22/** @addtogroup SysUtils
     23 *  @{
     24 */
    825
    926/** Structure to carry a dynamic string */
     
    1633psLine;
    1734
    18 /** Allocates a line object of length Nline
     35/** Allocates a line object of length Nline.
    1936 *
    2037 *  @return psLine*:        the newly allocated line object.
    2138*/
    2239psLine *psLineAlloc(
    23     long Nline                         ///<
     40    long Nline                         ///< length of line object to allocate
     41);
     42
     43/** Checks the type of a particular pointer.
     44 *
     45 *  Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
     46 *
     47 *  @return bool:       True if the pointer matches a psLine structure, false otherwise.
     48 */
     49bool psMemCheckLine(
     50    psPtr ptr                          ///< the pointer whose type to check
    2451);
    2552
     
    3259*/
    3360bool psLineInit(
    34     psLine *line                       ///<
     61    psLine *line                       ///< line to (re-)initialize
    3562);
    3663
Note: See TracChangeset for help on using the changeset viewer.