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

Re: bugreport 196809 and mlgtk.



On Sat, Jul 05, 2003 at 02:10:47PM +0200, Stefano Zacchiroli wrote:
> On Tue, Jul 01, 2003 at 04:35:50PM +0200, Sven Luther wrote:
> > #define mlgdk_expose_event_extract(coord) \
> > value mlgdk_expose_event_extract_##coord (value ptr) \
> > { \
> >   return Val_int(((GdkEventExpose*) ptr)->area.##coord); \
> > }
> > mlgdk_expose_event_extract(x)
> 
> Try with this version (thanks to Luca Padovani):
> 
>   #define mlgdk_expose_event_extract(coord) \
>   value mlgdk_expose_event_extract_##coord (value ptr) \
>   { \
>     return Val_int(((GdkEventExpose*) ptr)->area.coord); \
>   }
>   mlgdk_expose_event_extract(x)
> 
> the only difference is the removal of the second usage of "##".

Ok, thanks, ...

(BTW, will it work also with older GCCs ? or should i build depend on
gcc 3.3 ?), don't worry, i will test.

Friendly,

Sven Luther



Reply to: