Mercurial > emacs
comparison src/coding.h @ 109099:e16f43875a48
Remove P_ and __P macros.
* lwlib/lwlib-Xaw.h: Remove P_ and __P macros.
* lwlib/lwlib-Xlw.h:
* lwlib/lwlib-Xm.h:
* lwlib/lwlib-int.h:
* lwlib/lwlib-utils.h:
* lwlib/lwlib.h: Likewise.
* src/buffer.h: Remove P_ and __P macros.
* src/category.h:
* src/ccl.h:
* src/character.h:
* src/charset.h:
* src/cm.h:
* src/coding.h:
* src/composite.h:
* src/dispextern.h:
* src/disptab.h:
* src/font.h:
* src/fontset.h:
* src/frame.h:
* src/gtkutil.h:
* src/indent.h:
* src/intervals.h:
* src/keyboard.h:
* src/keymap.h:
* src/lisp.h:
* src/macros.h:
* src/md5.h:
* src/menu.h:
* src/msdos.h:
* src/nsterm.h:
* src/puresize.h:
* src/region-cache.h:
* src/syntax.h:
* src/syssignal.h:
* src/systime.h:
* src/termhooks.h:
* src/w32term.h:
* src/widget.h:
* src/window.h:
* src/xgselect.h:
* src/xsettings.h:
* src/xterm.h: Likewise.
| author | Jan D <jan.h.d@swipnet.se> |
|---|---|
| date | Fri, 02 Jul 2010 11:26:33 +0200 |
| parents | 1d1d5d9bd884 |
| children | 5842e8fabe06 |
comparison
equal
deleted
inserted
replaced
| 109098:a17732ef349e | 109099:e16f43875a48 |
|---|---|
| 497 unsigned char carryover[64]; | 497 unsigned char carryover[64]; |
| 498 int carryover_bytes; | 498 int carryover_bytes; |
| 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 |
| 509 coding_system. The lowest 8 bits are reserved for various kind of | 509 coding_system. The lowest 8 bits are reserved for various kind of |
| 510 annotations (currently two of them are used). */ | 510 annotations (currently two of them are used). */ |
| 689 /* Used by the gtk menu code. Note that this encodes utf-8, not | 689 /* Used by the gtk menu code. Note that this encodes utf-8, not |
| 690 utf-8-emacs, so it's not a no-op. */ | 690 utf-8-emacs, so it's not a no-op. */ |
| 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 |
| 724 #define decode_coding_region(coding, from, to) \ | 724 #define decode_coding_region(coding, from, to) \ |
| 725 decode_coding_object (coding, Fcurrent_buffer (), \ | 725 decode_coding_object (coding, Fcurrent_buffer (), \ |
| 751 decode_coding_object ((coding), Qnil, 0, 0, (bytes), (bytes), \ | 751 decode_coding_object ((coding), Qnil, 0, 0, (bytes), (bytes), \ |
| 752 (dst_object)); \ | 752 (dst_object)); \ |
| 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; |
| 760 | 760 |
| 761 extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index; | 761 extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index; |
| 778 extern Lisp_Object Qfile_coding_system; | 778 extern Lisp_Object Qfile_coding_system; |
| 779 extern Lisp_Object Qcall_process, Qcall_process_region; | 779 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; |
| 787 /* Coding-system for writing files and sending data to process. */ | 787 /* Coding-system for writing files and sending data to process. */ |
| 788 extern Lisp_Object Vcoding_system_for_write; | 788 extern Lisp_Object Vcoding_system_for_write; |
| 821 | 821 |
| 822 /* Error signaled when there's a problem with detecting coding system */ | 822 /* Error signaled when there's a problem with detecting 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 |
| 830 /* arch-tag: 2bc3b4fa-6870-4f64-8135-b962b2d290e4 | 830 /* arch-tag: 2bc3b4fa-6870-4f64-8135-b962b2d290e4 |
| 831 (do not change this comment) */ | 831 (do not change this comment) */ |
