From 48932dfdfbb2039e5c8026a15853c29c1c8031fb Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 14 Aug 2025 22:31:56 +0200 Subject: [PATCH] Add plugin interface version macro --- plugin/plugin.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/plugin.h b/plugin/plugin.h index bbf212d..c5a5e89 100644 --- a/plugin/plugin.h +++ b/plugin/plugin.h @@ -5,6 +5,10 @@ extern "C" { #endif +#define GSR_PLUGIN_INTERFACE_MAJOR_VERSION 0 +#define GSR_PLUGIN_INTERFACE_MINOR_VERSION 1 +#define GSR_PLUGIN_INTERFACE_VERSION ((GSR_PLUGIN_INTERFACE_MAJOR_VERSION << 16) | GSR_PLUGIN_INTERFACE_MINOR_VERSION) + #include typedef enum {