mirror of
https://github.com/hyprwm/Hyprland
synced 2026-01-03 22:10:18 +01:00
15 lines
No EOL
519 B
C++
15 lines
No EOL
519 B
C++
#include "ConfigValue.hpp"
|
|
#include "ConfigManager.hpp"
|
|
#include "../macros.hpp"
|
|
|
|
void local__configValuePopulate(void* const** p, const std::string& val) {
|
|
const auto PVHYPRLANG = g_pConfigManager->getHyprlangConfigValuePtr(val);
|
|
|
|
*p = PVHYPRLANG->getDataStaticPtr();
|
|
}
|
|
|
|
std::type_index local__configValueTypeIdx(const std::string& val) {
|
|
const auto PVHYPRLANG = g_pConfigManager->getHyprlangConfigValuePtr(val);
|
|
const auto ANY = PVHYPRLANG->getValue();
|
|
return std::type_index(ANY.type());
|
|
} |