]> git.eshelyaron.com Git - emacs.git/commitdiff
(XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h.
authorKim F. Storm <storm@cua.dk>
Thu, 11 Mar 2004 22:43:06 +0000 (22:43 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 11 Mar 2004 22:43:06 +0000 (22:43 +0000)
src/image.c

index 1067227859cd6c03546c3e628a5d652c9fbe33e2..28c5e5c96b1f993a370f864337601a1ac4e6ce6a 100644 (file)
@@ -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