cfad47cfa3/tads3/vmvsn.h

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
/* $Header$ */
2
3
/* 
4
 *   Copyright (c) 1999, 2006 Michael J. Roberts.  All Rights Reserved.
5
 *   
6
 *   Please see the accompanying license file, LICENSE.TXT, for information
7
 *   on using and copying this software.  
8
 */
9
/*
10
Name
11
  vmvsn.h - VM Version Information
12
Function
13
  
14
Notes
15
  
16
Modified
17
  07/12/99 MJRoberts  - Creation
18
*/
19
20
#ifndef VMVSN_H
21
#define VMVSN_H
22
23
/*
24
 *   The VM version number.  A VM program can obtain this value through
25
 *   the get_vm_vsn() function in the T3VM intrinsic function set.
26
 *   
27
 *   The value is encoded as a 32-bit value with the major version number
28
 *   in the high-order 16 bits, the minor version number in the next 8
29
 *   bits, and the patch release number in the low-order 8 bits.  So, the
30
 *   release 1.2.3 would be encoded as 0x00010203.  
31
 */
32
#define MAKE_VERSION_NUMBER(major,minor,maint) \
33
    (((major) << 16) | ((minor) << 8) | (maint))
34
#define T3VM_VSN_NUMBER  MAKE_VERSION_NUMBER(3,0,18)
35
36
/*
37
 *   The VM identification string 
38
 */
39
#define T3VM_IDENTIFICATION "mjr-T3"
40
41
/*
42
 *   The VM short version string.  This contains merely the version number,
43
 *   in display format.  
44
 */
45
#define T3VM_VSN_STRING "3.0.18.1"
46
47
/*
48
 *   The VM banner string.  A VM program can obtain this value through the
49
 *   get_vm_banner() function in the T3VM intrinsic function set. 
50
 */
51
/* copyright-date-string */
52
#define T3VM_BANNER_STRING \
53
    "T3 VM " T3VM_VSN_STRING " - Copyright 1999, 2009 Michael J. Roberts"
54
55
#endif /* VMVSN_H */
56