Re: [ng-spice] New Source Structure


To ng-spice@ieee.ing.uniroma1.it
From Manu Rouat <emmanuel.rouat@wanadoo.fr>
Date Thu, 12 Aug 1999 10:35:01 +0200
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Organization la Guilde
References <Pine.LNX.3.96.990812075440.8921A-100000@ieee.ing.uniroma1.it >
Reply-To ng-spice@ieee.ing.uniroma1.it
Sender rouat@war.wanadoo.com

Paolo Nenzi wrote:
> 
> > If you don'y put it in CVS, how can I do the autoconf interface?
> There are so amny changes in the directory structure that Iam wandering
> how to commit them to the CVS. Any idea is welcomed.

You should commit little by little - this is preferable. 

> 
> 
> > All functions that are required as external should then be declared as 
>such
> > in a generic spice.h files (or devices.h or whatever).
> Hmm, I think you have answered my doubt, a single huge API file.

Yes - well commented for clarity of course.

> 
> > Also, all usefull macros should be merged into a macros.h file.
> What about complex functions macros, they should remain macros or we can
> convert them into inline functions ?

I think that macros are usually better. However when we will start to use 
gprof
to profile the code we will have a better idea about what to change.

manu


Partial thread listing: