# HG changeset patch # User Kim F. Storm # Date 1150458780 0 # Node ID 245925ebe6d0daff3b736f128cba40f995435252 # Parent 844bc583e7e340c6fc950480cf06c03cc4a87f30 (struct it): Add union to iterator stack to save image, composition, and stretch specific paramters. diff -r 844bc583e7e3 -r 245925ebe6d0 src/dispextern.h --- a/src/dispextern.h Fri Jun 16 11:52:48 2006 +0000 +++ b/src/dispextern.h Fri Jun 16 11:53:00 2006 +0000 @@ -1932,7 +1932,21 @@ 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 @@ 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;