where is gnc_module_system_init() called?

Michele Ravani Michele.Ravani@swissonline.ch
Wed, 12 Jun 2002 00:19:53 +0200 (CEST)


reading the design doc in gnc-module, it is mentioned that
gnc_module_system_init() should be called to initialize the module system.
I've tried to find where it is called in the code, but all the locations I
have found are in tests.

I am a bit confused, but may be I am starting to understand what Derek
meant by 
'Unfortunately at this time there is no way to get a plug-in module to
actually get loaded at runtime without modifying existing code.'

Is it so that the module system is currently used to load modules from
other modules needing the functionality, but there isn't a centralized
mechanism to initialize the module system at startup and load a number of
predifined or configured modules?

If this is the case, where is the code loading the core modules, i.e. the
ones that 'make' the application?


Michele Ravani                  Michele.Ravani@swissonline.ch
"Those who live hoping, die singing" My Gran