plugins: mark getFunctionAddressFromSignature deprecated

This commit is contained in:
vaxerski 2023-03-31 18:43:00 +01:00
parent 1df8b1957e
commit 7680cd549c

View file

@ -191,8 +191,10 @@ namespace HyprlandAPI {
This is useful for hooking private functions.
returns: function address, or nullptr on fail.
Deprecated because of findFunctionsByName.
*/
APICALL void* getFunctionAddressFromSignature(HANDLE handle, const std::string& sig);
APICALL [[deprecated]] void* getFunctionAddressFromSignature(HANDLE handle, const std::string& sig);
/*
Adds a window decoration to a window