From: Kim F. Storm Date: Fri, 16 Jun 2006 11:53:00 +0000 (+0000) Subject: (struct it): Add union to iterator stack to save X-Git-Tag: emacs-pretest-22.0.90~1941 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd00a1e8a3c9228f2050d0736cbf0839d9222d70;p=emacs.git (struct it): Add union to iterator stack to save image, composition, and stretch specific paramters. --- 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 int stop_charpos; int face_id; Lisp_Object string; - int image_id; + union { + struct { + Lisp_Object object; + struct it_slice slice; + int image_id; + } image; + struct { + Lisp_Object object; + int c, len; + int cmp_id, cmp_len; + } comp; + struct { + Lisp_Object object; + } stretch; + } u; struct display_pos pos; int end_charpos; int string_nchars; @@ -1941,7 +1955,6 @@ struct it unsigned multibyte_p : 1; unsigned string_from_display_prop_p : 1; unsigned display_ellipsis_p : 1; - struct it_slice slice; Lisp_Object space_width; short voffset; Lisp_Object font_height;