Re: [AD] RE: [AD] datedit.h patch

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


On 2002-09-03, Vincent <Vincent.Penquerch@xxxxxxxxxx> wrote:
> > Just write this in your code:
> > 
> >     extern "C" {
> >     #include "datedit.h"
> >     }
> 
> A bit gross, though it's not going to be done often.
> It only makes datedit.h easier to use, so why not apply it ?

Well, it doesn't hurt, but if you want your users to be able to use
older versions of Allegro, you'll need to do the extern "C" in your own
code anyway.  I've applied it though.

-- 
王浩禎



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