aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugin
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-08-14 22:31:56 +0200
committerdec05eba <dec05eba@protonmail.com>2025-08-14 22:31:56 +0200
commit48932dfdfbb2039e5c8026a15853c29c1c8031fb (patch)
tree4ea489e048a058382423dbb8edd983f0ec4b92f8 /plugin
parent88ab64127e03c4bbe89f80804d5eda008dfb0990 (diff)
Add plugin interface version macro
Diffstat (limited to 'plugin')
-rw-r--r--plugin/plugin.h4
1 files changed, 4 insertions, 0 deletions
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 <stdbool.h>
typedef enum {