include/Zycore/Zycore.h
Contents
Detailed Description
Master include file, including everything else.
Function Documentation
ZYCORE_EXPORTZyanU64ZycoreGetVersion(void)
Returns the zycore version.
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.
Macro Definition Documentation
#defineZYCORE_VERSION0x0001000500020000ULL
A macro that defines the zycore version.
#defineZYCORE_VERSION_BUILD(version)(version&0x000000000000FFFF)
Extracts the build-part of the zycore version.
Parametersversion The zycore version value
#defineZYCORE_VERSION_MAJOR(version)((version&0xFFFF000000000000)>>48)
Extracts the major-part of the zycore version.
Parametersversion The zycore version value
#defineZYCORE_VERSION_MINOR(version)((version&0x0000FFFF00000000)>>32)
Extracts the minor-part of the zycore version.
Parametersversion The zycore version value
#defineZYCORE_VERSION_PATCH(version)((version&0x00000000FFFF0000)>>16)
Extracts the patch-part of the zycore version.
Parametersversion The zycore version value
Name
include/Zycore/Zycore.h
Synopsis
#include <Zycore/Types.h>
Macros
#define ZYCORE_VERSION 0x0001000500020000ULL
#define ZYCORE_VERSION_MAJOR(version) ((version & 0xFFFF000000000000) >> 48)
#define ZYCORE_VERSION_MINOR(version) ((version & 0x0000FFFF00000000) >> 32)
#define ZYCORE_VERSION_PATCH(version) ((version & 0x00000000FFFF0000) >> 16)
#define ZYCORE_VERSION_BUILD(version) (version & 0x000000000000FFFF)
FunctionsZYCORE_EXPORT ZyanU64 ZycoreGetVersion (void)
