comparison src/coding.h @ 102186:a12d39ca6870

* coding.h (struct coding_system): Make safe_charsets a pointer to unsigned char. * coding.c (CODING_ISO_REQUEST): Check for safe_charsets content being 255. (SAFE_CHARSET_P): Likewise. (setup_iso_safe_charsets): Properly setup safe_charsets. (Fdefine_coding_system_internal): Likewise. (setup_coding_system): Likewise. Remove unneeded casts. (detect_coding_iso_2022): Compare Viso_2022_charset_list with CODING_ATTR_CHARSET_LIST, not CODING_ATTR_SAFE_CHARSETS. Remove unneeded casts.
author Andreas Schwab <schwab@suse.de>
date Sun, 22 Feb 2009 15:48:02 +0000
parents 99033eb8c94c
children f23ca4ed51bd
comparison
equal deleted inserted replaced
102185:d6a2f8a116ac 102186:a12d39ca6870
389 enum utf_bom_type utf_8_bom; 389 enum utf_bom_type utf_8_bom;
390 int emacs_mule_full_support; 390 int emacs_mule_full_support;
391 } spec; 391 } spec;
392 392
393 int max_charset_id; 393 int max_charset_id;
394 char *safe_charsets; 394 unsigned char *safe_charsets;
395 395
396 /* The following two members specify how binary 8-bit code 128..255 396 /* The following two members specify how binary 8-bit code 128..255
397 are represented in source and destination text respectively. 1 397 are represented in source and destination text respectively. 1
398 means they are represented by 2-byte sequence, 0 means they are 398 means they are represented by 2-byte sequence, 0 means they are
399 represented by 1-byte as is (see the comment in character.h). */ 399 represented by 1-byte as is (see the comment in character.h). */