- Timestamp:
- Jan 29, 2009, 3:39:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/ppArith/src/ppArithVersion.c
r15571 r21229 1 /** @file ppArithVersion.c 2 * 3 * @brief 4 * 5 * @ingroup ppArith 6 * 7 * @author IfA 8 * @version $Revision: 1.1.32.1 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-01-30 01:39:49 $ 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 */ 12 1 13 #ifdef HAVE_CONFIG_H 2 14 #include <config.h> … … 10 22 #include "ppArith.h" 11 23 12 static const char *cvsTag = "$Name: not supported by cvs2svn $";/ / CVS tag name24 static const char *cvsTag = "$Name: not supported by cvs2svn $";/** CVS tag name */ 13 25 14 26 psString ppArithVersion(void) 15 27 { 16 psString version = NULL; / / Version, to return28 psString version = NULL; /** Version, to return */ 17 29 psStringAppend(&version, "%s-%s",PACKAGE_NAME,PACKAGE_VERSION); 18 30 return version; … … 21 33 psString ppArithVersionLong(void) 22 34 { 23 psString version = ppArithVersion(); / / Version, to return35 psString version = ppArithVersion(); /** Version, to return */ 24 36 psString tag = psStringStripCVS(cvsTag, "Name"); // CVS tag 25 37 psStringAppend(&version, " (cvs tag %s) %s, %s", tag, __DATE__, __TIME__); … … 33 45 PS_ASSERT_METADATA_NON_NULL(metadata,); 34 46 35 psString pslib = psLibVersionLong();/ / psLib version36 psString psmodules = psModulesVersionLong(); / / psModules version37 psString ppStats = ppStatsVersionLong(); / / ppStats version38 psString ppArith = ppArithVersionLong(); / / ppArith version47 psString pslib = psLibVersionLong();/** psLib version */ 48 psString psmodules = psModulesVersionLong(); /** psModules version */ 49 psString ppStats = ppStatsVersionLong(); /** ppStats version */ 50 psString ppArith = ppArithVersionLong(); /** ppArith version */ 39 51 40 psTime *time = psTimeGetNow(PS_TIME_TAI); / / The time now41 psString timeString = psTimeToISO(time); / / The time in an ISO string52 psTime *time = psTimeGetNow(PS_TIME_TAI); /** The time now */ 53 psString timeString = psTimeToISO(time); /** The time in an ISO string */ 42 54 psFree(time); 43 psString head = NULL; / / Head string55 psString head = NULL; /** Head string */ 44 56 psStringAppend(&head, "ppArith processing at %s. Component information:", timeString); 45 57 psFree(timeString);
Note:
See TracChangeset
for help on using the changeset viewer.
