summaryrefslogtreecommitdiff
path: root/src/plugins/PluginAPI.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-10-29 21:21:54 +0000
committerVaxry <vaxry@vaxry.net>2023-10-29 21:21:54 +0000
commit935c90915a8a143d1759c2bb6f0593a8aee6812b (patch)
tree835456f1f2d2a16550200769442952b5ca929534 /src/plugins/PluginAPI.hpp
parentb95c0c318e02a17be3eb7271b02141ab5c22a04f (diff)
pluginapi: fixup get_hash functions
Diffstat (limited to 'src/plugins/PluginAPI.hpp')
-rw-r--r--src/plugins/PluginAPI.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/PluginAPI.hpp b/src/plugins/PluginAPI.hpp
index 30c6b4c7..a3792fe9 100644
--- a/src/plugins/PluginAPI.hpp
+++ b/src/plugins/PluginAPI.hpp
@@ -280,7 +280,11 @@ namespace HyprlandAPI {
This function will end up in both hyprland and any/all plugins,
and can be found by a simple dlsym()
+
+ _get_hash() is server,
+ _get_client_hash() is client.
*/
-APICALL inline EXPORT const char* __hyprland_api_get_hash() {
+APICALL EXPORT const char* __hyprland_api_get_hash();
+APICALL inline EXPORT const char* __hyprland_api_get_client_hash() {
return GIT_COMMIT_HASH;
}