mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-16 20:43:48 -07:00
pluginapi: fixup get_hash functions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user