File indexing completed on 2025-09-18 09:19:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef LZMA_H_INTERNAL
0014 # error Never include this file directly. Use <lzma.h> instead.
0015 #endif
0016
0017
0018
0019 #define LZMA_VERSION_MAJOR 5
0020
0021
0022 #define LZMA_VERSION_MINOR 6
0023
0024
0025 #define LZMA_VERSION_PATCH 3
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035 #define LZMA_VERSION_STABILITY LZMA_VERSION_STABILITY_STABLE
0036
0037
0038 #ifndef LZMA_VERSION_COMMIT
0039 # define LZMA_VERSION_COMMIT ""
0040 #endif
0041
0042
0043
0044
0045
0046 #define LZMA_VERSION_STABILITY_ALPHA 0
0047 #define LZMA_VERSION_STABILITY_BETA 1
0048 #define LZMA_VERSION_STABILITY_STABLE 2
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067 #define LZMA_VERSION (LZMA_VERSION_MAJOR * UINT32_C(10000000) \
0068 + LZMA_VERSION_MINOR * UINT32_C(10000) \
0069 + LZMA_VERSION_PATCH * UINT32_C(10) \
0070 + LZMA_VERSION_STABILITY)
0071
0072
0073
0074
0075
0076 #if LZMA_VERSION_STABILITY == LZMA_VERSION_STABILITY_ALPHA
0077 # define LZMA_VERSION_STABILITY_STRING "alpha"
0078 #elif LZMA_VERSION_STABILITY == LZMA_VERSION_STABILITY_BETA
0079 # define LZMA_VERSION_STABILITY_STRING "beta"
0080 #elif LZMA_VERSION_STABILITY == LZMA_VERSION_STABILITY_STABLE
0081 # define LZMA_VERSION_STABILITY_STRING ""
0082 #else
0083 # error Incorrect LZMA_VERSION_STABILITY
0084 #endif
0085
0086 #define LZMA_VERSION_STRING_C_(major, minor, patch, stability, commit) \
0087 #major "." #minor "." #patch stability commit
0088
0089 #define LZMA_VERSION_STRING_C(major, minor, patch, stability, commit) \
0090 LZMA_VERSION_STRING_C_(major, minor, patch, stability, commit)
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102 #define LZMA_VERSION_STRING LZMA_VERSION_STRING_C( \
0103 LZMA_VERSION_MAJOR, LZMA_VERSION_MINOR, \
0104 LZMA_VERSION_PATCH, LZMA_VERSION_STABILITY_STRING, \
0105 LZMA_VERSION_COMMIT)
0106
0107
0108
0109 #ifndef LZMA_H_INTERNAL_RC
0110
0111
0112
0113
0114
0115
0116
0117
0118
0119 extern LZMA_API(uint32_t) lzma_version_number(void)
0120 lzma_nothrow lzma_attr_const;
0121
0122
0123
0124
0125
0126
0127
0128
0129
0130
0131 extern LZMA_API(const char *) lzma_version_string(void)
0132 lzma_nothrow lzma_attr_const;
0133
0134 #endif