gEDA-dev: [PATCH] Implement gschem_atexit()
Ivan Stankovic
ivan.stankovic at fer.hr
Fri Jun 8 06:49:55 EDT 2007
On Thu, Jun 07, 2007 at 11:01:34PM -0400, Ales Hvezda wrote:
> > As promised, here is a patch to implement gschem_atexit().
> > The patch is really small and simple, you can find out
> > more in the comments below. Please apply.
> >
>
> This patch looks okay, but refresh my memory please (I probably
> missed the thread where this was discussed), for what purpose
> is gschem_atexit() required? Thanks,
I believe the discussion started here:
http://archives.seul.org/geda/dev/May-2007/msg00212.html
gschem_atexit() would be a portable (though, standard
atexit() should be available everywhere) way to register
functions to be executed on gschem exit. The usage would
be primarily in the code that needs to maintain some
state (recent files code, dialog positions code...).
--
Ivan Stankovic, ivan.stankovic at fer.hr
"Protect your digital freedom and privacy, eliminate DRM,
learn more at http://www.defectivebydesign.org/what_is_drm"
More information about the geda-dev
mailing list