IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 3, 2005, 1:35:07 PM (22 years ago)
Author:
harman
Message:

Added psLibVersion function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psConfigure.c

    r2725 r2867  
    1212 *  @author Robert DeSonia, MHPCC
    1313 *
    14  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-12-16 18:53:19 $
     14 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-01-03 23:35:07 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1818 */
     19#include "psString.h"
    1920#include "psTime.h"
    2021#include "psError.h"
     
    2223#include "psSysUtilsErrors.h"
    2324
     25
     26#ifndef PS_LIB_VERSION
     27#define PS_LIB_VERSION "psLib version unknown"
     28#pragma warning PS_LIB_VERSION was not defined in the makefile.
     29#endif
     30
    2431char* psLibVersion(void)
    2532{
    26     // Please code me, Robert.
    27     return("Version XXX");
     33    // PS_LIB_VERSION comes from Makefile.Globals
     34    return(psStringCopy(PS_LIB_VERSION));
    2835}
    2936
     
    4249void psLibFinalize(void)
    4350{
     51    // Users of persistent memory should free them in this function
     52
    4453    if(!p_psTimeFinalize()) {
    4554        psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psTime");
Note: See TracChangeset for help on using the changeset viewer.