[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: simulation advice



On Wednesday 04 April 2007 10:54, David Kerber wrote:
> Do you mix your C and C++ projects' source code together like
> that?  I wouldn't.

It is very common, mostly for using existing code.  If you are 
using C++, there is no advantage in having part of it in C, but 
it does make sense as a way to use C libraries or legacy code.

The gnucap spice model plugins are all C code with a C++ 
wrapper.  The C++ wrapper provides the correct interface, both 
ways.  The spice models are in C, because they were written for 
spice which is C.



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