From 4620f4f3571ac5db51c91336a02bb15780f03c9f Mon Sep 17 00:00:00 2001 From: Archie_UwU Date: Sat, 30 Dec 2023 16:53:55 +0100 Subject: [PATCH] Why didn't this commit Added version to YYTK's shared headers --- YYToolkit/source/YYTK/Module Interface/Interface.cpp | 6 +++--- YYToolkit/source/YYTK/Shared.hpp | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/YYToolkit/source/YYTK/Module Interface/Interface.cpp b/YYToolkit/source/YYTK/Module Interface/Interface.cpp index 8890e0a..ec214f3 100644 --- a/YYToolkit/source/YYTK/Module Interface/Interface.cpp +++ b/YYToolkit/source/YYTK/Module Interface/Interface.cpp @@ -376,9 +376,9 @@ namespace YYTK OUT short& Patch ) { - Major = 3; - Minor = 1; - Patch = 0; + Major = YYTK_MAJOR; + Minor = YYTK_MINOR; + Patch = YYTK_PATCH; } AurieStatus YYTKInterfaceImpl::GetNamedRoutineIndex( diff --git a/YYToolkit/source/YYTK/Shared.hpp b/YYToolkit/source/YYTK/Shared.hpp index 1564647..9d868f9 100644 --- a/YYToolkit/source/YYTK/Shared.hpp +++ b/YYToolkit/source/YYTK/Shared.hpp @@ -7,6 +7,10 @@ #ifndef YYTK_SHARED_H_ #define YYTK_SHARED_H_ +#define YYTK_MAJOR 3 +#define YYTK_MINOR 1 +#define YYTK_PATCH 0 + #include #include #include