diff --git a/src/config/config.cpp b/src/config/config.cpp index ea98a81..64f2ca4 100644 --- a/src/config/config.cpp +++ b/src/config/config.cpp @@ -29,6 +29,11 @@ namespace { Configuration Config::activeConf{}; +extern "C" __attribute__((visibility("default"))) +void lsfg_get_active_conf(Configuration *cfg) { + *cfg = Config::activeConf; +} + namespace { /// Turn a string into a VkPresentModeKHR enum value. VkPresentModeKHR into_present(const std::string& mode) {