aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/version.c
diff options
context:
space:
mode:
authorNick Barnes2001-10-31 14:40:56 +0000
committerNick Barnes2001-10-31 14:40:56 +0000
commit7acfca905d76140f4cc0b09c9a12de237de364cd (patch)
tree3ed8babfa3a73d30f29e08ca5d5adcda4ca4e826 /mps/code/version.c
parentb7ce4893f9902d57cd67ac9a92fa6c3d5a8fc833 (diff)
downloademacs-7acfca905d76140f4cc0b09c9a12de237de364cd.tar.gz
emacs-7acfca905d76140f4cc0b09c9a12de237de364cd.zip
Branch imports for masters.
Copied from Perforce Change: 23678 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/version.c')
-rw-r--r--mps/code/version.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/mps/code/version.c b/mps/code/version.c
new file mode 100644
index 00000000000..73517ab5a09
--- /dev/null
+++ b/mps/code/version.c
@@ -0,0 +1,58 @@
1/* impl.c.version: VERSION INSPECTION
2 *
3 * $HopeName$
4 * Copyright (C) 2000 Harlequin Limited. All rights reserved.
5 *
6 * PURPOSE
7 *
8 * The purpose of this module is to provide a means by which the
9 * version of the MM library being used can be determined.
10 *
11 * DESIGN
12 *
13 * .design: See design.mps.version-library, but to let you in on a
14 * secret it works by declaring a string with all the necessary info
15 * in.
16 */
17
18#include "mpm.h"
19
20
21SRCID(version, "$HopeName$");
22
23
24/* MPS_RELEASE -- the release name
25 *
26 * .release: When making a new release, change the expansion of
27 * MPS_RELEASE to be a string of the form "release.dylan.crow.2" or
28 * whatever.
29 */
30
31#define MPS_RELEASE "$HopeName$ *** DEVELOPMENT ONLY ***"
32
33
34/* MPSCopyrightNotice -- copyright notice for the binary
35 *
36 * .copyright.year: This one should have the current year in it
37 * (assuming we've made any substantial changes to the library this year).
38 */
39
40char MPSCopyrightNotice[] =
41 "Copyright (C) 2000 Harlequin Limited. All rights reserved.";
42
43
44/* MPSVersion -- return version string
45 *
46 * The value of MPSVersion is a declared object comprising the
47 * concatenation of all the version info.
48 */
49
50char MPSVersionString[] =
51 "@(#)HQNMPS, "
52 "product." MPS_PROD_STRING ", " MPS_RELEASE ", platform." MPS_PF_STRING
53 ", variety." MPS_VARIETY_STRING ", compiled on " __DATE__ " " __TIME__;
54
55char *MPSVersion(void)
56{
57 return MPSVersionString;
58}