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

Re: bugreport 196809 and mlgtk.



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 "##".

Cheers.

-- 
Stefano Zacchiroli  --  Master in Computer Science @ Uni. Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it}  -  http://www.bononia.it/zack/
"  I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!  " -- G.Romney

Attachment: pgpu4NdR0LugQ.pgp
Description: PGP signature


Reply to: