blob: 169bf29cba3bdf43fe027a322e62cae12019e824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "ConfigValue.hpp"
#include "ConfigManager.hpp"
void local__configValuePopulate(void* const** p, const std::string& val) {
const auto BIGP = Config::mgr()->getConfigValue(val);
*p = BIGP.dataptr;
}
std::type_index local__configValueTypeIdx(const std::string& val) {
const auto BIGP = Config::mgr()->getConfigValue(val);
return std::type_index(*BIGP.type);
}
|