Mercurial > hg > xemacs-beta
comparison src/imgproc.h @ 5936:574f0cded429 cygwin
try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sun, 13 Dec 2015 13:22:58 +0000 |
parents | 2aa9cd456ae7 |
children |
comparison
equal
deleted
inserted
replaced
5935:d5eb0914ca1f | 5936:574f0cded429 |
---|---|
26 #define MAX_CMAP_SIZE 256 | 26 #define MAX_CMAP_SIZE 256 |
27 #define COLOR_DEPTH 8 | 27 #define COLOR_DEPTH 8 |
28 #define MAX_COLOR 256 | 28 #define MAX_COLOR 256 |
29 | 29 |
30 #define B_DEPTH 5 /* # bits/pixel to use */ | 30 #define B_DEPTH 5 /* # bits/pixel to use */ |
31 #define B_LEN (1L<<B_DEPTH) | 31 #define B_LEN (E1<<B_DEPTH) |
32 | 32 |
33 #define C_DEPTH 2 | 33 #define C_DEPTH 2 |
34 #define C_LEN (1L<<C_DEPTH) /* # cells/color to use */ | 34 #define C_LEN (E1<<C_DEPTH) /* # cells/color to use */ |
35 | 35 |
36 #define COLOR_SHIFT (COLOR_DEPTH-B_DEPTH) | 36 #define COLOR_SHIFT (COLOR_DEPTH-B_DEPTH) |
37 | 37 |
38 typedef struct colorbox { | 38 typedef struct colorbox { |
39 struct colorbox *next, *prev; | 39 struct colorbox *next, *prev; |