Greetings,
A plug-in I'm currently developing may require writing a small file somewhere
to save its 'last-used' and 'default' settings: those settings can
theoritically use lots of memory (typically just a few bytes though), so I need
to allocate the appropriate amount of memory everytime the
Other plugins that save things go to the user profile directory root
(.gimp-2.6). For example, I have:
focusblurrc
pspirc
Check the source of any of these for examples.
Alternately, if there is not much data, you could use parasites.
some plugins also create/require a subdirectory under the