[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: [PATCH] Implement gschem_atexit()



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@fer.hr

"Protect your digital freedom and privacy, eliminate DRM, 
learn more at http://www.defectivebydesign.org/what_is_drm"


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev