diff options
Diffstat (limited to 'libbuild2/config/init.cxx')
-rw-r--r-- | libbuild2/config/init.cxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libbuild2/config/init.cxx b/libbuild2/config/init.cxx index 73275c6..b790569 100644 --- a/libbuild2/config/init.cxx +++ b/libbuild2/config/init.cxx @@ -145,15 +145,21 @@ namespace build2 return true; } - module_functions + static const module_functions mod_functions[] = + { + {"config", &boot, &init}, + {nullptr, nullptr, nullptr} + }; + + const module_functions* build2_config_load () { // Initialize the config entry points in the build system core. // - config_save_variable = &config::save_variable; - config_preprocess_create = &config::preprocess_create; + config_save_variable = &save_variable; + config_preprocess_create = &preprocess_create; - return module_functions {&boot, &init}; + return mod_functions; } } } |