comparison src/mule-charset.h @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents af57a77cbc92
children fdefd0186b75
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
468 Bufbyte final; 468 Bufbyte final;
469 469
470 /* Number of bytes (1 - 4) required in the internal representation 470 /* Number of bytes (1 - 4) required in the internal representation
471 for characters in this character set. This is *not* the 471 for characters in this character set. This is *not* the
472 same as the dimension of the character set). */ 472 same as the dimension of the character set). */
473 unsigned int rep_bytes; 473 int rep_bytes;
474 474
475 /* Number of columns a character in this charset takes up, on TTY 475 /* Number of columns a character in this charset takes up, on TTY
476 devices. Not used for X devices. */ 476 devices. Not used for X devices. */
477 unsigned int columns; 477 int columns;
478 478
479 /* Direction of this character set */ 479 /* Direction of this character set */
480 unsigned int direction; 480 int direction;
481 481
482 /* Type of this character set (94, 96, 94x94, 96x96) */ 482 /* Type of this character set (94, 96, 94x94, 96x96) */
483 unsigned int type; 483 int type;
484 484
485 /* Number of bytes used in encoding of this character set (1 or 2) */ 485 /* Number of bytes used in encoding of this character set (1 or 2) */
486 unsigned int dimension; 486 int dimension;
487 487
488 /* Number of chars in each dimension (usually 94 or 96) */ 488 /* Number of chars in each dimension (usually 94 or 96) */
489 unsigned int chars; 489 int chars;
490 490
491 /* Which half of font to be used to display this character set */ 491 /* Which half of font to be used to display this character set */
492 unsigned int graphic; 492 int graphic;
493 }; 493 };
494 typedef struct Lisp_Charset Lisp_Charset; 494 typedef struct Lisp_Charset Lisp_Charset;
495 495
496 DECLARE_LRECORD (charset, Lisp_Charset); 496 DECLARE_LRECORD (charset, Lisp_Charset);
497 #define XCHARSET(x) XRECORD (x, charset, Lisp_Charset) 497 #define XCHARSET(x) XRECORD (x, charset, Lisp_Charset)
575 #endif 575 #endif
576 return chlook->charset_by_leading_byte[lb - 128]; 576 return chlook->charset_by_leading_byte[lb - 128];
577 } 577 }
578 578
579 INLINE_HEADER Lisp_Object 579 INLINE_HEADER Lisp_Object
580 CHARSET_BY_ATTRIBUTES (unsigned int type, unsigned char final, int dir); 580 CHARSET_BY_ATTRIBUTES (int type, unsigned char final, int dir);
581 INLINE_HEADER Lisp_Object 581 INLINE_HEADER Lisp_Object
582 CHARSET_BY_ATTRIBUTES (unsigned int type, unsigned char final, int dir) 582 CHARSET_BY_ATTRIBUTES (int type, unsigned char final, int dir)
583 { 583 {
584 extern struct charset_lookup *chlook; 584 extern struct charset_lookup *chlook;
585 585
586 type_checking_assert (type < countof (chlook->charset_by_attributes) && 586 type_checking_assert (type < countof (chlook->charset_by_attributes) &&
587 final < countof (chlook->charset_by_attributes[0]) && 587 final < countof (chlook->charset_by_attributes[0]) &&