# HG changeset patch # User Kim F. Storm # Date 1079044986 0 # Node ID 58fe37b82d001b3c8a767d616044340a1916658d # Parent 64ae6f2c8feeb6f24a346f542bb0511de22d29d0 (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. diff -r 64ae6f2c8fee -r 58fe37b82d00 src/image.c --- a/src/image.c Thu Mar 11 22:42:47 2004 +0000 +++ b/src/image.c Thu Mar 11 22:43:06 2004 +0000 @@ -49,8 +49,6 @@ #define COLOR_TABLE_SUPPORT 1 typedef struct x_bitmap_record Bitmap_Record; -typedef XImage * XImagePtr; -typedef XImagePtr XImagePtr_or_DC; #define GET_PIXEL(ximg, x, y) XGetPixel(ximg, x, y) #define NO_PIXMAP None #define PNG_BG_COLOR_SHIFT 0 @@ -69,8 +67,6 @@ #undef COLOR_TABLE_SUPPORT typedef struct w32_bitmap_record Bitmap_Record; -typedef XImage *XImagePtr; -typedef HDC XImagePtr_or_DC; #define GET_PIXEL(ximg, x, y) GetPixel(ximg, x, y) #define NO_PIXMAP 0 #define PNG_BG_COLOR_SHIFT 0 @@ -103,12 +99,9 @@ /* MAC_TODO : Color tables on Mac. */ #undef COLOR_TABLE_SUPPORT -/* Mac equivalent of XImage. */ -typedef Pixmap XImagePtr; #define ZPixmap 0 /* arbitrary */ typedef struct mac_bitmap_record Bitmap_Record; -typedef XImagePtr XImagePtr_or_DC; #define GET_PIXEL(ximg, x, y) XGetPixel(ximg, x, y) #define NO_PIXMAP 0 #define PNG_BG_COLOR_SHIFT 8