monoZ docs
MZ_version.h
Go to the documentation of this file.
1
7
#ifndef MZ_VERSION_H_
8
#define MZ_VERSION_H_
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
#include "
MZ_error_handler.h
"
14
#include "
MZ_common.h
"
15
19
typedef
struct
20
{
21
mzUint8
_major
;
22
mzUint8
_minor
;
23
mzUint8
_patch
;
24
}
mz_version
;
25
26
27
// Input both versions to compare and return the result
28
// MZ_OK / MZ_INVALID_VERSION
40
mz_error_t
mz_version_check
(
mz_version
* _in1,
mz_version
* _in2);
42
#ifdef __cplusplus
43
}
44
#endif
45
#endif
/* MZ_VERSION_H_ */
MZ_common.h
monoZ Lib Common.
mzUint8
unsigned char mzUint8
1 Byte data type
Definition:
MZ_common.h:57
MZ_error_handler.h
monoZ Error Handler
mz_error_t
mz_error_t
Enumeration of monoZ Error Flags.
Definition:
MZ_error_handler.h:19
mz_version_check
mz_error_t mz_version_check(mz_version *_in1, mz_version *_in2)
This function is used to comparing two versions.
mz_version
monoZ Versions
Definition:
MZ_version.h:20
mz_version::_minor
mzUint8 _minor
Definition:
MZ_version.h:22
mz_version::_patch
mzUint8 _patch
Definition:
MZ_version.h:23
mz_version::_major
mzUint8 _major
Definition:
MZ_version.h:21
inc
MZ_version.h
Generated by
1.9.3