diff options
author | Juhani Krekelä | 2021-10-23 00:33:18 +0300 |
---|---|---|
committer | Wolfgang Müller | 2021-11-27 14:05:19 +0100 |
commit | 1b111d590d527d39f169ffcdb5c9f6a0488458f5 (patch) | |
tree | dda3bc213cd9f79762709b314d7ac058ba5dad53 /weltschmerz.de.1 | |
parent | 71388f94c694a36b0ac360b34f09d7c16a51f803 (diff) | |
download | weltschmerz-1b111d590d527d39f169ffcdb5c9f6a0488458f5.tar.gz |
Make configuration object accessible outside of load_config
Currently the configuration object is located in the function level
scope of load_config() and deleted once the function exits. Any flags
that control the program behaviour must therefore be copied into
separate variables, which pollutes the the upper level namespace.
This change keeps the configuration object around after load_config()
exits and makes it accessible by other functions from the shared
namespace. An upcoming change needs this access.
Diffstat (limited to 'weltschmerz.de.1')
0 files changed, 0 insertions, 0 deletions