From: Kim F. Storm Date: Thu, 11 Mar 2004 22:43:06 +0000 (+0000) Subject: (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. X-Git-Tag: ttn-vms-21-2-B4~7276 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75fd7da16a0782c716d8ed34dd680055e026026d;p=emacs.git (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. --- diff --git a/src/image.c b/src/image.c index 1067227859c..28c5e5c96b1 100644 --- a/src/image.c +++ b/src/image.c @@ -49,8 +49,6 @@ Boston, MA 02111-1307, USA. */ #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 @@ typedef XImagePtr XImagePtr_or_DC; #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 @@ typedef HDC XImagePtr_or_DC; /* 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