gEDA-dev: C question

Magnus Danielson cfmd at bredband.net
Mon Feb 19 16:40:15 EST 2007


From: "David Baird" <dhbaird at gmail.com>
Subject: Re: gEDA-dev: C question
Date: Mon, 19 Feb 2007 12:12:58 -0700
Message-ID: <440abda90702191112n37c0cd9fxdfd0541388fc4b99 at mail.gmail.com>

> On 2/19/07, Evan Lavelle <sa212+geda at cyconix.com> wrote:
> > gcc extension, obsolete since gcc 2.5. The corect C99 form is
> >
> > > SPICEdev CCCSinfo = {
> > >     .DEVparam      = CCCSparam,
> > >     .DEVmodParam   = NULL,
> > >     .DEVload       = CCCSload,
> > >     .DEVsetup      = CCCSsetup
> > > };
> >
> > This is only useful for out-of-order intialisation, so it's not relevant
> > here anyway.
> 
> I kinda like it, even if everything is initialized in order :-)

Indeed. As you grow to like your structure fachist side, these are the things
which can save you alot of headaches in the future.

Cheers,
Magnus


More information about the geda-dev mailing list