comparison src/file-coding.c @ 347:7c94d56991e1 r21-1-3

Import from CVS: tag r21-1-3
author cvs
date Mon, 13 Aug 2007 10:53:48 +0200
parents fbbf69b4e8a7
children 7347b34c275b
comparison
equal deleted inserted replaced
346:dd0986ffd2cf 347:7c94d56991e1
4667 /************************************************************************/ 4667 /************************************************************************/
4668 /* Initialization */ 4668 /* Initialization */
4669 /************************************************************************/ 4669 /************************************************************************/
4670 4670
4671 void 4671 void
4672 syms_of_mule_coding (void) 4672 syms_of_file_coding (void)
4673 { 4673 {
4674 defsymbol (&Qbuffer_file_coding_system, "buffer-file-coding-system"); 4674 defsymbol (&Qbuffer_file_coding_system, "buffer-file-coding-system");
4675 deferror (&Qcoding_system_error, "coding-system-error", 4675 deferror (&Qcoding_system_error, "coding-system-error",
4676 "Coding-system error", Qio_error); 4676 "Coding-system error", Qio_error);
4677 4677
4768 defsymbol (&coding_category_symbol[CODING_CATEGORY_NO_CONVERSION], 4768 defsymbol (&coding_category_symbol[CODING_CATEGORY_NO_CONVERSION],
4769 "no-conversion"); 4769 "no-conversion");
4770 } 4770 }
4771 4771
4772 void 4772 void
4773 lstream_type_create_mule_coding (void) 4773 lstream_type_create_file_coding (void)
4774 { 4774 {
4775 LSTREAM_HAS_METHOD (decoding, reader); 4775 LSTREAM_HAS_METHOD (decoding, reader);
4776 LSTREAM_HAS_METHOD (decoding, writer); 4776 LSTREAM_HAS_METHOD (decoding, writer);
4777 LSTREAM_HAS_METHOD (decoding, rewinder); 4777 LSTREAM_HAS_METHOD (decoding, rewinder);
4778 LSTREAM_HAS_METHOD (decoding, seekable_p); 4778 LSTREAM_HAS_METHOD (decoding, seekable_p);
4788 LSTREAM_HAS_METHOD (encoding, closer); 4788 LSTREAM_HAS_METHOD (encoding, closer);
4789 LSTREAM_HAS_METHOD (encoding, marker); 4789 LSTREAM_HAS_METHOD (encoding, marker);
4790 } 4790 }
4791 4791
4792 void 4792 void
4793 vars_of_mule_coding (void) 4793 vars_of_file_coding (void)
4794 { 4794 {
4795 int i; 4795 int i;
4796 4796
4797 /* Initialize to something reasonable ... */ 4797 /* Initialize to something reasonable ... */
4798 for (i = 0; i <= CODING_CATEGORY_LAST; i++) 4798 for (i = 0; i <= CODING_CATEGORY_LAST; i++)
4850 */ ); 4850 */ );
4851 enable_multibyte_characters = 1; 4851 enable_multibyte_characters = 1;
4852 } 4852 }
4853 4853
4854 void 4854 void
4855 complex_vars_of_mule_coding (void) 4855 complex_vars_of_file_coding (void)
4856 { 4856 {
4857 staticpro (&Vcoding_system_hashtable); 4857 staticpro (&Vcoding_system_hashtable);
4858 Vcoding_system_hashtable = make_lisp_hashtable (50, HASHTABLE_NONWEAK, 4858 Vcoding_system_hashtable = make_lisp_hashtable (50, HASHTABLE_NONWEAK,
4859 HASHTABLE_EQ); 4859 HASHTABLE_EQ);
4860 4860