changeset 26992:c7f8ea6a37bd

(struct composition): Change the order of declaring members to reduce the byte size of the structure.
author Kenichi Handa <handa@m17n.org>
date Mon, 27 Dec 1999 03:34:02 +0000
parents 4d568be7307b
children d7c1bcbe6790
files src/composite.h
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/composite.h	Mon Dec 27 03:33:17 1999 +0000
+++ b/src/composite.h	Mon Dec 27 03:34:02 1999 +0000
@@ -157,6 +157,9 @@
   /* Number of glyphs of the composition components.  */
   unsigned char glyph_len;
 
+  /* Width, ascent, and descent pixels of the composition.  */
+  short pixel_width, ascent, descent;
+
   /* Method of the composition.  */
   enum composition_method method;
 
@@ -173,10 +176,6 @@
      registered in composition_table.  X-offset and Y-offset of Nth
      glyph are (2N)th and (2N+1)th elements respectively.  */
   short *offsets;
-
-  /* Width, ascent, and descent pixels of the composition.  */
-  short pixel_width, ascent, descent;
-
 };
 
 /* Table of pointers to the structure `composition' indexed by