[Top][All Lists]

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

Re: mailutils

From: Alain Magloire
Subject: Re: mailutils
Date: Wed, 13 Mar 2002 12:00:18 -0500 (EST)

> On Wed, Mar 13, 2002 at 11:46:58AM +0200, Sergey Poznyakoff wrote:
> > > I do not want to scare anybody, but maybe(only maybe) we
> > > should take a seriously look at some basic C++ for mailutils2
> > > ...  Ok I've said it ... I feel better.
> > If you mean providing a C++ interface in parallel with the existing
> > C, I quite agree with you. But rewriting the library in C++ will
> > mean that C programs will not be able to use it anymore.
> I haven't tried it, but shouldn't it be possible to write C++
> functions that use C linking conventions?

Yes. extern "C" { ... }
But that would be funny 8-) i.e. making the implementation
in C++ and providing a C level API for C programs 8-) totally
wicked, usually its the opposite.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]