[patch] image processing fix for BE machine

Andreas Tobler toa@pop.agri.ch
Thu Sep 23 07:52:00 GMT 2004


Thomas Fitzsimmons wrote:

> On Mon, 2004-09-20 at 10:39, Andreas Tobler wrote:
> 
>>Hi Little endian world,
>>
>>it seems that the whole swing development happens on LE machines ;)
>>
>>The attached patch corrects pixel handling for BE machines. Tested here 
>>on ppc-darwin8.
> 
> 
> This looks good, except that we should define the SWAPU32 macro in the
> common header, gtkpeer.h.  With that change, this can go in.

Fine, thanks.
Is gtkpeer.h automagically included by GdkGraphics2D.c or do I have to 
include it there too?
I thought to place it in both, gtkpeer.h and gtkcairopeer.h to have them 
in different places.

But if it is ok to include gtkpeer.h in GdkGraphics2D.c then I do so.

again, thanks for review.

Andreas



More information about the Java-patches mailing list