Zycore
1.2.0.0
|
#include <Zycore/Types.h>
Go to the source code of this file.
Macros | |
#define | ZYCORE_VERSION (ZyanU64)0x0001000200000000 |
#define | ZYCORE_VERSION_MAJOR(version) (ZyanU16)((version & 0xFFFF000000000000) >> 48) |
#define | ZYCORE_VERSION_MINOR(version) (ZyanU16)((version & 0x0000FFFF00000000) >> 32) |
#define | ZYCORE_VERSION_PATCH(version) (ZyanU16)((version & 0x00000000FFFF0000) >> 16) |
#define | ZYCORE_VERSION_BUILD(version) (ZyanU16)(version & 0x000000000000FFFF) |
Functions | |
ZYCORE_EXPORT ZyanU64 | ZycoreGetVersion (void) |
Master include file, including everything else.
#define ZYCORE_VERSION (ZyanU64)0x0001000200000000 |
A macro that defines the zycore version.
#define ZYCORE_VERSION_BUILD | ( | version | ) | (ZyanU16)(version & 0x000000000000FFFF) |
Extracts the build-part of the zycore version.
version | The zycore version value |
#define ZYCORE_VERSION_MAJOR | ( | version | ) | (ZyanU16)((version & 0xFFFF000000000000) >> 48) |
Extracts the major-part of the zycore version.
version | The zycore version value |
#define ZYCORE_VERSION_MINOR | ( | version | ) | (ZyanU16)((version & 0x0000FFFF00000000) >> 32) |
Extracts the minor-part of the zycore version.
version | The zycore version value |
#define ZYCORE_VERSION_PATCH | ( | version | ) | (ZyanU16)((version & 0x00000000FFFF0000) >> 16) |
Extracts the patch-part of the zycore version.
version | The zycore version value |
ZYCORE_EXPORT ZyanU64 ZycoreGetVersion | ( | void | ) |
Returns the zycore version.
Use the macros provided in this file to extract the major, minor, patch and build part from the returned version value.