Hi, On Sonntag, 7. September 2008, Christian Stimming wrote: > Am Sonntag, 7. September 2008 18:47 schrieb John Clements: [...] > > Are these structures self-contained? [...]
If you mean by "self-containing" whether these objects contain pointers to other objects then no, they aren't self-contained. [...] > > Are there other chunks of memory floating around? > > Yes, unfortunately there's a whole bunch of static variables. In > libgwenhywfar there is one set of static variables that gets initialized by > GWEN_Init() and deleted by GWEN_Fini(). Both in turn call a whole bunch of > sub-package's Init and Fini of the various libgwenhywfar "sub-packages". > Notably GWEN_Gui_* also has some non-trivial static variables that need to > get initialized at the beginning and finialized at the end. [...] I'm not sure whether that remark answers the original question... However, there is only *one* static variable in GWEN_GUI: The pointer to the GWEN_GUI object chosen by the application. This static variable exists for good reasons which I explained in very long discussions on the list. Other static variables in GWEN are those holding objects which can only exist once per application. They were also very selectively chosen. So there aren't really a "whole bunch" of static variables; there are just a few which in fact are necessary for Gwen to work correctly and which have been carefully chosen. Regards Martin -- "Things are only impossible until they're not" Martin Preuss - http://www2.aquamaniac.de/ AqBanking - http://www.aqbanking.de/ LibChipcard - http://www.libchipcard.de/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Aqbanking-devel mailing list Aqbanking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aqbanking-devel