1 /* Copyright 1992 Karl Berry
2 Copyright 2007 TeX Users Group
3 Copyright 2014 Clerk Ma
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 meaning structure TeX Y&Y TeX
22 ----------------------------------------------------------------------
23 integer | int || 4: long | 8: long long | min_quarterword 0
24 ---------------------------------------------------------------------- max_quarterword FFFF
25 scaled | sc || 4: long | 8: long long | min_halfword
26 ----------------------------------------------------------------------
27 glue_ratio | gr || 4: float | 8: double |
28 ----------------------------------------------------------------------
29 halfword | lh | rh || 2: unsigned short | 4: unsigned long |
30 ----------------------------------------------------------------------
31 half+quarter | b0 | b1 | rh || |
32 ----------------------------------------------------------------------
33 quarter | b0 | b1 | b2 | b3 || 1: unsigned char | 2: unsigned short |
34 ----------------------------------------------------------------------
39 #ifdef WORDS_BIGENDIAN
56 #ifdef WORDS_BIGENDIAN
57 quarterword b0, b1, b2, b3;
59 quarterword b3, b2, b1, b0;
71 #ifndef WORDS_BIGENDIAN