Re: [AD] 4.3 error handling

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, 2006-06-07 at 22:05 +0100, Chris Jones wrote:
> > But Allegro doesn't use C++. Since Allegro is going to use C (AFAIK),
> > or at  least expose a C-only API, it wouldn't be able to properly
> > throw real  exceptions.
> 
> Sorry for a bit of a tangeant here, but what's the reasoning for this? I
> can't think of any compiler that doens't support C++ these days, so why the
> desire to keep the API all in plain C? It's not the 90's any more, and the
> API could be so much nicer if it was properly encapsulated in an OO fashion!
> 

C and C++ are two different languages. Allegro is a C library. So I'm
not sure what you want to say. E.g. I use Allegro with C and Python - if
it would require C++, I would not use it anymore.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/