TEMU
4.4
The Terma Emulator
Version.h
Go to the documentation of this file.
1
//===-- temu-c/Support/Version.h - TEMU Version API -------------*- C++ -*-===//
2
//
3
// TEMU: The Terma Emulator
4
// (c) Terma 2022
5
// Authors: Mattias Holm <maho (at) terma.com>
6
//
7
//===----------------------------------------------------------------------===//
8
9
10
#
ifndef
TEMU_VERSION_H
11
#
define
TEMU_VERSION_H
12
#
include
"temu-c/Support/Attributes.h"
13
#
ifdef
__cplusplus
14
extern
"C"
{
15
#
endif
16
17
/*!
18
* Get TEMU version string.
19
* \result Version string in format like: <MAJOR>.<MINOR>.<PATCH> (<REVISION>)
20
*/
21
TEMU_API
const
char
*
temu_getVersionString
(
void
);
22
23
/*!
24
* Get TEMU major version as number.
25
* \result Major version number
26
*/
27
TEMU_API
unsigned
temu_getMajorVersion
(
void
);
28
29
/*!
30
* Get TEMU minor version as number.
31
* \result Minor version number
32
*/
33
TEMU_API
unsigned
temu_getMinorVersion
(
void
);
34
35
/*!
36
* Get TEMU patch version as number.
37
* \result Patch version number
38
*/
39
TEMU_API
unsigned
temu_getPatchVersion
(
void
);
40
41
#
ifdef
__cplusplus
42
}
43
#
endif
44
45
#
endif
// !TEMU_VERSION_H
temu_getMinorVersion
TEMU_API unsigned temu_getMinorVersion(void)
temu_getPatchVersion
TEMU_API unsigned temu_getPatchVersion(void)
temu_getVersionString
const TEMU_API char * temu_getVersionString(void)
temu_getMajorVersion
TEMU_API unsigned temu_getMajorVersion(void)
temu-c
Support
Version.h
Generated by
1.8.17