diff options
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/src/coding.h b/src/coding.h index f47c33847f9..156ead91ed2 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -499,10 +499,10 @@ struct coding_system | |||
| 499 | 499 | ||
| 500 | int default_char; | 500 | int default_char; |
| 501 | 501 | ||
| 502 | int (*detector) P_ ((struct coding_system *, | 502 | int (*detector) (struct coding_system *, |
| 503 | struct coding_detection_info *)); | 503 | struct coding_detection_info *); |
| 504 | void (*decoder) P_ ((struct coding_system *)); | 504 | void (*decoder) (struct coding_system *); |
| 505 | int (*encoder) P_ ((struct coding_system *)); | 505 | int (*encoder) (struct coding_system *); |
| 506 | }; | 506 | }; |
| 507 | 507 | ||
| 508 | /* Meanings of bits in the member `common_flags' of the structure | 508 | /* Meanings of bits in the member `common_flags' of the structure |
| @@ -691,33 +691,33 @@ struct coding_system | |||
| 691 | #define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1) | 691 | #define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1) |
| 692 | 692 | ||
| 693 | /* Extern declarations. */ | 693 | /* Extern declarations. */ |
| 694 | extern Lisp_Object code_conversion_save P_ ((int, int)); | 694 | extern Lisp_Object code_conversion_save (int, int); |
| 695 | extern int decoding_buffer_size P_ ((struct coding_system *, int)); | 695 | extern int decoding_buffer_size (struct coding_system *, int); |
| 696 | extern int encoding_buffer_size P_ ((struct coding_system *, int)); | 696 | extern int encoding_buffer_size (struct coding_system *, int); |
| 697 | extern void setup_coding_system P_ ((Lisp_Object, struct coding_system *)); | 697 | extern void setup_coding_system (Lisp_Object, struct coding_system *); |
| 698 | extern Lisp_Object coding_charset_list P_ ((struct coding_system *)); | 698 | extern Lisp_Object coding_charset_list (struct coding_system *); |
| 699 | extern Lisp_Object coding_system_charset_list P_ ((Lisp_Object)); | 699 | extern Lisp_Object coding_system_charset_list (Lisp_Object); |
| 700 | extern void detect_coding P_ ((struct coding_system *)); | 700 | extern void detect_coding (struct coding_system *); |
| 701 | extern Lisp_Object code_convert_region P_ ((Lisp_Object, Lisp_Object, | 701 | extern Lisp_Object code_convert_region (Lisp_Object, Lisp_Object, |
| 702 | Lisp_Object, Lisp_Object, | 702 | Lisp_Object, Lisp_Object, |
| 703 | int, int)); | 703 | int, int); |
| 704 | extern Lisp_Object code_convert_string P_ ((Lisp_Object, Lisp_Object, | 704 | extern Lisp_Object code_convert_string (Lisp_Object, Lisp_Object, |
| 705 | Lisp_Object, int, int, int)); | 705 | Lisp_Object, int, int, int); |
| 706 | extern Lisp_Object code_convert_string_norecord P_ ((Lisp_Object, Lisp_Object, | 706 | extern Lisp_Object code_convert_string_norecord (Lisp_Object, Lisp_Object, |
| 707 | int)); | 707 | int); |
| 708 | extern Lisp_Object raw_text_coding_system P_ ((Lisp_Object)); | 708 | extern Lisp_Object raw_text_coding_system (Lisp_Object); |
| 709 | extern Lisp_Object coding_inherit_eol_type P_ ((Lisp_Object, Lisp_Object)); | 709 | extern Lisp_Object coding_inherit_eol_type (Lisp_Object, Lisp_Object); |
| 710 | 710 | ||
| 711 | extern int decode_coding_gap P_ ((struct coding_system *, | 711 | extern int decode_coding_gap (struct coding_system *, |
| 712 | EMACS_INT, EMACS_INT)); | 712 | EMACS_INT, EMACS_INT); |
| 713 | extern int encode_coding_gap P_ ((struct coding_system *, | 713 | extern int encode_coding_gap (struct coding_system *, |
| 714 | EMACS_INT, EMACS_INT)); | 714 | EMACS_INT, EMACS_INT); |
| 715 | extern void decode_coding_object P_ ((struct coding_system *, | 715 | extern void decode_coding_object (struct coding_system *, |
| 716 | Lisp_Object, EMACS_INT, EMACS_INT, | 716 | Lisp_Object, EMACS_INT, EMACS_INT, |
| 717 | EMACS_INT, EMACS_INT, Lisp_Object)); | 717 | EMACS_INT, EMACS_INT, Lisp_Object); |
| 718 | extern void encode_coding_object P_ ((struct coding_system *, | 718 | extern void encode_coding_object (struct coding_system *, |
| 719 | Lisp_Object, EMACS_INT, EMACS_INT, | 719 | Lisp_Object, EMACS_INT, EMACS_INT, |
| 720 | EMACS_INT, EMACS_INT, Lisp_Object)); | 720 | EMACS_INT, EMACS_INT, Lisp_Object); |
| 721 | 721 | ||
| 722 | /* Macros for backward compatibility. */ | 722 | /* Macros for backward compatibility. */ |
| 723 | 723 | ||
| @@ -753,7 +753,7 @@ extern void encode_coding_object P_ ((struct coding_system *, | |||
| 753 | } while (0) | 753 | } while (0) |
| 754 | 754 | ||
| 755 | 755 | ||
| 756 | extern Lisp_Object preferred_coding_system P_ (()); | 756 | extern Lisp_Object preferred_coding_system (); |
| 757 | 757 | ||
| 758 | 758 | ||
| 759 | extern Lisp_Object Qutf_8, Qutf_8_emacs; | 759 | extern Lisp_Object Qutf_8, Qutf_8_emacs; |
| @@ -780,7 +780,7 @@ extern Lisp_Object Qcall_process, Qcall_process_region; | |||
| 780 | extern Lisp_Object Qstart_process, Qopen_network_stream; | 780 | extern Lisp_Object Qstart_process, Qopen_network_stream; |
| 781 | extern Lisp_Object Qwrite_region; | 781 | extern Lisp_Object Qwrite_region; |
| 782 | 782 | ||
| 783 | extern char *emacs_strerror P_ ((int)); | 783 | extern char *emacs_strerror (int); |
| 784 | 784 | ||
| 785 | /* Coding-system for reading files and receiving data from process. */ | 785 | /* Coding-system for reading files and receiving data from process. */ |
| 786 | extern Lisp_Object Vcoding_system_for_read; | 786 | extern Lisp_Object Vcoding_system_for_read; |
| @@ -823,7 +823,7 @@ extern Lisp_Object Vdefault_file_name_coding_system; | |||
| 823 | extern Lisp_Object Qcoding_system_error; | 823 | extern Lisp_Object Qcoding_system_error; |
| 824 | 824 | ||
| 825 | extern char emacs_mule_bytes[256]; | 825 | extern char emacs_mule_bytes[256]; |
| 826 | extern int emacs_mule_string_char P_ ((unsigned char *)); | 826 | extern int emacs_mule_string_char (unsigned char *); |
| 827 | 827 | ||
| 828 | #endif /* EMACS_CODING_H */ | 828 | #endif /* EMACS_CODING_H */ |
| 829 | 829 | ||