Re: [gtk-list] Re: A couple of suggestions



Lauri Alanko <la@iki.fi> writes:

> Ah, and regarding this, why are there extern "C" {..} :s wrapped around all
> headers? GTK has no support for C++, it's plain C code, so IMHO it's should
> be the C++ user's responsibility to say extern "C".

You're quite wrong. For instance, the libc is plain C code too and yet
there are 'extern "C"'s all over your /usr/include directory.

And it's nice not to have to worry about this in gtk-- for instance.

-- 
					Guillaume.
					http://www.worldnet.fr/~glaurent



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