aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorKim F. Storm2006-06-16 11:53:00 +0000
committerKim F. Storm2006-06-16 11:53:00 +0000
commitfd00a1e8a3c9228f2050d0736cbf0839d9222d70 (patch)
treeda8896510b96fa9e83f5ff2fa2c7fe946917740d /src/dispextern.h
parent626c7c71a853c0280d8a3125a6bcc63949cf6e5b (diff)
downloademacs-fd00a1e8a3c9228f2050d0736cbf0839d9222d70.tar.gz
emacs-fd00a1e8a3c9228f2050d0736cbf0839d9222d70.zip
(struct it): Add union to iterator stack to save
image, composition, and stretch specific paramters.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index e975a1676e2..f92cacbfa2c 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1932,7 +1932,21 @@ struct it
1932 int stop_charpos; 1932 int stop_charpos;
1933 int face_id; 1933 int face_id;
1934 Lisp_Object string; 1934 Lisp_Object string;
1935 int image_id; 1935 union {
1936 struct {
1937 Lisp_Object object;
1938 struct it_slice slice;
1939 int image_id;
1940 } image;
1941 struct {
1942 Lisp_Object object;
1943 int c, len;
1944 int cmp_id, cmp_len;
1945 } comp;
1946 struct {
1947 Lisp_Object object;
1948 } stretch;
1949 } u;
1936 struct display_pos pos; 1950 struct display_pos pos;
1937 int end_charpos; 1951 int end_charpos;
1938 int string_nchars; 1952 int string_nchars;
@@ -1941,7 +1955,6 @@ struct it
1941 unsigned multibyte_p : 1; 1955 unsigned multibyte_p : 1;
1942 unsigned string_from_display_prop_p : 1; 1956 unsigned string_from_display_prop_p : 1;
1943 unsigned display_ellipsis_p : 1; 1957 unsigned display_ellipsis_p : 1;
1944 struct it_slice slice;
1945 Lisp_Object space_width; 1958 Lisp_Object space_width;
1946 short voffset; 1959 short voffset;
1947 Lisp_Object font_height; 1960 Lisp_Object font_height;