libopenmpt
0.8.0-pre.12+r22265
cross-platform C++ and C library to decode tracked music files
libopenmpt_version.h
Go to the documentation of this file.
1
/*
2
* libopenmpt_version.h
3
* --------------------
4
* Purpose: libopenmpt public interface version
5
* Notes : (currently none)
6
* Authors: OpenMPT Devs
7
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
8
*/
9
10
#ifndef LIBOPENMPT_VERSION_H
11
#define LIBOPENMPT_VERSION_H
12
13
/* clang-format off */
14
20
#define OPENMPT_API_VERSION_MAJOR 0
22
#define OPENMPT_API_VERSION_MINOR 8
24
#define OPENMPT_API_VERSION_PATCH 0
26
#define OPENMPT_API_VERSION_PREREL "-pre.12"
28
#define OPENMPT_API_VERSION_IS_PREREL 1
29
40
#define OPENMPT_API_VERSION_MAKE(major, minor, patch) (((major)<<24)|((minor)<<16)|((patch)<<0))
41
43
#define OPENMPT_API_VERSION OPENMPT_API_VERSION_MAKE(OPENMPT_API_VERSION_MAJOR, OPENMPT_API_VERSION_MINOR, OPENMPT_API_VERSION_PATCH)
44
55
#define OPENMPT_API_VERSION_AT_LEAST(major, minor, patch) (OPENMPT_API_VERSION >= OPENMPT_API_VERSION_MAKE((major), (minor), (patch)))
56
67
#define OPENMPT_API_VERSION_BEFORE(major, minor, patch) (OPENMPT_API_VERSION < OPENMPT_API_VERSION_MAKE((major), (minor), (patch)))
68
69
#define OPENMPT_API_VERSION_HELPER_STRINGIZE(x) #x
70
#define OPENMPT_API_VERSION_STRINGIZE(x) OPENMPT_API_VERSION_HELPER_STRINGIZE(x)
71
#define OPENMPT_API_VERSION_STRING OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_MAJOR) "."
OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_MINOR) "." OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_PATCH) OPENMPT_API_VERSION_PREREL
72
77
/* clang-format on */
78
79
#endif
/* LIBOPENMPT_VERSION_H */
libopenmpt
libopenmpt_version.h
Generated on Sat Nov 23 2024 23:49:04 for libopenmpt by
1.9.4