hyprland-dwindle-autogroup/include/func_finder.hpp

10 lines
417 B
C++
Raw Normal View History

2023-10-02 20:27:13 +00:00
#include "globals.hpp"
/* Find function pointer from the Hyprland binary by it's name and demangledName
*
* \param[in] name Simple name of the function (i.e. createGroup)
* \param[in] demangledName Demangled name of the function (i.e. CWindow::createGroup())
* \return Raw pointer to the found function
*/
void* findHyprlandFunction(const std::string& name, const std::string& demangledName);