11#ifndef INCGUARD_MGL_VERSION_H_1606555397
12#define INCGUARD_MGL_VERSION_H_1606555397
17#define MGL_MAKE_VERSION(major, minor, patch) \
18 ((major) * 10000000 + (minor) * 10000 + (patch))
20#define MGL_MAJOR_VERSION 1
21#define MGL_MINOR_VERSION 1
22#define MGL_PATCH_VERSION 13
25#define MGL_CURRENT_VERSION \
26 MGL_MAKE_VERSION(MGL_MAJOR_VERSION, MGL_MINOR_VERSION, MGL_PATCH_VERSION)
44constexpr uint32_t
MakeVersion(uint32_t major, uint32_t minor, uint32_t patch)
noexcept
46 return major * 10000000 + minor * 10000 + patch;
62constexpr bool IsALater(uint32_t major, uint32_t minor = 0, uint32_t patch = 0) noexcept
constexpr uint32_t kCurrentVersion
現在のバージョン
Definition mgl_version.h:50
constexpr bool IsALater(uint32_t major, uint32_t minor=0, uint32_t patch=0) noexcept
特定のバージョン以降かを取得
Definition mgl_version.h:62
#define MGL_MAJOR_VERSION
メジャーバージョン
Definition mgl_version.h:20
constexpr uint32_t kPatchVersion
パッチバージョン
Definition mgl_version.h:32
constexpr uint32_t kMinorVersion
マイナーバージョン
Definition mgl_version.h:31
#define MGL_PATCH_VERSION
パッチバージョン
Definition mgl_version.h:22
#define MGL_MINOR_VERSION
マイナーバージョン
Definition mgl_version.h:21
constexpr uint32_t kMajorVersion
メジャーバージョン
Definition mgl_version.h:30
constexpr uint32_t MakeVersion(uint32_t major, uint32_t minor, uint32_t patch) noexcept
バージョン値の生成
Definition mgl_version.h:44