Changeset 23804 for trunk/psastro/src/psastroVersion.c
- Timestamp:
- Apr 9, 2009, 10:51:54 PM (17 years ago)
- Location:
- trunk/psastro/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psastroVersion.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src
- Property svn:ignore
-
old new 17 17 psastroModelFit 18 18 psastroExtract 19 psastroVersionDefinitions.h
-
- Property svn:ignore
-
trunk/psastro/src/psastroVersion.c
r23289 r23804 9 9 10 10 #include "psastroInternal.h" 11 #include "psastroVersionDefinitions.h" 11 12 12 13 #ifndef PSASTRO_VERSION … … 20 21 #endif 21 22 22 #define xstr(s) str(s)23 #define str(s) #s24 25 23 psString psastroVersion(void) 26 24 { 27 25 char *value = NULL; 28 psStringAppend(&value, "%s@%s", xstr(PSASTRO_BRANCH), xstr(PSASTRO_VERSION));26 psStringAppend(&value, "%s@%s", PSASTRO_BRANCH, PSASTRO_VERSION); 29 27 return value; 30 28 } … … 32 30 psString psastroSource(void) 33 31 { 34 return psStringCopy( xstr(PSASTRO_SOURCE));32 return psStringCopy(PSASTRO_SOURCE); 35 33 } 36 34
Note:
See TracChangeset
for help on using the changeset viewer.
