diff options
| author | Jan D | 2010-07-02 11:26:33 +0200 |
|---|---|---|
| committer | Jan D | 2010-07-02 11:26:33 +0200 |
| commit | 383e09700c9b3d175c506301d363be4597827db7 (patch) | |
| tree | b72edd130163ced1973c2dabcd3708573f208fa2 /src | |
| parent | d9170db5208a86d94a6d8a89c8fa1e678bd094bd (diff) | |
| download | emacs-383e09700c9b3d175c506301d363be4597827db7.tar.gz emacs-383e09700c9b3d175c506301d363be4597827db7.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 40 | ||||
| -rw-r--r-- | src/atimer.h | 20 | ||||
| -rw-r--r-- | src/buffer.h | 46 | ||||
| -rw-r--r-- | src/category.h | 4 | ||||
| -rw-r--r-- | src/ccl.h | 8 | ||||
| -rw-r--r-- | src/character.h | 38 | ||||
| -rw-r--r-- | src/charset.h | 18 | ||||
| -rw-r--r-- | src/cm.h | 12 | ||||
| -rw-r--r-- | src/coding.h | 68 | ||||
| -rw-r--r-- | src/composite.h | 54 | ||||
| -rw-r--r-- | src/dispextern.h | 662 | ||||
| -rw-r--r-- | src/disptab.h | 6 | ||||
| -rw-r--r-- | src/font.h | 216 | ||||
| -rw-r--r-- | src/fontset.h | 30 | ||||
| -rw-r--r-- | src/frame.h | 88 | ||||
| -rw-r--r-- | src/gtkutil.h | 158 | ||||
| -rw-r--r-- | src/indent.h | 28 | ||||
| -rw-r--r-- | src/intervals.h | 118 | ||||
| -rw-r--r-- | src/keyboard.h | 98 | ||||
| -rw-r--r-- | src/keymap.h | 24 | ||||
| -rw-r--r-- | src/lisp.h | 876 | ||||
| -rw-r--r-- | src/macros.h | 6 | ||||
| -rw-r--r-- | src/md5.h | 20 | ||||
| -rw-r--r-- | src/menu.h | 20 | ||||
| -rw-r--r-- | src/msdos.h | 6 | ||||
| -rw-r--r-- | src/nsterm.h | 4 | ||||
| -rw-r--r-- | src/puresize.h | 2 | ||||
| -rw-r--r-- | src/region-cache.h | 32 | ||||
| -rw-r--r-- | src/syntax.h | 6 | ||||
| -rw-r--r-- | src/syssignal.h | 10 | ||||
| -rw-r--r-- | src/systime.h | 6 | ||||
| -rw-r--r-- | src/termhooks.h | 84 | ||||
| -rw-r--r-- | src/w32term.h | 10 | ||||
| -rw-r--r-- | src/widget.h | 4 | ||||
| -rw-r--r-- | src/window.h | 66 | ||||
| -rw-r--r-- | src/xgselect.h | 12 | ||||
| -rw-r--r-- | src/xsettings.h | 10 | ||||
| -rw-r--r-- | src/xterm.h | 270 |
38 files changed, 1610 insertions, 1570 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 46d41bf24bd..c951ed32557 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,43 @@ | |||
| 1 | 2010-07-02 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | Remove P_ and __P macros. | ||
| 4 | * buffer.h: Remove P_ and __P macros. | ||
| 5 | * category.h: | ||
| 6 | * ccl.h: | ||
| 7 | * character.h: | ||
| 8 | * charset.h: | ||
| 9 | * cm.h: | ||
| 10 | * coding.h: | ||
| 11 | * composite.h: | ||
| 12 | * dispextern.h: | ||
| 13 | * disptab.h: | ||
| 14 | * font.h: | ||
| 15 | * fontset.h: | ||
| 16 | * frame.h: | ||
| 17 | * gtkutil.h: | ||
| 18 | * indent.h: | ||
| 19 | * intervals.h: | ||
| 20 | * keyboard.h: | ||
| 21 | * keymap.h: | ||
| 22 | * lisp.h: | ||
| 23 | * macros.h: | ||
| 24 | * md5.h: | ||
| 25 | * menu.h: | ||
| 26 | * msdos.h: | ||
| 27 | * nsterm.h: | ||
| 28 | * puresize.h: | ||
| 29 | * region-cache.h: | ||
| 30 | * syntax.h: | ||
| 31 | * syssignal.h: | ||
| 32 | * systime.h: | ||
| 33 | * termhooks.h: | ||
| 34 | * w32term.h: | ||
| 35 | * widget.h: | ||
| 36 | * window.h: | ||
| 37 | * xgselect.h: | ||
| 38 | * xsettings.h: | ||
| 39 | * xterm.h: Likewise. | ||
| 40 | |||
| 1 | 2010-07-02 Dan Nicolaescu <dann@ics.uci.edu> | 41 | 2010-07-02 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 42 | ||
| 3 | * lisp.h: Document that USE_LISP_UNION_TYPE is now enabled using autoconf. | 43 | * lisp.h: Document that USE_LISP_UNION_TYPE is now enabled using autoconf. |
diff --git a/src/atimer.h b/src/atimer.h index fd354caf54d..e0f81a51d9a 100644 --- a/src/atimer.h +++ b/src/atimer.h | |||
| @@ -49,7 +49,7 @@ enum atimer_type | |||
| 49 | 49 | ||
| 50 | /* Type of timer callback functions. */ | 50 | /* Type of timer callback functions. */ |
| 51 | 51 | ||
| 52 | typedef void (* atimer_callback) P_ ((struct atimer *timer)); | 52 | typedef void (* atimer_callback) (struct atimer *timer); |
| 53 | 53 | ||
| 54 | /* Structure describing an asynchronous timer. */ | 54 | /* Structure describing an asynchronous timer. */ |
| 55 | 55 | ||
| @@ -77,15 +77,15 @@ struct atimer | |||
| 77 | 77 | ||
| 78 | /* Function prototypes. */ | 78 | /* Function prototypes. */ |
| 79 | 79 | ||
| 80 | struct atimer *start_atimer P_ ((enum atimer_type, EMACS_TIME, | 80 | struct atimer *start_atimer (enum atimer_type, EMACS_TIME, |
| 81 | atimer_callback, void *)); | 81 | atimer_callback, void *); |
| 82 | void cancel_atimer P_ ((struct atimer *)); | 82 | void cancel_atimer (struct atimer *); |
| 83 | void do_pending_atimers P_ ((void)); | 83 | void do_pending_atimers (void); |
| 84 | void init_atimer P_ ((void)); | 84 | void init_atimer (void); |
| 85 | void turn_on_atimers P_ ((int)); | 85 | void turn_on_atimers (int); |
| 86 | void stop_other_atimers P_ ((struct atimer *)); | 86 | void stop_other_atimers (struct atimer *); |
| 87 | void run_all_atimers P_ ((void)); | 87 | void run_all_atimers (void); |
| 88 | Lisp_Object unwind_stop_other_atimers P_ ((Lisp_Object)); | 88 | Lisp_Object unwind_stop_other_atimers (Lisp_Object); |
| 89 | 89 | ||
| 90 | #endif /* EMACS_ATIMER_H */ | 90 | #endif /* EMACS_ATIMER_H */ |
| 91 | 91 | ||
diff --git a/src/buffer.h b/src/buffer.h index d03152abd85..8e4e5d569ae 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -225,12 +225,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 225 | #define BUF_TEMP_SET_PT(buffer, position) \ | 225 | #define BUF_TEMP_SET_PT(buffer, position) \ |
| 226 | (temp_set_point ((buffer), (position))) | 226 | (temp_set_point ((buffer), (position))) |
| 227 | 227 | ||
| 228 | extern void set_point P_ ((EMACS_INT)); | 228 | extern void set_point (EMACS_INT); |
| 229 | extern INLINE void temp_set_point P_ ((struct buffer *, EMACS_INT)); | 229 | extern INLINE void temp_set_point (struct buffer *, EMACS_INT); |
| 230 | extern void set_point_both P_ ((EMACS_INT, EMACS_INT)); | 230 | extern void set_point_both (EMACS_INT, EMACS_INT); |
| 231 | extern INLINE void temp_set_point_both P_ ((struct buffer *, | 231 | extern INLINE void temp_set_point_both (struct buffer *, |
| 232 | EMACS_INT, EMACS_INT)); | 232 | EMACS_INT, EMACS_INT); |
| 233 | extern void enlarge_buffer_text P_ ((struct buffer *, EMACS_INT)); | 233 | extern void enlarge_buffer_text (struct buffer *, EMACS_INT); |
| 234 | 234 | ||
| 235 | 235 | ||
| 236 | /* Macros for setting the BEGV, ZV or PT of a given buffer. | 236 | /* Macros for setting the BEGV, ZV or PT of a given buffer. |
| @@ -857,23 +857,23 @@ extern struct buffer buffer_local_flags; | |||
| 857 | 857 | ||
| 858 | extern struct buffer buffer_local_symbols; | 858 | extern struct buffer buffer_local_symbols; |
| 859 | 859 | ||
| 860 | extern void delete_all_overlays P_ ((struct buffer *)); | 860 | extern void delete_all_overlays (struct buffer *); |
| 861 | extern void reset_buffer P_ ((struct buffer *)); | 861 | extern void reset_buffer (struct buffer *); |
| 862 | extern void evaporate_overlays P_ ((EMACS_INT)); | 862 | extern void evaporate_overlays (EMACS_INT); |
| 863 | extern int overlays_at P_ ((EMACS_INT pos, int extend, Lisp_Object **vec_ptr, | 863 | extern int overlays_at (EMACS_INT pos, int extend, Lisp_Object **vec_ptr, |
| 864 | int *len_ptr, EMACS_INT *next_ptr, | 864 | int *len_ptr, EMACS_INT *next_ptr, |
| 865 | EMACS_INT *prev_ptr, int change_req)); | 865 | EMACS_INT *prev_ptr, int change_req); |
| 866 | extern int sort_overlays P_ ((Lisp_Object *, int, struct window *)); | 866 | extern int sort_overlays (Lisp_Object *, int, struct window *); |
| 867 | extern void recenter_overlay_lists P_ ((struct buffer *, EMACS_INT)); | 867 | extern void recenter_overlay_lists (struct buffer *, EMACS_INT); |
| 868 | extern int overlay_strings P_ ((EMACS_INT, struct window *, unsigned char **)); | 868 | extern int overlay_strings (EMACS_INT, struct window *, unsigned char **); |
| 869 | extern void validate_region P_ ((Lisp_Object *, Lisp_Object *)); | 869 | extern void validate_region (Lisp_Object *, Lisp_Object *); |
| 870 | extern void set_buffer_internal P_ ((struct buffer *)); | 870 | extern void set_buffer_internal (struct buffer *); |
| 871 | extern void set_buffer_internal_1 P_ ((struct buffer *)); | 871 | extern void set_buffer_internal_1 (struct buffer *); |
| 872 | extern void set_buffer_temp P_ ((struct buffer *)); | 872 | extern void set_buffer_temp (struct buffer *); |
| 873 | extern void record_buffer P_ ((Lisp_Object)); | 873 | extern void record_buffer (Lisp_Object); |
| 874 | extern void buffer_slot_type_mismatch P_ ((Lisp_Object, int)) NO_RETURN; | 874 | extern void buffer_slot_type_mismatch (Lisp_Object, int) NO_RETURN; |
| 875 | extern void fix_overlays_before P_ ((struct buffer *, EMACS_INT, EMACS_INT)); | 875 | extern void fix_overlays_before (struct buffer *, EMACS_INT, EMACS_INT); |
| 876 | extern void mmap_set_vars P_ ((int)); | 876 | extern void mmap_set_vars (int); |
| 877 | 877 | ||
| 878 | /* Get overlays at POSN into array OVERLAYS with NOVERLAYS elements. | 878 | /* Get overlays at POSN into array OVERLAYS with NOVERLAYS elements. |
| 879 | If NEXTP is non-NULL, return next overlay there. | 879 | If NEXTP is non-NULL, return next overlay there. |
diff --git a/src/category.h b/src/category.h index b0fca6c7155..e636e32827d 100644 --- a/src/category.h +++ b/src/category.h | |||
| @@ -113,8 +113,8 @@ extern Lisp_Object _temp_category_set; | |||
| 113 | (!(SINGLE_BYTE_CHAR_P (c1) && SINGLE_BYTE_CHAR_P (c2)) \ | 113 | (!(SINGLE_BYTE_CHAR_P (c1) && SINGLE_BYTE_CHAR_P (c2)) \ |
| 114 | && word_boundary_p (c1, c2)) | 114 | && word_boundary_p (c1, c2)) |
| 115 | 115 | ||
| 116 | extern int word_boundary_p P_ ((int, int)); | 116 | extern int word_boundary_p (int, int); |
| 117 | extern void set_category_set P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 117 | extern void set_category_set (Lisp_Object, Lisp_Object, Lisp_Object); |
| 118 | 118 | ||
| 119 | /* arch-tag: 309dfe83-c3e2-4d22-8e81-faae5aece0ff | 119 | /* arch-tag: 309dfe83-c3e2-4d22-8e81-faae5aece0ff |
| 120 | (do not change this comment) */ | 120 | (do not change this comment) */ |
| @@ -97,13 +97,13 @@ extern Lisp_Object Vfont_ccl_encoder_alist; | |||
| 97 | 97 | ||
| 98 | /* Setup fields of the structure pointed by CCL appropriately for the | 98 | /* Setup fields of the structure pointed by CCL appropriately for the |
| 99 | execution of ccl program CCL_PROG (symbol or vector). */ | 99 | execution of ccl program CCL_PROG (symbol or vector). */ |
| 100 | extern int setup_ccl_program P_ ((struct ccl_program *, Lisp_Object)); | 100 | extern int setup_ccl_program (struct ccl_program *, Lisp_Object); |
| 101 | 101 | ||
| 102 | /* Check if CCL is updated or not. If not, re-setup members of CCL. */ | 102 | /* Check if CCL is updated or not. If not, re-setup members of CCL. */ |
| 103 | extern int check_ccl_update P_ ((struct ccl_program *)); | 103 | extern int check_ccl_update (struct ccl_program *); |
| 104 | 104 | ||
| 105 | extern void ccl_driver P_ ((struct ccl_program *, int *, int *, int, int, | 105 | extern void ccl_driver (struct ccl_program *, int *, int *, int, int, |
| 106 | Lisp_Object)); | 106 | Lisp_Object); |
| 107 | 107 | ||
| 108 | /* Vector of CCL program names vs corresponding program data. */ | 108 | /* Vector of CCL program names vs corresponding program data. */ |
| 109 | extern Lisp_Object Vccl_program_table; | 109 | extern Lisp_Object Vccl_program_table; |
diff --git a/src/character.h b/src/character.h index 429435e28d0..f9d95010655 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -596,24 +596,24 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 596 | : 0) | 596 | : 0) |
| 597 | 597 | ||
| 598 | 598 | ||
| 599 | extern int char_resolve_modifier_mask P_ ((int)); | 599 | extern int char_resolve_modifier_mask (int); |
| 600 | extern int char_string P_ ((unsigned, unsigned char *)); | 600 | extern int char_string (unsigned, unsigned char *); |
| 601 | extern int string_char P_ ((const unsigned char *, | 601 | extern int string_char (const unsigned char *, |
| 602 | const unsigned char **, int *)); | 602 | const unsigned char **, int *); |
| 603 | 603 | ||
| 604 | extern int translate_char P_ ((Lisp_Object, int c)); | 604 | extern int translate_char (Lisp_Object, int c); |
| 605 | extern int char_printable_p P_ ((int c)); | 605 | extern int char_printable_p (int c); |
| 606 | extern void parse_str_as_multibyte P_ ((const unsigned char *, int, int *, | 606 | extern void parse_str_as_multibyte (const unsigned char *, int, int *, |
| 607 | int *)); | 607 | int *); |
| 608 | extern int parse_str_to_multibyte P_ ((unsigned char *, int)); | 608 | extern int parse_str_to_multibyte (unsigned char *, int); |
| 609 | extern int str_as_multibyte P_ ((unsigned char *, int, int, int *)); | 609 | extern int str_as_multibyte (unsigned char *, int, int, int *); |
| 610 | extern int str_to_multibyte P_ ((unsigned char *, int, int)); | 610 | extern int str_to_multibyte (unsigned char *, int, int); |
| 611 | extern int str_as_unibyte P_ ((unsigned char *, int)); | 611 | extern int str_as_unibyte (unsigned char *, int); |
| 612 | extern EMACS_INT str_to_unibyte P_ ((const unsigned char *, unsigned char *, | 612 | extern EMACS_INT str_to_unibyte (const unsigned char *, unsigned char *, |
| 613 | EMACS_INT, int)); | 613 | EMACS_INT, int); |
| 614 | extern int strwidth P_ ((unsigned char *, int)); | 614 | extern int strwidth (unsigned char *, int); |
| 615 | extern int c_string_width P_ ((const unsigned char *, int, int, int *, int *)); | 615 | extern int c_string_width (const unsigned char *, int, int, int *, int *); |
| 616 | extern int lisp_string_width P_ ((Lisp_Object, int, int *, int *)); | 616 | extern int lisp_string_width (Lisp_Object, int, int *, int *); |
| 617 | 617 | ||
| 618 | extern Lisp_Object Vprintable_chars; | 618 | extern Lisp_Object Vprintable_chars; |
| 619 | 619 | ||
| @@ -624,7 +624,7 @@ extern Lisp_Object Vchar_direction_table; | |||
| 624 | extern Lisp_Object Vchar_unify_table; | 624 | extern Lisp_Object Vchar_unify_table; |
| 625 | extern Lisp_Object Vunicode_category_table; | 625 | extern Lisp_Object Vunicode_category_table; |
| 626 | 626 | ||
| 627 | extern Lisp_Object string_escape_byte8 P_ ((Lisp_Object)); | 627 | extern Lisp_Object string_escape_byte8 (Lisp_Object); |
| 628 | 628 | ||
| 629 | /* Return a translation table of id number ID. */ | 629 | /* Return a translation table of id number ID. */ |
| 630 | #define GET_TRANSLATION_TABLE(id) \ | 630 | #define GET_TRANSLATION_TABLE(id) \ |
diff --git a/src/charset.h b/src/charset.h index 718859929df..095dcefe15b 100644 --- a/src/charset.h +++ b/src/charset.h | |||
| @@ -534,17 +534,17 @@ extern int charset_ksc5601; | |||
| 534 | 534 | ||
| 535 | extern int charset_unibyte; | 535 | extern int charset_unibyte; |
| 536 | 536 | ||
| 537 | extern struct charset *char_charset P_ ((int, Lisp_Object, unsigned *)); | 537 | extern struct charset *char_charset (int, Lisp_Object, unsigned *); |
| 538 | extern Lisp_Object charset_attributes P_ ((int)); | 538 | extern Lisp_Object charset_attributes (int); |
| 539 | 539 | ||
| 540 | extern int maybe_unify_char P_ ((int, Lisp_Object)); | 540 | extern int maybe_unify_char (int, Lisp_Object); |
| 541 | extern int decode_char P_ ((struct charset *, unsigned)); | 541 | extern int decode_char (struct charset *, unsigned); |
| 542 | extern unsigned encode_char P_ ((struct charset *, int)); | 542 | extern unsigned encode_char (struct charset *, int); |
| 543 | extern int string_xstring_p P_ ((Lisp_Object)); | 543 | extern int string_xstring_p (Lisp_Object); |
| 544 | 544 | ||
| 545 | extern void map_charset_chars P_ ((void (*) (Lisp_Object, Lisp_Object), | 545 | extern void map_charset_chars (void (*) (Lisp_Object, Lisp_Object), |
| 546 | Lisp_Object, Lisp_Object, | 546 | Lisp_Object, Lisp_Object, |
| 547 | struct charset *, unsigned, unsigned)); | 547 | struct charset *, unsigned, unsigned); |
| 548 | 548 | ||
| 549 | EXFUN (Funify_charset, 3); | 549 | EXFUN (Funify_charset, 3); |
| 550 | 550 | ||
| @@ -163,12 +163,12 @@ extern int evalcost (); | |||
| 163 | #define emacs_tputs(tty, str, affcnt, putc) (current_tty = (tty), tputs (str, affcnt, putc)) | 163 | #define emacs_tputs(tty, str, affcnt, putc) (current_tty = (tty), tputs (str, affcnt, putc)) |
| 164 | 164 | ||
| 165 | extern struct tty_display_info *current_tty; | 165 | extern struct tty_display_info *current_tty; |
| 166 | extern void cmcheckmagic P_ ((struct tty_display_info *)); | 166 | extern void cmcheckmagic (struct tty_display_info *); |
| 167 | extern int cmputc P_ ((int)); | 167 | extern int cmputc (int); |
| 168 | extern void cmcostinit P_ ((struct tty_display_info *)); | 168 | extern void cmcostinit (struct tty_display_info *); |
| 169 | extern void cmgoto P_ ((struct tty_display_info *, int, int)); | 169 | extern void cmgoto (struct tty_display_info *, int, int); |
| 170 | extern void Wcm_clear P_ ((struct tty_display_info *)); | 170 | extern void Wcm_clear (struct tty_display_info *); |
| 171 | extern int Wcm_init P_ ((struct tty_display_info *)); | 171 | extern int Wcm_init (struct tty_display_info *); |
| 172 | 172 | ||
| 173 | /* arch-tag: acc1535a-7136-49d6-b22d-9bc85702251b | 173 | /* arch-tag: acc1535a-7136-49d6-b22d-9bc85702251b |
| 174 | (do not change this comment) */ | 174 | (do not change this comment) */ |
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 | ||
diff --git a/src/composite.h b/src/composite.h index 59c237c8de2..554ab554115 100644 --- a/src/composite.h +++ b/src/composite.h | |||
| @@ -212,16 +212,16 @@ extern Lisp_Object Vauto_composition_function; | |||
| 212 | extern Lisp_Object Qauto_composition_function; | 212 | extern Lisp_Object Qauto_composition_function; |
| 213 | extern Lisp_Object Vcomposition_function_table; | 213 | extern Lisp_Object Vcomposition_function_table; |
| 214 | 214 | ||
| 215 | extern int get_composition_id P_ ((int, int, int, Lisp_Object, Lisp_Object)); | 215 | extern int get_composition_id (int, int, int, Lisp_Object, Lisp_Object); |
| 216 | extern int find_composition P_ ((int, int, EMACS_INT *, EMACS_INT *, Lisp_Object *, | 216 | extern int find_composition (int, int, EMACS_INT *, EMACS_INT *, Lisp_Object *, |
| 217 | Lisp_Object)); | 217 | Lisp_Object); |
| 218 | extern void update_compositions P_ ((EMACS_INT, EMACS_INT, int)); | 218 | extern void update_compositions (EMACS_INT, EMACS_INT, int); |
| 219 | extern void make_composition_value_copy P_ ((Lisp_Object)); | 219 | extern void make_composition_value_copy (Lisp_Object); |
| 220 | extern void compose_region P_ ((int, int, Lisp_Object, Lisp_Object, | 220 | extern void compose_region (int, int, Lisp_Object, Lisp_Object, |
| 221 | Lisp_Object)); | 221 | Lisp_Object); |
| 222 | extern void syms_of_composite P_ ((void)); | 222 | extern void syms_of_composite (void); |
| 223 | extern void compose_text P_ ((int, int, Lisp_Object, Lisp_Object, | 223 | extern void compose_text (int, int, Lisp_Object, Lisp_Object, |
| 224 | Lisp_Object)); | 224 | Lisp_Object); |
| 225 | 225 | ||
| 226 | /* Macros for lispy glyph-string. This is completely different from | 226 | /* Macros for lispy glyph-string. This is completely different from |
| 227 | struct glyph_string. */ | 227 | struct glyph_string. */ |
| @@ -303,23 +303,23 @@ struct composition_it; | |||
| 303 | struct face; | 303 | struct face; |
| 304 | struct font_metrics; | 304 | struct font_metrics; |
| 305 | 305 | ||
| 306 | extern Lisp_Object composition_gstring_put_cache P_ ((Lisp_Object, int)); | 306 | extern Lisp_Object composition_gstring_put_cache (Lisp_Object, int); |
| 307 | extern Lisp_Object composition_gstring_from_id P_ ((int)); | 307 | extern Lisp_Object composition_gstring_from_id (int); |
| 308 | extern int composition_gstring_p P_ ((Lisp_Object)); | 308 | extern int composition_gstring_p (Lisp_Object); |
| 309 | extern int composition_gstring_width P_ ((Lisp_Object, int, int, | 309 | extern int composition_gstring_width (Lisp_Object, int, int, |
| 310 | struct font_metrics *)); | 310 | struct font_metrics *); |
| 311 | 311 | ||
| 312 | extern void composition_compute_stop_pos P_ ((struct composition_it *, | 312 | extern void composition_compute_stop_pos (struct composition_it *, |
| 313 | EMACS_INT, EMACS_INT, EMACS_INT, | 313 | EMACS_INT, EMACS_INT, EMACS_INT, |
| 314 | Lisp_Object)); | 314 | Lisp_Object); |
| 315 | extern int composition_reseat_it P_ ((struct composition_it *, | 315 | extern int composition_reseat_it (struct composition_it *, |
| 316 | EMACS_INT, EMACS_INT, EMACS_INT, | 316 | EMACS_INT, EMACS_INT, EMACS_INT, |
| 317 | struct window *, struct face *, | 317 | struct window *, struct face *, |
| 318 | Lisp_Object)); | 318 | Lisp_Object); |
| 319 | extern int composition_update_it P_ ((struct composition_it *, | 319 | extern int composition_update_it (struct composition_it *, |
| 320 | EMACS_INT, EMACS_INT, Lisp_Object)); | 320 | EMACS_INT, EMACS_INT, Lisp_Object); |
| 321 | 321 | ||
| 322 | extern int composition_adjust_point P_ ((EMACS_INT, EMACS_INT)); | 322 | extern int composition_adjust_point (EMACS_INT, EMACS_INT); |
| 323 | 323 | ||
| 324 | EXFUN (Fcompose_region_internal, 4); | 324 | EXFUN (Fcompose_region_internal, 4); |
| 325 | EXFUN (Fcompose_string_internal, 5); | 325 | EXFUN (Fcompose_string_internal, 5); |
diff --git a/src/dispextern.h b/src/dispextern.h index f0d14c0e487..9bafb49dd91 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -642,7 +642,7 @@ struct glyph_matrix | |||
| 642 | This aborts if any pointer is found twice. */ | 642 | This aborts if any pointer is found twice. */ |
| 643 | 643 | ||
| 644 | #if GLYPH_DEBUG | 644 | #if GLYPH_DEBUG |
| 645 | void check_matrix_pointer_lossage P_ ((struct glyph_matrix *)); | 645 | void check_matrix_pointer_lossage (struct glyph_matrix *); |
| 646 | #define CHECK_MATRIX(MATRIX) check_matrix_pointer_lossage ((MATRIX)) | 646 | #define CHECK_MATRIX(MATRIX) check_matrix_pointer_lossage ((MATRIX)) |
| 647 | #else | 647 | #else |
| 648 | #define CHECK_MATRIX(MATRIX) (void) 0 | 648 | #define CHECK_MATRIX(MATRIX) (void) 0 |
| @@ -914,7 +914,7 @@ struct glyph_row | |||
| 914 | we don't try to access rows that are out of bounds. */ | 914 | we don't try to access rows that are out of bounds. */ |
| 915 | 915 | ||
| 916 | #if GLYPH_DEBUG | 916 | #if GLYPH_DEBUG |
| 917 | struct glyph_row *matrix_row P_ ((struct glyph_matrix *, int)); | 917 | struct glyph_row *matrix_row (struct glyph_matrix *, int); |
| 918 | #define MATRIX_ROW(MATRIX, ROW) matrix_row ((MATRIX), (ROW)) | 918 | #define MATRIX_ROW(MATRIX, ROW) matrix_row ((MATRIX), (ROW)) |
| 919 | #else | 919 | #else |
| 920 | #define MATRIX_ROW(MATRIX, ROW) ((MATRIX)->rows + (ROW)) | 920 | #define MATRIX_ROW(MATRIX, ROW) ((MATRIX)->rows + (ROW)) |
| @@ -2478,7 +2478,7 @@ struct run | |||
| 2478 | 2478 | ||
| 2479 | /* Handlers for setting frame parameters. */ | 2479 | /* Handlers for setting frame parameters. */ |
| 2480 | 2480 | ||
| 2481 | typedef void (*frame_parm_handler) P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 2481 | typedef void (*frame_parm_handler) (struct frame *, Lisp_Object, Lisp_Object); |
| 2482 | 2482 | ||
| 2483 | 2483 | ||
| 2484 | /* Structure holding system-dependent interface functions needed | 2484 | /* Structure holding system-dependent interface functions needed |
| @@ -2491,110 +2491,110 @@ struct redisplay_interface | |||
| 2491 | 2491 | ||
| 2492 | /* Produce glyphs/get display metrics for the display element IT is | 2492 | /* Produce glyphs/get display metrics for the display element IT is |
| 2493 | loaded with. */ | 2493 | loaded with. */ |
| 2494 | void (*produce_glyphs) P_ ((struct it *it)); | 2494 | void (*produce_glyphs) (struct it *it); |
| 2495 | 2495 | ||
| 2496 | /* Write or insert LEN glyphs from STRING at the nominal output | 2496 | /* Write or insert LEN glyphs from STRING at the nominal output |
| 2497 | position. */ | 2497 | position. */ |
| 2498 | void (*write_glyphs) P_ ((struct glyph *string, int len)); | 2498 | void (*write_glyphs) (struct glyph *string, int len); |
| 2499 | void (*insert_glyphs) P_ ((struct glyph *start, int len)); | 2499 | void (*insert_glyphs) (struct glyph *start, int len); |
| 2500 | 2500 | ||
| 2501 | /* Clear from nominal output position to X. X < 0 means clear | 2501 | /* Clear from nominal output position to X. X < 0 means clear |
| 2502 | to right end of display. */ | 2502 | to right end of display. */ |
| 2503 | void (*clear_end_of_line) P_ ((int x)); | 2503 | void (*clear_end_of_line) (int x); |
| 2504 | 2504 | ||
| 2505 | /* Function to call to scroll the display as described by RUN on | 2505 | /* Function to call to scroll the display as described by RUN on |
| 2506 | window W. */ | 2506 | window W. */ |
| 2507 | void (*scroll_run_hook) P_ ((struct window *w, struct run *run)); | 2507 | void (*scroll_run_hook) (struct window *w, struct run *run); |
| 2508 | 2508 | ||
| 2509 | /* Function to call after a line in a display has been completely | 2509 | /* Function to call after a line in a display has been completely |
| 2510 | updated. Used to draw truncation marks and alike. DESIRED_ROW | 2510 | updated. Used to draw truncation marks and alike. DESIRED_ROW |
| 2511 | is the desired row which has been updated. */ | 2511 | is the desired row which has been updated. */ |
| 2512 | void (*after_update_window_line_hook) P_ ((struct glyph_row *desired_row)); | 2512 | void (*after_update_window_line_hook) (struct glyph_row *desired_row); |
| 2513 | 2513 | ||
| 2514 | /* Function to call before beginning to update window W in | 2514 | /* Function to call before beginning to update window W in |
| 2515 | window-based redisplay. */ | 2515 | window-based redisplay. */ |
| 2516 | void (*update_window_begin_hook) P_ ((struct window *w)); | 2516 | void (*update_window_begin_hook) (struct window *w); |
| 2517 | 2517 | ||
| 2518 | /* Function to call after window W has been updated in window-based | 2518 | /* Function to call after window W has been updated in window-based |
| 2519 | redisplay. CURSOR_ON_P non-zero means switch cursor on. | 2519 | redisplay. CURSOR_ON_P non-zero means switch cursor on. |
| 2520 | MOUSE_FACE_OVERWRITTEN_P non-zero means that some lines in W | 2520 | MOUSE_FACE_OVERWRITTEN_P non-zero means that some lines in W |
| 2521 | that contained glyphs in mouse-face were overwritten, so we | 2521 | that contained glyphs in mouse-face were overwritten, so we |
| 2522 | have to update the mouse highlight. */ | 2522 | have to update the mouse highlight. */ |
| 2523 | void (*update_window_end_hook) P_ ((struct window *w, int cursor_on_p, | 2523 | void (*update_window_end_hook) (struct window *w, int cursor_on_p, |
| 2524 | int mouse_face_overwritten_p)); | 2524 | int mouse_face_overwritten_p); |
| 2525 | 2525 | ||
| 2526 | /* Move cursor to row/column position VPOS/HPOS, pixel coordinates | 2526 | /* Move cursor to row/column position VPOS/HPOS, pixel coordinates |
| 2527 | Y/X. HPOS/VPOS are window-relative row and column numbers and X/Y | 2527 | Y/X. HPOS/VPOS are window-relative row and column numbers and X/Y |
| 2528 | are window-relative pixel positions. */ | 2528 | are window-relative pixel positions. */ |
| 2529 | void (*cursor_to) P_ ((int vpos, int hpos, int y, int x)); | 2529 | void (*cursor_to) (int vpos, int hpos, int y, int x); |
| 2530 | 2530 | ||
| 2531 | /* Flush the display of frame F. For X, this is XFlush. */ | 2531 | /* Flush the display of frame F. For X, this is XFlush. */ |
| 2532 | void (*flush_display) P_ ((struct frame *f)); | 2532 | void (*flush_display) (struct frame *f); |
| 2533 | 2533 | ||
| 2534 | /* Flush the display of frame F if non-NULL. This is called | 2534 | /* Flush the display of frame F if non-NULL. This is called |
| 2535 | during redisplay, and should be NULL on systems which flushes | 2535 | during redisplay, and should be NULL on systems which flushes |
| 2536 | automatically before reading input. */ | 2536 | automatically before reading input. */ |
| 2537 | void (*flush_display_optional) P_ ((struct frame *f)); | 2537 | void (*flush_display_optional) (struct frame *f); |
| 2538 | 2538 | ||
| 2539 | /* Clear the mouse hightlight in window W, if there is any. */ | 2539 | /* Clear the mouse hightlight in window W, if there is any. */ |
| 2540 | void (*clear_window_mouse_face) P_ ((struct window *w)); | 2540 | void (*clear_window_mouse_face) (struct window *w); |
| 2541 | 2541 | ||
| 2542 | /* Set *LEFT and *RIGHT to the left and right overhang of GLYPH on | 2542 | /* Set *LEFT and *RIGHT to the left and right overhang of GLYPH on |
| 2543 | frame F. */ | 2543 | frame F. */ |
| 2544 | void (*get_glyph_overhangs) P_ ((struct glyph *glyph, struct frame *f, | 2544 | void (*get_glyph_overhangs) (struct glyph *glyph, struct frame *f, |
| 2545 | int *left, int *right)); | 2545 | int *left, int *right); |
| 2546 | 2546 | ||
| 2547 | /* Fix the display of AREA of ROW in window W for overlapping rows. | 2547 | /* Fix the display of AREA of ROW in window W for overlapping rows. |
| 2548 | This function is called from redraw_overlapping_rows after | 2548 | This function is called from redraw_overlapping_rows after |
| 2549 | desired rows have been made current. */ | 2549 | desired rows have been made current. */ |
| 2550 | void (*fix_overlapping_area) P_ ((struct window *w, struct glyph_row *row, | 2550 | void (*fix_overlapping_area) (struct window *w, struct glyph_row *row, |
| 2551 | enum glyph_row_area area, int)); | 2551 | enum glyph_row_area area, int); |
| 2552 | 2552 | ||
| 2553 | #ifdef HAVE_WINDOW_SYSTEM | 2553 | #ifdef HAVE_WINDOW_SYSTEM |
| 2554 | 2554 | ||
| 2555 | /* Draw a fringe bitmap in window W of row ROW using parameters P. */ | 2555 | /* Draw a fringe bitmap in window W of row ROW using parameters P. */ |
| 2556 | void (*draw_fringe_bitmap) P_ ((struct window *w, struct glyph_row *row, | 2556 | void (*draw_fringe_bitmap) (struct window *w, struct glyph_row *row, |
| 2557 | struct draw_fringe_bitmap_params *p)); | 2557 | struct draw_fringe_bitmap_params *p); |
| 2558 | 2558 | ||
| 2559 | /* Define and destroy fringe bitmap no. WHICH. */ | 2559 | /* Define and destroy fringe bitmap no. WHICH. */ |
| 2560 | void (*define_fringe_bitmap) P_ ((int which, unsigned short *bits, | 2560 | void (*define_fringe_bitmap) (int which, unsigned short *bits, |
| 2561 | int h, int wd)); | 2561 | int h, int wd); |
| 2562 | void (*destroy_fringe_bitmap) P_ ((int which)); | 2562 | void (*destroy_fringe_bitmap) (int which); |
| 2563 | 2563 | ||
| 2564 | /* Compute left and right overhang of glyph string S. | 2564 | /* Compute left and right overhang of glyph string S. |
| 2565 | A NULL pointer if platform does not support this. */ | 2565 | A NULL pointer if platform does not support this. */ |
| 2566 | void (*compute_glyph_string_overhangs) P_ ((struct glyph_string *s)); | 2566 | void (*compute_glyph_string_overhangs) (struct glyph_string *s); |
| 2567 | 2567 | ||
| 2568 | /* Draw a glyph string S. */ | 2568 | /* Draw a glyph string S. */ |
| 2569 | void (*draw_glyph_string) P_ ((struct glyph_string *s)); | 2569 | void (*draw_glyph_string) (struct glyph_string *s); |
| 2570 | 2570 | ||
| 2571 | /* Define cursor CURSOR on frame F. */ | 2571 | /* Define cursor CURSOR on frame F. */ |
| 2572 | void (*define_frame_cursor) P_ ((struct frame *f, Cursor cursor)); | 2572 | void (*define_frame_cursor) (struct frame *f, Cursor cursor); |
| 2573 | 2573 | ||
| 2574 | /* Clear the area at (X,Y,WIDTH,HEIGHT) of frame F. */ | 2574 | /* Clear the area at (X,Y,WIDTH,HEIGHT) of frame F. */ |
| 2575 | void (*clear_frame_area) P_ ((struct frame *f, int x, int y, | 2575 | void (*clear_frame_area) (struct frame *f, int x, int y, |
| 2576 | int width, int height)); | 2576 | int width, int height); |
| 2577 | 2577 | ||
| 2578 | /* Draw specified cursor CURSOR_TYPE of width CURSOR_WIDTH | 2578 | /* Draw specified cursor CURSOR_TYPE of width CURSOR_WIDTH |
| 2579 | at row GLYPH_ROW on window W if ON_P is 1. If ON_P is | 2579 | at row GLYPH_ROW on window W if ON_P is 1. If ON_P is |
| 2580 | 0, don't draw cursor. If ACTIVE_P is 1, system caret | 2580 | 0, don't draw cursor. If ACTIVE_P is 1, system caret |
| 2581 | should track this cursor (when applicable). */ | 2581 | should track this cursor (when applicable). */ |
| 2582 | void (*draw_window_cursor) P_ ((struct window *w, | 2582 | void (*draw_window_cursor) (struct window *w, |
| 2583 | struct glyph_row *glyph_row, | 2583 | struct glyph_row *glyph_row, |
| 2584 | int x, int y, | 2584 | int x, int y, |
| 2585 | int cursor_type, int cursor_width, | 2585 | int cursor_type, int cursor_width, |
| 2586 | int on_p, int active_p)); | 2586 | int on_p, int active_p); |
| 2587 | 2587 | ||
| 2588 | /* Draw vertical border for window W from (X,Y0) to (X,Y1). */ | 2588 | /* Draw vertical border for window W from (X,Y0) to (X,Y1). */ |
| 2589 | void (*draw_vertical_window_border) P_ ((struct window *w, | 2589 | void (*draw_vertical_window_border) (struct window *w, |
| 2590 | int x, int y0, int y1)); | 2590 | int x, int y0, int y1); |
| 2591 | 2591 | ||
| 2592 | /* Shift display of frame F to make room for inserted glyphs. | 2592 | /* Shift display of frame F to make room for inserted glyphs. |
| 2593 | The area at pixel (X,Y) of width WIDTH and height HEIGHT is | 2593 | The area at pixel (X,Y) of width WIDTH and height HEIGHT is |
| 2594 | shifted right by SHIFT_BY pixels. */ | 2594 | shifted right by SHIFT_BY pixels. */ |
| 2595 | void (*shift_glyphs_for_insert) P_ ((struct frame *f, | 2595 | void (*shift_glyphs_for_insert) (struct frame *f, |
| 2596 | int x, int y, int width, | 2596 | int x, int y, int width, |
| 2597 | int height, int shift_by)); | 2597 | int height, int shift_by); |
| 2598 | 2598 | ||
| 2599 | #endif /* HAVE_WINDOW_SYSTEM */ | 2599 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 2600 | }; | 2600 | }; |
| @@ -2621,14 +2621,14 @@ struct image_type | |||
| 2621 | 2621 | ||
| 2622 | /* Check that SPEC is a valid image specification for the given | 2622 | /* Check that SPEC is a valid image specification for the given |
| 2623 | image type. Value is non-zero if SPEC is valid. */ | 2623 | image type. Value is non-zero if SPEC is valid. */ |
| 2624 | int (* valid_p) P_ ((Lisp_Object spec)); | 2624 | int (* valid_p) (Lisp_Object spec); |
| 2625 | 2625 | ||
| 2626 | /* Load IMG which is used on frame F from information contained in | 2626 | /* Load IMG which is used on frame F from information contained in |
| 2627 | IMG->spec. Value is non-zero if successful. */ | 2627 | IMG->spec. Value is non-zero if successful. */ |
| 2628 | int (* load) P_ ((struct frame *f, struct image *img)); | 2628 | int (* load) (struct frame *f, struct image *img); |
| 2629 | 2629 | ||
| 2630 | /* Free resources of image IMG which is used on frame F. */ | 2630 | /* Free resources of image IMG which is used on frame F. */ |
| 2631 | void (* free) P_ ((struct frame *f, struct image *img)); | 2631 | void (* free) (struct frame *f, struct image *img); |
| 2632 | 2632 | ||
| 2633 | /* Next in list of all supported image types. */ | 2633 | /* Next in list of all supported image types. */ |
| 2634 | struct image_type *next; | 2634 | struct image_type *next; |
| @@ -2885,65 +2885,65 @@ extern EMACS_INT tool_bar_button_relief; | |||
| 2885 | 2885 | ||
| 2886 | /* Defined in bidi.c */ | 2886 | /* Defined in bidi.c */ |
| 2887 | 2887 | ||
| 2888 | extern void bidi_init_it P_ ((EMACS_INT, EMACS_INT, struct bidi_it *)); | 2888 | extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *); |
| 2889 | extern void bidi_move_to_visually_next P_ ((struct bidi_it *)); | 2889 | extern void bidi_move_to_visually_next (struct bidi_it *); |
| 2890 | extern void bidi_paragraph_init P_ ((bidi_dir_t, struct bidi_it *)); | 2890 | extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *); |
| 2891 | extern int bidi_mirror_char P_ ((int)); | 2891 | extern int bidi_mirror_char (int); |
| 2892 | 2892 | ||
| 2893 | /* Defined in xdisp.c */ | 2893 | /* Defined in xdisp.c */ |
| 2894 | 2894 | ||
| 2895 | struct glyph_row *row_containing_pos P_ ((struct window *, int, | 2895 | struct glyph_row *row_containing_pos (struct window *, int, |
| 2896 | struct glyph_row *, | 2896 | struct glyph_row *, |
| 2897 | struct glyph_row *, int)); | 2897 | struct glyph_row *, int); |
| 2898 | EMACS_INT string_buffer_position P_ ((struct window *, Lisp_Object, | 2898 | EMACS_INT string_buffer_position (struct window *, Lisp_Object, |
| 2899 | EMACS_INT)); | 2899 | EMACS_INT); |
| 2900 | int line_bottom_y P_ ((struct it *)); | 2900 | int line_bottom_y (struct it *); |
| 2901 | int display_prop_intangible_p P_ ((Lisp_Object)); | 2901 | int display_prop_intangible_p (Lisp_Object); |
| 2902 | void resize_echo_area_exactly P_ ((void)); | 2902 | void resize_echo_area_exactly (void); |
| 2903 | int resize_mini_window P_ ((struct window *, int)); | 2903 | int resize_mini_window (struct window *, int); |
| 2904 | int try_window P_ ((Lisp_Object, struct text_pos, int)); | 2904 | int try_window (Lisp_Object, struct text_pos, int); |
| 2905 | void window_box P_ ((struct window *, int, int *, int *, int *, int *)); | 2905 | void window_box (struct window *, int, int *, int *, int *, int *); |
| 2906 | int window_box_height P_ ((struct window *)); | 2906 | int window_box_height (struct window *); |
| 2907 | int window_text_bottom_y P_ ((struct window *)); | 2907 | int window_text_bottom_y (struct window *); |
| 2908 | int window_box_width P_ ((struct window *, int)); | 2908 | int window_box_width (struct window *, int); |
| 2909 | int window_box_left P_ ((struct window *, int)); | 2909 | int window_box_left (struct window *, int); |
| 2910 | int window_box_left_offset P_ ((struct window *, int)); | 2910 | int window_box_left_offset (struct window *, int); |
| 2911 | int window_box_right P_ ((struct window *, int)); | 2911 | int window_box_right (struct window *, int); |
| 2912 | int window_box_right_offset P_ ((struct window *, int)); | 2912 | int window_box_right_offset (struct window *, int); |
| 2913 | void window_box_edges P_ ((struct window *, int, int *, int *, int *, int *)); | 2913 | void window_box_edges (struct window *, int, int *, int *, int *, int *); |
| 2914 | int estimate_mode_line_height P_ ((struct frame *, enum face_id)); | 2914 | int estimate_mode_line_height (struct frame *, enum face_id); |
| 2915 | void pixel_to_glyph_coords P_ ((struct frame *, int, int, int *, int *, | 2915 | void pixel_to_glyph_coords (struct frame *, int, int, int *, int *, |
| 2916 | NativeRectangle *, int)); | 2916 | NativeRectangle *, int); |
| 2917 | int glyph_to_pixel_coords P_ ((struct window *, int, int, int *, int *)); | 2917 | int glyph_to_pixel_coords (struct window *, int, int, int *, int *); |
| 2918 | void remember_mouse_glyph P_ ((struct frame *, int, int, NativeRectangle *)); | 2918 | void remember_mouse_glyph (struct frame *, int, int, NativeRectangle *); |
| 2919 | 2919 | ||
| 2920 | void mark_window_display_accurate P_ ((Lisp_Object, int)); | 2920 | void mark_window_display_accurate (Lisp_Object, int); |
| 2921 | void redisplay_preserve_echo_area P_ ((int)); | 2921 | void redisplay_preserve_echo_area (int); |
| 2922 | int set_cursor_from_row P_ ((struct window *, struct glyph_row *, | 2922 | int set_cursor_from_row (struct window *, struct glyph_row *, |
| 2923 | struct glyph_matrix *, int, int, int, int)); | 2923 | struct glyph_matrix *, int, int, int, int); |
| 2924 | void init_iterator P_ ((struct it *, struct window *, EMACS_INT, | 2924 | void init_iterator (struct it *, struct window *, EMACS_INT, |
| 2925 | EMACS_INT, struct glyph_row *, enum face_id)); | 2925 | EMACS_INT, struct glyph_row *, enum face_id); |
| 2926 | void init_iterator_to_row_start P_ ((struct it *, struct window *, | 2926 | void init_iterator_to_row_start (struct it *, struct window *, |
| 2927 | struct glyph_row *)); | 2927 | struct glyph_row *); |
| 2928 | int get_next_display_element P_ ((struct it *)); | 2928 | int get_next_display_element (struct it *); |
| 2929 | void set_iterator_to_next P_ ((struct it *, int)); | 2929 | void set_iterator_to_next (struct it *, int); |
| 2930 | void start_display P_ ((struct it *, struct window *, struct text_pos)); | 2930 | void start_display (struct it *, struct window *, struct text_pos); |
| 2931 | void move_it_to P_ ((struct it *, int, int, int, int, int)); | 2931 | void move_it_to (struct it *, int, int, int, int, int); |
| 2932 | void move_it_vertically P_ ((struct it *, int)); | 2932 | void move_it_vertically (struct it *, int); |
| 2933 | void move_it_vertically_backward P_ ((struct it *, int)); | 2933 | void move_it_vertically_backward (struct it *, int); |
| 2934 | void move_it_by_lines P_ ((struct it *, int, int)); | 2934 | void move_it_by_lines (struct it *, int, int); |
| 2935 | void move_it_past_eol P_ ((struct it *)); | 2935 | void move_it_past_eol (struct it *); |
| 2936 | void move_it_in_display_line (struct it *it, | 2936 | void move_it_in_display_line (struct it *it, |
| 2937 | EMACS_INT to_charpos, int to_x, | 2937 | EMACS_INT to_charpos, int to_x, |
| 2938 | enum move_operation_enum op); | 2938 | enum move_operation_enum op); |
| 2939 | int in_display_vector_p P_ ((struct it *)); | 2939 | int in_display_vector_p (struct it *); |
| 2940 | int frame_mode_line_height P_ ((struct frame *)); | 2940 | int frame_mode_line_height (struct frame *); |
| 2941 | void highlight_trailing_whitespace P_ ((struct frame *, struct glyph_row *)); | 2941 | void highlight_trailing_whitespace (struct frame *, struct glyph_row *); |
| 2942 | extern Lisp_Object Qtool_bar; | 2942 | extern Lisp_Object Qtool_bar; |
| 2943 | extern Lisp_Object Vshow_trailing_whitespace; | 2943 | extern Lisp_Object Vshow_trailing_whitespace; |
| 2944 | extern int mode_line_in_non_selected_windows; | 2944 | extern int mode_line_in_non_selected_windows; |
| 2945 | extern int redisplaying_p; | 2945 | extern int redisplaying_p; |
| 2946 | extern void add_to_log P_ ((char *, Lisp_Object, Lisp_Object)); | 2946 | extern void add_to_log (char *, Lisp_Object, Lisp_Object); |
| 2947 | extern int help_echo_showing_p; | 2947 | extern int help_echo_showing_p; |
| 2948 | extern int current_mode_line_height, current_header_line_height; | 2948 | extern int current_mode_line_height, current_header_line_height; |
| 2949 | extern Lisp_Object help_echo_string, help_echo_window; | 2949 | extern Lisp_Object help_echo_string, help_echo_window; |
| @@ -2955,67 +2955,67 @@ extern Lisp_Object Vmouse_autoselect_window; | |||
| 2955 | extern int unibyte_display_via_language_environment; | 2955 | extern int unibyte_display_via_language_environment; |
| 2956 | extern EMACS_INT underline_minimum_offset; | 2956 | extern EMACS_INT underline_minimum_offset; |
| 2957 | 2957 | ||
| 2958 | extern void reseat_at_previous_visible_line_start P_ ((struct it *)); | 2958 | extern void reseat_at_previous_visible_line_start (struct it *); |
| 2959 | 2959 | ||
| 2960 | extern int calc_pixel_width_or_height P_ ((double *, struct it *, Lisp_Object, | 2960 | extern int calc_pixel_width_or_height (double *, struct it *, Lisp_Object, |
| 2961 | struct font *, int, int *)); | 2961 | struct font *, int, int *); |
| 2962 | 2962 | ||
| 2963 | #ifdef HAVE_WINDOW_SYSTEM | 2963 | #ifdef HAVE_WINDOW_SYSTEM |
| 2964 | 2964 | ||
| 2965 | #if GLYPH_DEBUG | 2965 | #if GLYPH_DEBUG |
| 2966 | extern void dump_glyph_string P_ ((struct glyph_string *)); | 2966 | extern void dump_glyph_string (struct glyph_string *); |
| 2967 | #endif | 2967 | #endif |
| 2968 | 2968 | ||
| 2969 | extern void x_get_glyph_overhangs P_ ((struct glyph *, struct frame *, | 2969 | extern void x_get_glyph_overhangs (struct glyph *, struct frame *, |
| 2970 | int *, int *)); | 2970 | int *, int *); |
| 2971 | extern void x_produce_glyphs P_ ((struct it *)); | 2971 | extern void x_produce_glyphs (struct it *); |
| 2972 | 2972 | ||
| 2973 | extern void x_write_glyphs P_ ((struct glyph *, int)); | 2973 | extern void x_write_glyphs (struct glyph *, int); |
| 2974 | extern void x_insert_glyphs P_ ((struct glyph *, int len)); | 2974 | extern void x_insert_glyphs (struct glyph *, int len); |
| 2975 | extern void x_clear_end_of_line P_ ((int)); | 2975 | extern void x_clear_end_of_line (int); |
| 2976 | 2976 | ||
| 2977 | extern int x_stretch_cursor_p; | 2977 | extern int x_stretch_cursor_p; |
| 2978 | extern struct cursor_pos output_cursor; | 2978 | extern struct cursor_pos output_cursor; |
| 2979 | 2979 | ||
| 2980 | extern void x_fix_overlapping_area P_ ((struct window *, struct glyph_row *, | 2980 | extern void x_fix_overlapping_area (struct window *, struct glyph_row *, |
| 2981 | enum glyph_row_area, int)); | 2981 | enum glyph_row_area, int); |
| 2982 | extern void draw_phys_cursor_glyph P_ ((struct window *, | 2982 | extern void draw_phys_cursor_glyph (struct window *, |
| 2983 | struct glyph_row *, | 2983 | struct glyph_row *, |
| 2984 | enum draw_glyphs_face)); | 2984 | enum draw_glyphs_face); |
| 2985 | extern void get_phys_cursor_geometry P_ ((struct window *, struct glyph_row *, | 2985 | extern void get_phys_cursor_geometry (struct window *, struct glyph_row *, |
| 2986 | struct glyph *, int *, int *, int *)); | 2986 | struct glyph *, int *, int *, int *); |
| 2987 | extern void erase_phys_cursor P_ ((struct window *)); | 2987 | extern void erase_phys_cursor (struct window *); |
| 2988 | extern void display_and_set_cursor P_ ((struct window *, | 2988 | extern void display_and_set_cursor (struct window *, |
| 2989 | int, int, int, int, int)); | 2989 | int, int, int, int, int); |
| 2990 | 2990 | ||
| 2991 | extern void set_output_cursor P_ ((struct cursor_pos *)); | 2991 | extern void set_output_cursor (struct cursor_pos *); |
| 2992 | extern void x_cursor_to P_ ((int, int, int, int)); | 2992 | extern void x_cursor_to (int, int, int, int); |
| 2993 | 2993 | ||
| 2994 | extern void x_update_cursor P_ ((struct frame *, int)); | 2994 | extern void x_update_cursor (struct frame *, int); |
| 2995 | extern void x_clear_cursor P_ ((struct window *)); | 2995 | extern void x_clear_cursor (struct window *); |
| 2996 | extern void x_draw_vertical_border P_ ((struct window *w)); | 2996 | extern void x_draw_vertical_border (struct window *w); |
| 2997 | 2997 | ||
| 2998 | extern void frame_to_window_pixel_xy P_ ((struct window *, int *, int *)); | 2998 | extern void frame_to_window_pixel_xy (struct window *, int *, int *); |
| 2999 | extern int get_glyph_string_clip_rects P_ ((struct glyph_string *, | 2999 | extern int get_glyph_string_clip_rects (struct glyph_string *, |
| 3000 | NativeRectangle *, int)); | 3000 | NativeRectangle *, int); |
| 3001 | extern void get_glyph_string_clip_rect P_ ((struct glyph_string *, | 3001 | extern void get_glyph_string_clip_rect (struct glyph_string *, |
| 3002 | NativeRectangle *nr)); | 3002 | NativeRectangle *nr); |
| 3003 | extern Lisp_Object find_hot_spot P_ ((Lisp_Object, int, int)); | 3003 | extern Lisp_Object find_hot_spot (Lisp_Object, int, int); |
| 3004 | extern void note_mouse_highlight P_ ((struct frame *, int, int)); | 3004 | extern void note_mouse_highlight (struct frame *, int, int); |
| 3005 | extern void x_clear_window_mouse_face P_ ((struct window *)); | 3005 | extern void x_clear_window_mouse_face (struct window *); |
| 3006 | extern void cancel_mouse_face P_ ((struct frame *)); | 3006 | extern void cancel_mouse_face (struct frame *); |
| 3007 | 3007 | ||
| 3008 | extern void handle_tool_bar_click P_ ((struct frame *, | 3008 | extern void handle_tool_bar_click (struct frame *, |
| 3009 | int, int, int, unsigned int)); | 3009 | int, int, int, unsigned int); |
| 3010 | 3010 | ||
| 3011 | /* msdos.c defines its own versions of these functions. */ | 3011 | /* msdos.c defines its own versions of these functions. */ |
| 3012 | extern int clear_mouse_face P_ ((Display_Info *)); | 3012 | extern int clear_mouse_face (Display_Info *); |
| 3013 | extern void show_mouse_face P_ ((Display_Info *, enum draw_glyphs_face)); | 3013 | extern void show_mouse_face (Display_Info *, enum draw_glyphs_face); |
| 3014 | extern int cursor_in_mouse_face_p P_ ((struct window *w)); | 3014 | extern int cursor_in_mouse_face_p (struct window *w); |
| 3015 | 3015 | ||
| 3016 | extern void expose_frame P_ ((struct frame *, int, int, int, int)); | 3016 | extern void expose_frame (struct frame *, int, int, int, int); |
| 3017 | extern int x_intersect_rectangles P_ ((XRectangle *, XRectangle *, | 3017 | extern int x_intersect_rectangles (XRectangle *, XRectangle *, |
| 3018 | XRectangle *)); | 3018 | XRectangle *); |
| 3019 | #endif | 3019 | #endif |
| 3020 | 3020 | ||
| 3021 | /* Flags passed to try_window. */ | 3021 | /* Flags passed to try_window. */ |
| @@ -3025,107 +3025,107 @@ extern int x_intersect_rectangles P_ ((XRectangle *, XRectangle *, | |||
| 3025 | /* Defined in fringe.c */ | 3025 | /* Defined in fringe.c */ |
| 3026 | 3026 | ||
| 3027 | int lookup_fringe_bitmap (Lisp_Object); | 3027 | int lookup_fringe_bitmap (Lisp_Object); |
| 3028 | void draw_fringe_bitmap P_ ((struct window *, struct glyph_row *, int)); | 3028 | void draw_fringe_bitmap (struct window *, struct glyph_row *, int); |
| 3029 | void draw_row_fringe_bitmaps P_ ((struct window *, struct glyph_row *)); | 3029 | void draw_row_fringe_bitmaps (struct window *, struct glyph_row *); |
| 3030 | int draw_window_fringes P_ ((struct window *, int)); | 3030 | int draw_window_fringes (struct window *, int); |
| 3031 | int update_window_fringes P_ ((struct window *, int)); | 3031 | int update_window_fringes (struct window *, int); |
| 3032 | void compute_fringe_widths P_ ((struct frame *, int)); | 3032 | void compute_fringe_widths (struct frame *, int); |
| 3033 | 3033 | ||
| 3034 | #ifdef WINDOWSNT | 3034 | #ifdef WINDOWSNT |
| 3035 | void w32_init_fringe P_ ((struct redisplay_interface *)); | 3035 | void w32_init_fringe (struct redisplay_interface *); |
| 3036 | void w32_reset_fringes P_ ((void)); | 3036 | void w32_reset_fringes (void); |
| 3037 | #endif | 3037 | #endif |
| 3038 | /* Defined in image.c */ | 3038 | /* Defined in image.c */ |
| 3039 | 3039 | ||
| 3040 | #ifdef HAVE_WINDOW_SYSTEM | 3040 | #ifdef HAVE_WINDOW_SYSTEM |
| 3041 | 3041 | ||
| 3042 | extern int x_bitmap_height P_ ((struct frame *, int)); | 3042 | extern int x_bitmap_height (struct frame *, int); |
| 3043 | extern int x_bitmap_width P_ ((struct frame *, int)); | 3043 | extern int x_bitmap_width (struct frame *, int); |
| 3044 | extern int x_bitmap_pixmap P_ ((struct frame *, int)); | 3044 | extern int x_bitmap_pixmap (struct frame *, int); |
| 3045 | extern void x_reference_bitmap P_ ((struct frame *, int)); | 3045 | extern void x_reference_bitmap (struct frame *, int); |
| 3046 | extern int x_create_bitmap_from_data P_ ((struct frame *, char *, | 3046 | extern int x_create_bitmap_from_data (struct frame *, char *, |
| 3047 | unsigned int, unsigned int)); | 3047 | unsigned int, unsigned int); |
| 3048 | extern int x_create_bitmap_from_file P_ ((struct frame *, Lisp_Object)); | 3048 | extern int x_create_bitmap_from_file (struct frame *, Lisp_Object); |
| 3049 | #if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) | 3049 | #if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) |
| 3050 | extern int x_create_bitmap_from_xpm_data P_ ((struct frame *f, char **bits)); | 3050 | extern int x_create_bitmap_from_xpm_data (struct frame *f, char **bits); |
| 3051 | #endif | 3051 | #endif |
| 3052 | #ifndef x_destroy_bitmap | 3052 | #ifndef x_destroy_bitmap |
| 3053 | extern void x_destroy_bitmap P_ ((struct frame *, int)); | 3053 | extern void x_destroy_bitmap (struct frame *, int); |
| 3054 | #endif | 3054 | #endif |
| 3055 | extern void x_destroy_all_bitmaps P_ ((Display_Info *)); | 3055 | extern void x_destroy_all_bitmaps (Display_Info *); |
| 3056 | extern int x_create_bitmap_mask P_ ((struct frame * , int)); | 3056 | extern int x_create_bitmap_mask (struct frame * , int); |
| 3057 | extern Lisp_Object x_find_image_file P_ ((Lisp_Object)); | 3057 | extern Lisp_Object x_find_image_file (Lisp_Object); |
| 3058 | 3058 | ||
| 3059 | void x_kill_gs_process P_ ((Pixmap, struct frame *)); | 3059 | void x_kill_gs_process (Pixmap, struct frame *); |
| 3060 | struct image_cache *make_image_cache P_ ((void)); | 3060 | struct image_cache *make_image_cache (void); |
| 3061 | void free_image_cache P_ ((struct frame *)); | 3061 | void free_image_cache (struct frame *); |
| 3062 | void clear_image_caches P_ ((Lisp_Object)); | 3062 | void clear_image_caches (Lisp_Object); |
| 3063 | void mark_image_cache P_ ((struct image_cache *)); | 3063 | void mark_image_cache (struct image_cache *); |
| 3064 | int valid_image_p P_ ((Lisp_Object)); | 3064 | int valid_image_p (Lisp_Object); |
| 3065 | void prepare_image_for_display P_ ((struct frame *, struct image *)); | 3065 | void prepare_image_for_display (struct frame *, struct image *); |
| 3066 | int lookup_image P_ ((struct frame *, Lisp_Object)); | 3066 | int lookup_image (struct frame *, Lisp_Object); |
| 3067 | 3067 | ||
| 3068 | unsigned long image_background P_ ((struct image *, struct frame *, | 3068 | unsigned long image_background (struct image *, struct frame *, |
| 3069 | XImagePtr_or_DC ximg)); | 3069 | XImagePtr_or_DC ximg); |
| 3070 | int image_background_transparent P_ ((struct image *, struct frame *, | 3070 | int image_background_transparent (struct image *, struct frame *, |
| 3071 | XImagePtr_or_DC mask)); | 3071 | XImagePtr_or_DC mask); |
| 3072 | 3072 | ||
| 3073 | int image_ascent P_ ((struct image *, struct face *, struct glyph_slice *)); | 3073 | int image_ascent (struct image *, struct face *, struct glyph_slice *); |
| 3074 | 3074 | ||
| 3075 | #endif | 3075 | #endif |
| 3076 | 3076 | ||
| 3077 | /* Defined in sysdep.c */ | 3077 | /* Defined in sysdep.c */ |
| 3078 | 3078 | ||
| 3079 | void get_tty_size P_ ((int, int *, int *)); | 3079 | void get_tty_size (int, int *, int *); |
| 3080 | void request_sigio P_ ((void)); | 3080 | void request_sigio (void); |
| 3081 | void unrequest_sigio P_ ((void)); | 3081 | void unrequest_sigio (void); |
| 3082 | int tabs_safe_p P_ ((int)); | 3082 | int tabs_safe_p (int); |
| 3083 | void init_baud_rate P_ ((int)); | 3083 | void init_baud_rate (int); |
| 3084 | void init_sigio P_ ((int)); | 3084 | void init_sigio (int); |
| 3085 | 3085 | ||
| 3086 | /* Defined in xfaces.c */ | 3086 | /* Defined in xfaces.c */ |
| 3087 | 3087 | ||
| 3088 | #ifdef HAVE_X_WINDOWS | 3088 | #ifdef HAVE_X_WINDOWS |
| 3089 | void x_free_colors P_ ((struct frame *, unsigned long *, int)); | 3089 | void x_free_colors (struct frame *, unsigned long *, int); |
| 3090 | #endif | 3090 | #endif |
| 3091 | 3091 | ||
| 3092 | void update_face_from_frame_parameter P_ ((struct frame *, Lisp_Object, | 3092 | void update_face_from_frame_parameter (struct frame *, Lisp_Object, |
| 3093 | Lisp_Object)); | 3093 | Lisp_Object); |
| 3094 | Lisp_Object tty_color_name P_ ((struct frame *, int)); | 3094 | Lisp_Object tty_color_name (struct frame *, int); |
| 3095 | void clear_face_cache P_ ((int)); | 3095 | void clear_face_cache (int); |
| 3096 | unsigned long load_color P_ ((struct frame *, struct face *, Lisp_Object, | 3096 | unsigned long load_color (struct frame *, struct face *, Lisp_Object, |
| 3097 | enum lface_attribute_index)); | 3097 | enum lface_attribute_index); |
| 3098 | void unload_color P_ ((struct frame *, unsigned long)); | 3098 | void unload_color (struct frame *, unsigned long); |
| 3099 | char *choose_face_font P_ ((struct frame *, Lisp_Object *, Lisp_Object, | 3099 | char *choose_face_font (struct frame *, Lisp_Object *, Lisp_Object, |
| 3100 | int *)); | 3100 | int *); |
| 3101 | int ascii_face_of_lisp_face P_ ((struct frame *, int)); | 3101 | int ascii_face_of_lisp_face (struct frame *, int); |
| 3102 | void prepare_face_for_display P_ ((struct frame *, struct face *)); | 3102 | void prepare_face_for_display (struct frame *, struct face *); |
| 3103 | int xstrcasecmp P_ ((const unsigned char *, const unsigned char *)); | 3103 | int xstrcasecmp (const unsigned char *, const unsigned char *); |
| 3104 | int lookup_face P_ ((struct frame *, Lisp_Object *)); | 3104 | int lookup_face (struct frame *, Lisp_Object *); |
| 3105 | int lookup_named_face P_ ((struct frame *, Lisp_Object, int)); | 3105 | int lookup_named_face (struct frame *, Lisp_Object, int); |
| 3106 | int lookup_basic_face P_ ((struct frame *, int)); | 3106 | int lookup_basic_face (struct frame *, int); |
| 3107 | int smaller_face P_ ((struct frame *, int, int)); | 3107 | int smaller_face (struct frame *, int, int); |
| 3108 | int face_with_height P_ ((struct frame *, int, int)); | 3108 | int face_with_height (struct frame *, int, int); |
| 3109 | int lookup_derived_face P_ ((struct frame *, Lisp_Object, int, int)); | 3109 | int lookup_derived_face (struct frame *, Lisp_Object, int, int); |
| 3110 | void init_frame_faces P_ ((struct frame *)); | 3110 | void init_frame_faces (struct frame *); |
| 3111 | void free_frame_faces P_ ((struct frame *)); | 3111 | void free_frame_faces (struct frame *); |
| 3112 | void recompute_basic_faces P_ ((struct frame *)); | 3112 | void recompute_basic_faces (struct frame *); |
| 3113 | int face_at_buffer_position P_ ((struct window *w, EMACS_INT pos, | 3113 | int face_at_buffer_position (struct window *w, EMACS_INT pos, |
| 3114 | EMACS_INT region_beg, EMACS_INT region_end, | 3114 | EMACS_INT region_beg, EMACS_INT region_end, |
| 3115 | EMACS_INT *endptr, EMACS_INT limit, | 3115 | EMACS_INT *endptr, EMACS_INT limit, |
| 3116 | int mouse, int base_face_id)); | 3116 | int mouse, int base_face_id); |
| 3117 | int face_for_overlay_string P_ ((struct window *w, EMACS_INT pos, | 3117 | int face_for_overlay_string (struct window *w, EMACS_INT pos, |
| 3118 | EMACS_INT region_beg, EMACS_INT region_end, | 3118 | EMACS_INT region_beg, EMACS_INT region_end, |
| 3119 | EMACS_INT *endptr, EMACS_INT limit, | 3119 | EMACS_INT *endptr, EMACS_INT limit, |
| 3120 | int mouse, Lisp_Object overlay)); | 3120 | int mouse, Lisp_Object overlay); |
| 3121 | int face_at_string_position P_ ((struct window *w, Lisp_Object string, | 3121 | int face_at_string_position (struct window *w, Lisp_Object string, |
| 3122 | EMACS_INT pos, EMACS_INT bufpos, | 3122 | EMACS_INT pos, EMACS_INT bufpos, |
| 3123 | EMACS_INT region_beg, EMACS_INT region_end, | 3123 | EMACS_INT region_beg, EMACS_INT region_end, |
| 3124 | EMACS_INT *endptr, enum face_id, int mouse)); | 3124 | EMACS_INT *endptr, enum face_id, int mouse); |
| 3125 | int merge_faces P_ ((struct frame *, Lisp_Object, int, int)); | 3125 | int merge_faces (struct frame *, Lisp_Object, int, int); |
| 3126 | int compute_char_face P_ ((struct frame *, int, Lisp_Object)); | 3126 | int compute_char_face (struct frame *, int, Lisp_Object); |
| 3127 | void free_all_realized_faces P_ ((Lisp_Object)); | 3127 | void free_all_realized_faces (Lisp_Object); |
| 3128 | void free_realized_face P_ ((struct frame *, struct face *)); | 3128 | void free_realized_face (struct frame *, struct face *); |
| 3129 | extern Lisp_Object Qforeground_color, Qbackground_color; | 3129 | extern Lisp_Object Qforeground_color, Qbackground_color; |
| 3130 | extern Lisp_Object Qframe_set_background_mode; | 3130 | extern Lisp_Object Qframe_set_background_mode; |
| 3131 | extern char unspecified_fg[], unspecified_bg[]; | 3131 | extern char unspecified_fg[], unspecified_bg[]; |
| @@ -3135,24 +3135,24 @@ extern Lisp_Object Vface_remapping_alist; | |||
| 3135 | /* Defined in xfns.c */ | 3135 | /* Defined in xfns.c */ |
| 3136 | 3136 | ||
| 3137 | #ifdef HAVE_X_WINDOWS | 3137 | #ifdef HAVE_X_WINDOWS |
| 3138 | void gamma_correct P_ ((struct frame *, XColor *)); | 3138 | void gamma_correct (struct frame *, XColor *); |
| 3139 | #endif | 3139 | #endif |
| 3140 | #ifdef WINDOWSNT | 3140 | #ifdef WINDOWSNT |
| 3141 | void gamma_correct P_ ((struct frame *, COLORREF *)); | 3141 | void gamma_correct (struct frame *, COLORREF *); |
| 3142 | #endif | 3142 | #endif |
| 3143 | 3143 | ||
| 3144 | #ifdef HAVE_WINDOW_SYSTEM | 3144 | #ifdef HAVE_WINDOW_SYSTEM |
| 3145 | 3145 | ||
| 3146 | int x_screen_planes P_ ((struct frame *)); | 3146 | int x_screen_planes (struct frame *); |
| 3147 | void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 3147 | void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object); |
| 3148 | 3148 | ||
| 3149 | extern Lisp_Object tip_frame; | 3149 | extern Lisp_Object tip_frame; |
| 3150 | extern Window tip_window; | 3150 | extern Window tip_window; |
| 3151 | EXFUN (Fx_show_tip, 6); | 3151 | EXFUN (Fx_show_tip, 6); |
| 3152 | EXFUN (Fx_hide_tip, 0); | 3152 | EXFUN (Fx_hide_tip, 0); |
| 3153 | extern void start_hourglass P_ ((void)); | 3153 | extern void start_hourglass (void); |
| 3154 | extern void cancel_hourglass P_ ((void)); | 3154 | extern void cancel_hourglass (void); |
| 3155 | extern int hourglass_started P_ ((void)); | 3155 | extern int hourglass_started (void); |
| 3156 | extern int display_hourglass_p; | 3156 | extern int display_hourglass_p; |
| 3157 | extern int hourglass_shown_p; | 3157 | extern int hourglass_shown_p; |
| 3158 | struct atimer; /* Defined in atimer.h. */ | 3158 | struct atimer; /* Defined in atimer.h. */ |
| @@ -3161,8 +3161,8 @@ struct atimer; /* Defined in atimer.h. */ | |||
| 3161 | extern struct atimer *hourglass_atimer; | 3161 | extern struct atimer *hourglass_atimer; |
| 3162 | 3162 | ||
| 3163 | /* Each GUI implements these. FIXME: move into RIF. */ | 3163 | /* Each GUI implements these. FIXME: move into RIF. */ |
| 3164 | extern void show_hourglass P_ ((struct atimer *)); | 3164 | extern void show_hourglass (struct atimer *); |
| 3165 | extern void hide_hourglass P_ ((void)); | 3165 | extern void hide_hourglass (void); |
| 3166 | 3166 | ||
| 3167 | /* Returns the background color of IMG, calculating one heuristically if | 3167 | /* Returns the background color of IMG, calculating one heuristically if |
| 3168 | necessary. If non-zero, XIMG is an existing XImage object to use for | 3168 | necessary. If non-zero, XIMG is an existing XImage object to use for |
| @@ -3187,116 +3187,116 @@ extern void hide_hourglass P_ ((void)); | |||
| 3187 | 3187 | ||
| 3188 | /* Defined in xmenu.c */ | 3188 | /* Defined in xmenu.c */ |
| 3189 | 3189 | ||
| 3190 | int popup_activated P_ ((void)); | 3190 | int popup_activated (void); |
| 3191 | 3191 | ||
| 3192 | /* Defined in dispnew.c */ | 3192 | /* Defined in dispnew.c */ |
| 3193 | 3193 | ||
| 3194 | extern int inverse_video; | 3194 | extern int inverse_video; |
| 3195 | extern int required_matrix_width P_ ((struct window *)); | 3195 | extern int required_matrix_width (struct window *); |
| 3196 | extern int required_matrix_height P_ ((struct window *)); | 3196 | extern int required_matrix_height (struct window *); |
| 3197 | extern Lisp_Object buffer_posn_from_coords P_ ((struct window *, | 3197 | extern Lisp_Object buffer_posn_from_coords (struct window *, |
| 3198 | int *, int *, | 3198 | int *, int *, |
| 3199 | struct display_pos *, | 3199 | struct display_pos *, |
| 3200 | Lisp_Object *, | 3200 | Lisp_Object *, |
| 3201 | int *, int *, int *, int *)); | 3201 | int *, int *, int *, int *); |
| 3202 | extern Lisp_Object mode_line_string P_ ((struct window *, enum window_part, | 3202 | extern Lisp_Object mode_line_string (struct window *, enum window_part, |
| 3203 | int *, int *, int *, | 3203 | int *, int *, int *, |
| 3204 | Lisp_Object *, | 3204 | Lisp_Object *, |
| 3205 | int *, int *, int *, int *)); | 3205 | int *, int *, int *, int *); |
| 3206 | extern Lisp_Object marginal_area_string P_ ((struct window *, enum window_part, | 3206 | extern Lisp_Object marginal_area_string (struct window *, enum window_part, |
| 3207 | int *, int *, int *, | 3207 | int *, int *, int *, |
| 3208 | Lisp_Object *, | 3208 | Lisp_Object *, |
| 3209 | int *, int *, int *, int *)); | 3209 | int *, int *, int *, int *); |
| 3210 | extern void redraw_frame P_ ((struct frame *)); | 3210 | extern void redraw_frame (struct frame *); |
| 3211 | extern void redraw_garbaged_frames P_ ((void)); | 3211 | extern void redraw_garbaged_frames (void); |
| 3212 | extern void cancel_line P_ ((int, struct frame *)); | 3212 | extern void cancel_line (int, struct frame *); |
| 3213 | extern void init_desired_glyphs P_ ((struct frame *)); | 3213 | extern void init_desired_glyphs (struct frame *); |
| 3214 | extern int scroll_frame_lines P_ ((struct frame *, int, int, int, int)); | 3214 | extern int scroll_frame_lines (struct frame *, int, int, int, int); |
| 3215 | extern int update_frame P_ ((struct frame *, int, int)); | 3215 | extern int update_frame (struct frame *, int, int); |
| 3216 | extern int scrolling P_ ((struct frame *)); | 3216 | extern int scrolling (struct frame *); |
| 3217 | extern void bitch_at_user P_ ((void)); | 3217 | extern void bitch_at_user (void); |
| 3218 | void adjust_glyphs P_ ((struct frame *)); | 3218 | void adjust_glyphs (struct frame *); |
| 3219 | void free_glyphs P_ ((struct frame *)); | 3219 | void free_glyphs (struct frame *); |
| 3220 | void free_window_matrices P_ ((struct window *)); | 3220 | void free_window_matrices (struct window *); |
| 3221 | void check_glyph_memory P_ ((void)); | 3221 | void check_glyph_memory (void); |
| 3222 | void mirrored_line_dance P_ ((struct glyph_matrix *, int, int, int *, char *)); | 3222 | void mirrored_line_dance (struct glyph_matrix *, int, int, int *, char *); |
| 3223 | void clear_glyph_matrix P_ ((struct glyph_matrix *)); | 3223 | void clear_glyph_matrix (struct glyph_matrix *); |
| 3224 | void clear_current_matrices P_ ((struct frame *f)); | 3224 | void clear_current_matrices (struct frame *f); |
| 3225 | void clear_desired_matrices P_ ((struct frame *)); | 3225 | void clear_desired_matrices (struct frame *); |
| 3226 | void shift_glyph_matrix P_ ((struct window *, struct glyph_matrix *, | 3226 | void shift_glyph_matrix (struct window *, struct glyph_matrix *, |
| 3227 | int, int, int)); | 3227 | int, int, int); |
| 3228 | void rotate_matrix P_ ((struct glyph_matrix *, int, int, int)); | 3228 | void rotate_matrix (struct glyph_matrix *, int, int, int); |
| 3229 | void increment_matrix_positions P_ ((struct glyph_matrix *, | 3229 | void increment_matrix_positions (struct glyph_matrix *, |
| 3230 | int, int, int, int)); | 3230 | int, int, int, int); |
| 3231 | void blank_row P_ ((struct window *, struct glyph_row *, int)); | 3231 | void blank_row (struct window *, struct glyph_row *, int); |
| 3232 | void increment_row_positions P_ ((struct glyph_row *, int, int)); | 3232 | void increment_row_positions (struct glyph_row *, int, int); |
| 3233 | void enable_glyph_matrix_rows P_ ((struct glyph_matrix *, int, int, int)); | 3233 | void enable_glyph_matrix_rows (struct glyph_matrix *, int, int, int); |
| 3234 | void clear_glyph_row P_ ((struct glyph_row *)); | 3234 | void clear_glyph_row (struct glyph_row *); |
| 3235 | void prepare_desired_row P_ ((struct glyph_row *)); | 3235 | void prepare_desired_row (struct glyph_row *); |
| 3236 | int line_hash_code P_ ((struct glyph_row *)); | 3236 | int line_hash_code (struct glyph_row *); |
| 3237 | void set_window_update_flags P_ ((struct window *, int)); | 3237 | void set_window_update_flags (struct window *, int); |
| 3238 | void redraw_frame P_ ((struct frame *)); | 3238 | void redraw_frame (struct frame *); |
| 3239 | void redraw_garbaged_frames P_ ((void)); | 3239 | void redraw_garbaged_frames (void); |
| 3240 | int scroll_cost P_ ((struct frame *, int, int, int)); | 3240 | int scroll_cost (struct frame *, int, int, int); |
| 3241 | int update_frame P_ ((struct frame *, int, int)); | 3241 | int update_frame (struct frame *, int, int); |
| 3242 | void update_single_window P_ ((struct window *, int)); | 3242 | void update_single_window (struct window *, int); |
| 3243 | int scrolling P_ ((struct frame *)); | 3243 | int scrolling (struct frame *); |
| 3244 | void do_pending_window_change P_ ((int)); | 3244 | void do_pending_window_change (int); |
| 3245 | void change_frame_size P_ ((struct frame *, int, int, int, int, int)); | 3245 | void change_frame_size (struct frame *, int, int, int, int, int); |
| 3246 | void bitch_at_user P_ ((void)); | 3246 | void bitch_at_user (void); |
| 3247 | void init_display P_ ((void)); | 3247 | void init_display (void); |
| 3248 | void syms_of_display P_ ((void)); | 3248 | void syms_of_display (void); |
| 3249 | extern Lisp_Object Qredisplay_dont_pause; | 3249 | extern Lisp_Object Qredisplay_dont_pause; |
| 3250 | void spec_glyph_lookup_face P_ ((struct window *, GLYPH *)); | 3250 | void spec_glyph_lookup_face (struct window *, GLYPH *); |
| 3251 | 3251 | ||
| 3252 | /* Defined in terminal.c */ | 3252 | /* Defined in terminal.c */ |
| 3253 | 3253 | ||
| 3254 | extern void ring_bell P_ ((struct frame *)); | 3254 | extern void ring_bell (struct frame *); |
| 3255 | extern void update_begin P_ ((struct frame *)); | 3255 | extern void update_begin (struct frame *); |
| 3256 | extern void update_end P_ ((struct frame *)); | 3256 | extern void update_end (struct frame *); |
| 3257 | extern void set_terminal_window P_ ((struct frame *, int)); | 3257 | extern void set_terminal_window (struct frame *, int); |
| 3258 | extern void cursor_to P_ ((struct frame *, int, int)); | 3258 | extern void cursor_to (struct frame *, int, int); |
| 3259 | extern void raw_cursor_to P_ ((struct frame *, int, int)); | 3259 | extern void raw_cursor_to (struct frame *, int, int); |
| 3260 | extern void clear_to_end P_ ((struct frame *)); | 3260 | extern void clear_to_end (struct frame *); |
| 3261 | extern void clear_frame P_ ((struct frame *)); | 3261 | extern void clear_frame (struct frame *); |
| 3262 | extern void clear_end_of_line P_ ((struct frame *, int)); | 3262 | extern void clear_end_of_line (struct frame *, int); |
| 3263 | extern void write_glyphs P_ ((struct frame *, struct glyph *, int)); | 3263 | extern void write_glyphs (struct frame *, struct glyph *, int); |
| 3264 | extern void insert_glyphs P_ ((struct frame *, struct glyph *, int)); | 3264 | extern void insert_glyphs (struct frame *, struct glyph *, int); |
| 3265 | extern void delete_glyphs P_ ((struct frame *, int)); | 3265 | extern void delete_glyphs (struct frame *, int); |
| 3266 | extern void ins_del_lines P_ ((struct frame *, int, int)); | 3266 | extern void ins_del_lines (struct frame *, int, int); |
| 3267 | 3267 | ||
| 3268 | extern struct terminal *init_initial_terminal P_ ((void)); | 3268 | extern struct terminal *init_initial_terminal (void); |
| 3269 | 3269 | ||
| 3270 | 3270 | ||
| 3271 | /* Defined in term.c */ | 3271 | /* Defined in term.c */ |
| 3272 | 3272 | ||
| 3273 | extern void tty_set_terminal_modes P_ ((struct terminal *)); | 3273 | extern void tty_set_terminal_modes (struct terminal *); |
| 3274 | extern void tty_reset_terminal_modes P_ ((struct terminal *)); | 3274 | extern void tty_reset_terminal_modes (struct terminal *); |
| 3275 | extern void tty_turn_off_insert P_ ((struct tty_display_info *)); | 3275 | extern void tty_turn_off_insert (struct tty_display_info *); |
| 3276 | extern void tty_turn_off_highlight P_ ((struct tty_display_info *)); | 3276 | extern void tty_turn_off_highlight (struct tty_display_info *); |
| 3277 | extern int string_cost P_ ((char *)); | 3277 | extern int string_cost (char *); |
| 3278 | extern int per_line_cost P_ ((char *)); | 3278 | extern int per_line_cost (char *); |
| 3279 | extern void calculate_costs P_ ((struct frame *)); | 3279 | extern void calculate_costs (struct frame *); |
| 3280 | extern void produce_glyphs P_ ((struct it *)); | 3280 | extern void produce_glyphs (struct it *); |
| 3281 | extern void produce_special_glyphs P_ ((struct it *, enum display_element_type)); | 3281 | extern void produce_special_glyphs (struct it *, enum display_element_type); |
| 3282 | extern int tty_capable_p P_ ((struct tty_display_info *, unsigned, unsigned long, unsigned long)); | 3282 | extern int tty_capable_p (struct tty_display_info *, unsigned, unsigned long, unsigned long); |
| 3283 | extern void set_tty_color_mode (struct tty_display_info *, struct frame *); | 3283 | extern void set_tty_color_mode (struct tty_display_info *, struct frame *); |
| 3284 | extern struct terminal *get_tty_terminal P_ ((Lisp_Object, int)); | 3284 | extern struct terminal *get_tty_terminal (Lisp_Object, int); |
| 3285 | extern struct terminal *get_named_tty P_ ((char *)); | 3285 | extern struct terminal *get_named_tty (char *); |
| 3286 | EXFUN (Ftty_type, 1); | 3286 | EXFUN (Ftty_type, 1); |
| 3287 | extern void create_tty_output P_ ((struct frame *)); | 3287 | extern void create_tty_output (struct frame *); |
| 3288 | extern struct terminal *init_tty P_ ((char *, char *, int)); | 3288 | extern struct terminal *init_tty (char *, char *, int); |
| 3289 | 3289 | ||
| 3290 | 3290 | ||
| 3291 | /* Defined in scroll.c */ | 3291 | /* Defined in scroll.c */ |
| 3292 | 3292 | ||
| 3293 | extern int scrolling_max_lines_saved P_ ((int, int, int *, int *, int *)); | 3293 | extern int scrolling_max_lines_saved (int, int, int *, int *, int *); |
| 3294 | extern int scroll_cost P_ ((struct frame *, int, int, int)); | 3294 | extern int scroll_cost (struct frame *, int, int, int); |
| 3295 | extern void do_line_insertion_deletion_costs P_ ((struct frame *, char *, | 3295 | extern void do_line_insertion_deletion_costs (struct frame *, char *, |
| 3296 | char *, char *, char *, | 3296 | char *, char *, char *, |
| 3297 | char *, char *, int)); | 3297 | char *, char *, int); |
| 3298 | void scrolling_1 P_ ((struct frame *, int, int, int, int *, int *, int *, | 3298 | void scrolling_1 (struct frame *, int, int, int, int *, int *, int *, |
| 3299 | int *, int)); | 3299 | int *, int); |
| 3300 | 3300 | ||
| 3301 | /* Defined in frame.c */ | 3301 | /* Defined in frame.c */ |
| 3302 | 3302 | ||
| @@ -3313,20 +3313,20 @@ enum resource_types | |||
| 3313 | RES_TYPE_BOOLEAN_NUMBER | 3313 | RES_TYPE_BOOLEAN_NUMBER |
| 3314 | }; | 3314 | }; |
| 3315 | 3315 | ||
| 3316 | extern Lisp_Object x_get_arg P_ ((Display_Info *, Lisp_Object, | 3316 | extern Lisp_Object x_get_arg (Display_Info *, Lisp_Object, |
| 3317 | Lisp_Object, char *, char *class, | 3317 | Lisp_Object, char *, char *class, |
| 3318 | enum resource_types)); | 3318 | enum resource_types); |
| 3319 | extern Lisp_Object x_frame_get_arg P_ ((struct frame *, Lisp_Object, | 3319 | extern Lisp_Object x_frame_get_arg (struct frame *, Lisp_Object, |
| 3320 | Lisp_Object, char *, char *, | 3320 | Lisp_Object, char *, char *, |
| 3321 | enum resource_types)); | 3321 | enum resource_types); |
| 3322 | extern Lisp_Object x_frame_get_and_record_arg P_ (( | 3322 | extern Lisp_Object x_frame_get_and_record_arg ( |
| 3323 | struct frame *, Lisp_Object, | 3323 | struct frame *, Lisp_Object, |
| 3324 | Lisp_Object, char *, char *, | 3324 | Lisp_Object, char *, char *, |
| 3325 | enum resource_types)); | 3325 | enum resource_types); |
| 3326 | extern Lisp_Object x_default_parameter P_ ((struct frame *, Lisp_Object, | 3326 | extern Lisp_Object x_default_parameter (struct frame *, Lisp_Object, |
| 3327 | Lisp_Object, Lisp_Object, | 3327 | Lisp_Object, Lisp_Object, |
| 3328 | char *, char *, | 3328 | char *, char *, |
| 3329 | enum resource_types)); | 3329 | enum resource_types); |
| 3330 | 3330 | ||
| 3331 | #endif /* HAVE_WINDOW_SYSTEM */ | 3331 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 3332 | 3332 | ||
diff --git a/src/disptab.h b/src/disptab.h index e0f603346df..1a7f63050b6 100644 --- a/src/disptab.h +++ b/src/disptab.h | |||
| @@ -32,7 +32,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 32 | #define DISP_INVIS_VECTOR(dp) ((dp)->extras[4]) | 32 | #define DISP_INVIS_VECTOR(dp) ((dp)->extras[4]) |
| 33 | #define DISP_BORDER_GLYPH(dp) ((dp)->extras[5]) | 33 | #define DISP_BORDER_GLYPH(dp) ((dp)->extras[5]) |
| 34 | 34 | ||
| 35 | extern Lisp_Object disp_char_vector P_ ((struct Lisp_Char_Table *, int)); | 35 | extern Lisp_Object disp_char_vector (struct Lisp_Char_Table *, int); |
| 36 | 36 | ||
| 37 | #define DISP_CHAR_VECTOR(dp, c) \ | 37 | #define DISP_CHAR_VECTOR(dp, c) \ |
| 38 | (ASCII_CHAR_P(c) \ | 38 | (ASCII_CHAR_P(c) \ |
| @@ -44,10 +44,10 @@ extern Lisp_Object disp_char_vector P_ ((struct Lisp_Char_Table *, int)); | |||
| 44 | : disp_char_vector ((dp), (c))) | 44 | : disp_char_vector ((dp), (c))) |
| 45 | 45 | ||
| 46 | /* Defined in window.c. */ | 46 | /* Defined in window.c. */ |
| 47 | extern struct Lisp_Char_Table *window_display_table P_ ((struct window *)); | 47 | extern struct Lisp_Char_Table *window_display_table (struct window *); |
| 48 | 48 | ||
| 49 | /* Defined in indent.c. */ | 49 | /* Defined in indent.c. */ |
| 50 | extern struct Lisp_Char_Table *buffer_display_table P_ ((void)); | 50 | extern struct Lisp_Char_Table *buffer_display_table (void); |
| 51 | 51 | ||
| 52 | /* Display table to use for vectors that don't specify their own. */ | 52 | /* Display table to use for vectors that don't specify their own. */ |
| 53 | extern Lisp_Object Vstandard_display_table; | 53 | extern Lisp_Object Vstandard_display_table; |
diff --git a/src/font.h b/src/font.h index 952ea269495..40d75117909 100644 --- a/src/font.h +++ b/src/font.h | |||
| @@ -507,7 +507,7 @@ struct font_driver | |||
| 507 | 507 | ||
| 508 | /* Return a cache of font-entities on frame F. The cache must be a | 508 | /* Return a cache of font-entities on frame F. The cache must be a |
| 509 | cons whose cdr part is the actual cache area. */ | 509 | cons whose cdr part is the actual cache area. */ |
| 510 | Lisp_Object (*get_cache) P_ ((FRAME_PTR F)); | 510 | Lisp_Object (*get_cache) (FRAME_PTR F); |
| 511 | 511 | ||
| 512 | /* List fonts exactly matching with FONT_SPEC on FRAME. The value | 512 | /* List fonts exactly matching with FONT_SPEC on FRAME. The value |
| 513 | is a list of font-entities. The font properties to be considered | 513 | is a list of font-entities. The font properties to be considered |
| @@ -530,7 +530,7 @@ struct font_driver | |||
| 530 | 530 | ||
| 531 | This and the following `match' are the only APIs that allocate | 531 | This and the following `match' are the only APIs that allocate |
| 532 | font-entities. */ | 532 | font-entities. */ |
| 533 | Lisp_Object (*list) P_ ((Lisp_Object frame, Lisp_Object font_spec)); | 533 | Lisp_Object (*list) (Lisp_Object frame, Lisp_Object font_spec); |
| 534 | 534 | ||
| 535 | /* Return a font-entity most closely matching with FONT_SPEC on | 535 | /* Return a font-entity most closely matching with FONT_SPEC on |
| 536 | FRAME. Which font property to consider, and how to calculate the | 536 | FRAME. Which font property to consider, and how to calculate the |
| @@ -539,92 +539,92 @@ struct font_driver | |||
| 539 | 539 | ||
| 540 | The properties that the font-entity has is the same as `list' | 540 | The properties that the font-entity has is the same as `list' |
| 541 | method. */ | 541 | method. */ |
| 542 | Lisp_Object (*match) P_ ((Lisp_Object frame, Lisp_Object font_spec)); | 542 | Lisp_Object (*match) (Lisp_Object frame, Lisp_Object font_spec); |
| 543 | 543 | ||
| 544 | /* Optional. | 544 | /* Optional. |
| 545 | List available families. The value is a list of family names | 545 | List available families. The value is a list of family names |
| 546 | (symbols). */ | 546 | (symbols). */ |
| 547 | Lisp_Object (*list_family) P_ ((Lisp_Object frame)); | 547 | Lisp_Object (*list_family) (Lisp_Object frame); |
| 548 | 548 | ||
| 549 | /* Optional (if FONT_EXTRA_INDEX is not Lisp_Save_Value). | 549 | /* Optional (if FONT_EXTRA_INDEX is not Lisp_Save_Value). |
| 550 | Free FONT_EXTRA_INDEX field of FONT_ENTITY. */ | 550 | Free FONT_EXTRA_INDEX field of FONT_ENTITY. */ |
| 551 | void (*free_entity) P_ ((Lisp_Object font_entity)); | 551 | void (*free_entity) (Lisp_Object font_entity); |
| 552 | 552 | ||
| 553 | /* Open a font specified by FONT_ENTITY on frame F. If the font is | 553 | /* Open a font specified by FONT_ENTITY on frame F. If the font is |
| 554 | scalable, open it with PIXEL_SIZE. */ | 554 | scalable, open it with PIXEL_SIZE. */ |
| 555 | Lisp_Object (*open) P_ ((FRAME_PTR f, Lisp_Object font_entity, | 555 | Lisp_Object (*open) (FRAME_PTR f, Lisp_Object font_entity, |
| 556 | int pixel_size)); | 556 | int pixel_size); |
| 557 | 557 | ||
| 558 | /* Close FONT on frame F. */ | 558 | /* Close FONT on frame F. */ |
| 559 | void (*close) P_ ((FRAME_PTR f, struct font *font)); | 559 | void (*close) (FRAME_PTR f, struct font *font); |
| 560 | 560 | ||
| 561 | /* Optional (if FACE->extra is not used). | 561 | /* Optional (if FACE->extra is not used). |
| 562 | Prepare FACE for displaying characters by FONT on frame F by | 562 | Prepare FACE for displaying characters by FONT on frame F by |
| 563 | storing some data in FACE->extra. If successful, return 0. | 563 | storing some data in FACE->extra. If successful, return 0. |
| 564 | Otherwise, return -1. */ | 564 | Otherwise, return -1. */ |
| 565 | int (*prepare_face) P_ ((FRAME_PTR f, struct face *face)); | 565 | int (*prepare_face) (FRAME_PTR f, struct face *face); |
| 566 | 566 | ||
| 567 | /* Optional. | 567 | /* Optional. |
| 568 | Done FACE for displaying characters by FACE->font on frame F. */ | 568 | Done FACE for displaying characters by FACE->font on frame F. */ |
| 569 | void (*done_face) P_ ((FRAME_PTR f, struct face *face)); | 569 | void (*done_face) (FRAME_PTR f, struct face *face); |
| 570 | 570 | ||
| 571 | /* Optional. | 571 | /* Optional. |
| 572 | If FONT (FONT-ENTITY or FONT-OBJECT) has a glyph for character C | 572 | If FONT (FONT-ENTITY or FONT-OBJECT) has a glyph for character C |
| 573 | (Unicode code point), return 1. If not, return 0. If FONT is | 573 | (Unicode code point), return 1. If not, return 0. If FONT is |
| 574 | FONT-ENTITY and it must be opened to check it, return -1. */ | 574 | FONT-ENTITY and it must be opened to check it, return -1. */ |
| 575 | int (*has_char) P_ ((Lisp_Object font, int c)); | 575 | int (*has_char) (Lisp_Object font, int c); |
| 576 | 576 | ||
| 577 | /* Return a glyph code of FONT for characer C (Unicode code point). | 577 | /* Return a glyph code of FONT for characer C (Unicode code point). |
| 578 | If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */ | 578 | If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */ |
| 579 | unsigned (*encode_char) P_ ((struct font *font, int c)); | 579 | unsigned (*encode_char) (struct font *font, int c); |
| 580 | 580 | ||
| 581 | /* Computate the total metrics of the NGLYPHS glyphs specified by | 581 | /* Computate the total metrics of the NGLYPHS glyphs specified by |
| 582 | the font FONT and the sequence of glyph codes CODE, and store the | 582 | the font FONT and the sequence of glyph codes CODE, and store the |
| 583 | result in METRICS. */ | 583 | result in METRICS. */ |
| 584 | int (*text_extents) P_ ((struct font *font, | 584 | int (*text_extents) (struct font *font, |
| 585 | unsigned *code, int nglyphs, | 585 | unsigned *code, int nglyphs, |
| 586 | struct font_metrics *metrics)); | 586 | struct font_metrics *metrics); |
| 587 | 587 | ||
| 588 | /* Optional. | 588 | /* Optional. |
| 589 | Draw glyphs between FROM and TO of S->char2b at (X Y) pixel | 589 | Draw glyphs between FROM and TO of S->char2b at (X Y) pixel |
| 590 | position of frame F with S->FACE and S->GC. If WITH_BACKGROUND | 590 | position of frame F with S->FACE and S->GC. If WITH_BACKGROUND |
| 591 | is nonzero, fill the background in advance. It is assured that | 591 | is nonzero, fill the background in advance. It is assured that |
| 592 | WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */ | 592 | WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */ |
| 593 | int (*draw) P_ ((struct glyph_string *s, int from, int to, | 593 | int (*draw) (struct glyph_string *s, int from, int to, |
| 594 | int x, int y, int with_background)); | 594 | int x, int y, int with_background); |
| 595 | 595 | ||
| 596 | /* Optional. | 596 | /* Optional. |
| 597 | Store bitmap data for glyph-code CODE of FONT in BITMAP. It is | 597 | Store bitmap data for glyph-code CODE of FONT in BITMAP. It is |
| 598 | intended that this method is callled from the other font-driver | 598 | intended that this method is callled from the other font-driver |
| 599 | for actual drawing. */ | 599 | for actual drawing. */ |
| 600 | int (*get_bitmap) P_ ((struct font *font, unsigned code, | 600 | int (*get_bitmap) (struct font *font, unsigned code, |
| 601 | struct font_bitmap *bitmap, | 601 | struct font_bitmap *bitmap, |
| 602 | int bits_per_pixel)); | 602 | int bits_per_pixel); |
| 603 | 603 | ||
| 604 | /* Optional. | 604 | /* Optional. |
| 605 | Free bitmap data in BITMAP. */ | 605 | Free bitmap data in BITMAP. */ |
| 606 | void (*free_bitmap) P_ ((struct font *font, struct font_bitmap *bitmap)); | 606 | void (*free_bitmap) (struct font *font, struct font_bitmap *bitmap); |
| 607 | 607 | ||
| 608 | /* Optional. | 608 | /* Optional. |
| 609 | Return an outline data for glyph-code CODE of FONT. The format | 609 | Return an outline data for glyph-code CODE of FONT. The format |
| 610 | of the outline data depends on the font-driver. */ | 610 | of the outline data depends on the font-driver. */ |
| 611 | void *(*get_outline) P_ ((struct font *font, unsigned code)); | 611 | void *(*get_outline) (struct font *font, unsigned code); |
| 612 | 612 | ||
| 613 | /* Optional. | 613 | /* Optional. |
| 614 | Free OUTLINE (that is obtained by the above method). */ | 614 | Free OUTLINE (that is obtained by the above method). */ |
| 615 | void (*free_outline) P_ ((struct font *font, void *outline)); | 615 | void (*free_outline) (struct font *font, void *outline); |
| 616 | 616 | ||
| 617 | /* Optional. | 617 | /* Optional. |
| 618 | Get coordinates of the INDEXth anchor point of the glyph whose | 618 | Get coordinates of the INDEXth anchor point of the glyph whose |
| 619 | code is CODE. Store the coordinates in *X and *Y. Return 0 if | 619 | code is CODE. Store the coordinates in *X and *Y. Return 0 if |
| 620 | the operations was successfull. Otherwise return -1. */ | 620 | the operations was successfull. Otherwise return -1. */ |
| 621 | int (*anchor_point) P_ ((struct font *font, unsigned code, int index, | 621 | int (*anchor_point) (struct font *font, unsigned code, int index, |
| 622 | int *x, int *y)); | 622 | int *x, int *y); |
| 623 | 623 | ||
| 624 | /* Optional. | 624 | /* Optional. |
| 625 | Return a list describing which scripts/languages FONT | 625 | Return a list describing which scripts/languages FONT |
| 626 | supports by which GSUB/GPOS features of OpenType tables. */ | 626 | supports by which GSUB/GPOS features of OpenType tables. */ |
| 627 | Lisp_Object (*otf_capability) P_ ((struct font *font)); | 627 | Lisp_Object (*otf_capability) (struct font *font); |
| 628 | 628 | ||
| 629 | /* Optional. | 629 | /* Optional. |
| 630 | Apply FONT's OTF-FEATURES to the glyph string. | 630 | Apply FONT's OTF-FEATURES to the glyph string. |
| @@ -641,20 +641,20 @@ struct font_driver | |||
| 641 | Return the number of output codes. If none of the features are | 641 | Return the number of output codes. If none of the features are |
| 642 | applicable to the input data, return 0. If GSTRING-OUT is too | 642 | applicable to the input data, return 0. If GSTRING-OUT is too |
| 643 | short, return -1. */ | 643 | short, return -1. */ |
| 644 | int (*otf_drive) P_ ((struct font *font, Lisp_Object features, | 644 | int (*otf_drive) (struct font *font, Lisp_Object features, |
| 645 | Lisp_Object gstring_in, int from, int to, | 645 | Lisp_Object gstring_in, int from, int to, |
| 646 | Lisp_Object gstring_out, int idx, int alternate_subst)); | 646 | Lisp_Object gstring_out, int idx, int alternate_subst); |
| 647 | 647 | ||
| 648 | /* Optional. | 648 | /* Optional. |
| 649 | Make the font driver ready for frame F. Usually this function | 649 | Make the font driver ready for frame F. Usually this function |
| 650 | makes some data specific to F and stores it in F by calling | 650 | makes some data specific to F and stores it in F by calling |
| 651 | font_put_frame_data (). */ | 651 | font_put_frame_data (). */ |
| 652 | int (*start_for_frame) P_ ((FRAME_PTR f)); | 652 | int (*start_for_frame) (FRAME_PTR f); |
| 653 | 653 | ||
| 654 | /* Optional. | 654 | /* Optional. |
| 655 | End using the driver for frame F. Usually this function free | 655 | End using the driver for frame F. Usually this function free |
| 656 | some data stored for F. */ | 656 | some data stored for F. */ |
| 657 | int (*end_for_frame) P_ ((FRAME_PTR f)); | 657 | int (*end_for_frame) (FRAME_PTR f); |
| 658 | 658 | ||
| 659 | /* Optional. | 659 | /* Optional. |
| 660 | 660 | ||
| @@ -670,14 +670,14 @@ struct font_driver | |||
| 670 | a new glyph object and storing it in GSTRING. If (M) is greater | 670 | a new glyph object and storing it in GSTRING. If (M) is greater |
| 671 | than the length of GSTRING, nil should be return. In that case, | 671 | than the length of GSTRING, nil should be return. In that case, |
| 672 | this function is called again with the larger GSTRING. */ | 672 | this function is called again with the larger GSTRING. */ |
| 673 | Lisp_Object (*shape) P_ ((Lisp_Object lgstring)); | 673 | Lisp_Object (*shape) (Lisp_Object lgstring); |
| 674 | 674 | ||
| 675 | /* Optional. | 675 | /* Optional. |
| 676 | 676 | ||
| 677 | If FONT is usable on frame F, return 0. Otherwise return -1. | 677 | If FONT is usable on frame F, return 0. Otherwise return -1. |
| 678 | This method is used only for debugging. If this method is NULL, | 678 | This method is used only for debugging. If this method is NULL, |
| 679 | Emacs assumes that the font is usable on any frame. */ | 679 | Emacs assumes that the font is usable on any frame. */ |
| 680 | int (*check) P_ ((FRAME_PTR F, struct font *font)); | 680 | int (*check) (FRAME_PTR F, struct font *font); |
| 681 | 681 | ||
| 682 | /* Optional. | 682 | /* Optional. |
| 683 | 683 | ||
| @@ -685,18 +685,18 @@ struct font_driver | |||
| 685 | FONT. VARIATIONS is an array of 256 elements. If the variation | 685 | FONT. VARIATIONS is an array of 256 elements. If the variation |
| 686 | selector N (1..256) defines a glyph, that glyph code is stored in | 686 | selector N (1..256) defines a glyph, that glyph code is stored in |
| 687 | the (N-1)th element of VARIATIONS. */ | 687 | the (N-1)th element of VARIATIONS. */ |
| 688 | int (*get_variation_glyphs) P_ ((struct font *font, | 688 | int (*get_variation_glyphs) (struct font *font, |
| 689 | int c, unsigned variations[256])); | 689 | int c, unsigned variations[256]); |
| 690 | 690 | ||
| 691 | void (*filter_properties) P_ ((Lisp_Object font, Lisp_Object properties)); | 691 | void (*filter_properties) (Lisp_Object font, Lisp_Object properties); |
| 692 | 692 | ||
| 693 | /* Optional. | 693 | /* Optional. |
| 694 | 694 | ||
| 695 | Return non-zero if FONT_OBJECT can be used as a (cached) font | 695 | Return non-zero if FONT_OBJECT can be used as a (cached) font |
| 696 | for ENTITY on frame F. */ | 696 | for ENTITY on frame F. */ |
| 697 | int (*cached_font_ok) P_ ((struct frame *f, | 697 | int (*cached_font_ok) (struct frame *f, |
| 698 | Lisp_Object font_object, | 698 | Lisp_Object font_object, |
| 699 | Lisp_Object entity)); | 699 | Lisp_Object entity); |
| 700 | }; | 700 | }; |
| 701 | 701 | ||
| 702 | 702 | ||
| @@ -739,80 +739,80 @@ EXFUN (Ffont_family_list, 1); | |||
| 739 | EXFUN (Fclear_font_cache, 0); | 739 | EXFUN (Fclear_font_cache, 0); |
| 740 | EXFUN (Ffont_xlfd_name, 2); | 740 | EXFUN (Ffont_xlfd_name, 2); |
| 741 | 741 | ||
| 742 | extern Lisp_Object font_make_spec P_ ((void)); | 742 | extern Lisp_Object font_make_spec (void); |
| 743 | extern Lisp_Object font_make_entity P_ ((void)); | 743 | extern Lisp_Object font_make_entity (void); |
| 744 | extern Lisp_Object font_make_object P_ ((int, Lisp_Object, int)); | 744 | extern Lisp_Object font_make_object (int, Lisp_Object, int); |
| 745 | 745 | ||
| 746 | extern Lisp_Object find_font_encoding P_ ((Lisp_Object)); | 746 | extern Lisp_Object find_font_encoding (Lisp_Object); |
| 747 | extern int font_registry_charsets P_ ((Lisp_Object, struct charset **, | 747 | extern int font_registry_charsets (Lisp_Object, struct charset **, |
| 748 | struct charset **)); | 748 | struct charset **); |
| 749 | extern int font_style_to_value P_ ((enum font_property_index prop, | 749 | extern int font_style_to_value (enum font_property_index prop, |
| 750 | Lisp_Object name, int noerror)); | 750 | Lisp_Object name, int noerror); |
| 751 | extern Lisp_Object font_style_symbolic P_ ((Lisp_Object font, | 751 | extern Lisp_Object font_style_symbolic (Lisp_Object font, |
| 752 | enum font_property_index prop, | 752 | enum font_property_index prop, |
| 753 | int for_face)); | 753 | int for_face); |
| 754 | 754 | ||
| 755 | extern int font_match_p P_ ((Lisp_Object spec, Lisp_Object font)); | 755 | extern int font_match_p (Lisp_Object spec, Lisp_Object font); |
| 756 | extern Lisp_Object font_list_entities P_ ((Lisp_Object frame, | 756 | extern Lisp_Object font_list_entities (Lisp_Object frame, |
| 757 | Lisp_Object spec)); | 757 | Lisp_Object spec); |
| 758 | 758 | ||
| 759 | extern Lisp_Object font_get_name P_ ((Lisp_Object font_object)); | 759 | extern Lisp_Object font_get_name (Lisp_Object font_object); |
| 760 | extern Lisp_Object font_spec_from_name P_ ((Lisp_Object font_name)); | 760 | extern Lisp_Object font_spec_from_name (Lisp_Object font_name); |
| 761 | extern Lisp_Object font_get_frame P_ ((Lisp_Object font_object)); | 761 | extern Lisp_Object font_get_frame (Lisp_Object font_object); |
| 762 | extern int font_has_char P_ ((FRAME_PTR, Lisp_Object, int)); | 762 | extern int font_has_char (FRAME_PTR, Lisp_Object, int); |
| 763 | extern unsigned font_encode_char P_ ((Lisp_Object, int)); | 763 | extern unsigned font_encode_char (Lisp_Object, int); |
| 764 | 764 | ||
| 765 | extern void font_clear_prop P_ ((Lisp_Object *attrs, | 765 | extern void font_clear_prop (Lisp_Object *attrs, |
| 766 | enum font_property_index prop)); | 766 | enum font_property_index prop); |
| 767 | extern void font_update_lface P_ ((FRAME_PTR f, Lisp_Object *attrs)); | 767 | extern void font_update_lface (FRAME_PTR f, Lisp_Object *attrs); |
| 768 | extern Lisp_Object font_find_for_lface P_ ((FRAME_PTR f, Lisp_Object *lface, | 768 | extern Lisp_Object font_find_for_lface (FRAME_PTR f, Lisp_Object *lface, |
| 769 | Lisp_Object spec, int c)); | 769 | Lisp_Object spec, int c); |
| 770 | extern Lisp_Object font_open_for_lface P_ ((FRAME_PTR f, Lisp_Object entity, | 770 | extern Lisp_Object font_open_for_lface (FRAME_PTR f, Lisp_Object entity, |
| 771 | Lisp_Object *lface, | 771 | Lisp_Object *lface, |
| 772 | Lisp_Object spec)); | 772 | Lisp_Object spec); |
| 773 | extern Lisp_Object font_load_for_lface P_ ((FRAME_PTR f, Lisp_Object *lface, | 773 | extern Lisp_Object font_load_for_lface (FRAME_PTR f, Lisp_Object *lface, |
| 774 | Lisp_Object spec)); | 774 | Lisp_Object spec); |
| 775 | extern void font_prepare_for_face P_ ((FRAME_PTR f, struct face *face)); | 775 | extern void font_prepare_for_face (FRAME_PTR f, struct face *face); |
| 776 | extern void font_done_for_face P_ ((FRAME_PTR f, struct face *face)); | 776 | extern void font_done_for_face (FRAME_PTR f, struct face *face); |
| 777 | 777 | ||
| 778 | extern Lisp_Object font_open_by_spec P_ ((FRAME_PTR f, Lisp_Object spec)); | 778 | extern Lisp_Object font_open_by_spec (FRAME_PTR f, Lisp_Object spec); |
| 779 | extern Lisp_Object font_open_by_name P_ ((FRAME_PTR f, char *name)); | 779 | extern Lisp_Object font_open_by_name (FRAME_PTR f, char *name); |
| 780 | extern void font_close_object (FRAME_PTR f, Lisp_Object font_object); | 780 | extern void font_close_object (FRAME_PTR f, Lisp_Object font_object); |
| 781 | 781 | ||
| 782 | extern Lisp_Object font_intern_prop P_ ((char *str, int len, int force_symbol)); | 782 | extern Lisp_Object font_intern_prop (char *str, int len, int force_symbol); |
| 783 | extern void font_update_sort_order P_ ((int *order)); | 783 | extern void font_update_sort_order (int *order); |
| 784 | 784 | ||
| 785 | extern void font_parse_family_registry P_ ((Lisp_Object family, | 785 | extern void font_parse_family_registry (Lisp_Object family, |
| 786 | Lisp_Object registry, | 786 | Lisp_Object registry, |
| 787 | Lisp_Object spec)); | 787 | Lisp_Object spec); |
| 788 | extern Lisp_Object font_spec_from_family_registry P_ ((Lisp_Object family, | 788 | extern Lisp_Object font_spec_from_family_registry (Lisp_Object family, |
| 789 | Lisp_Object registry)); | 789 | Lisp_Object registry); |
| 790 | 790 | ||
| 791 | extern int font_parse_xlfd P_ ((char *name, Lisp_Object font)); | 791 | extern int font_parse_xlfd (char *name, Lisp_Object font); |
| 792 | extern int font_unparse_xlfd P_ ((Lisp_Object font, int pixel_size, | 792 | extern int font_unparse_xlfd (Lisp_Object font, int pixel_size, |
| 793 | char *name, int bytes)); | 793 | char *name, int bytes); |
| 794 | extern int font_parse_fcname P_ ((char *name, Lisp_Object font)); | 794 | extern int font_parse_fcname (char *name, Lisp_Object font); |
| 795 | extern int font_unparse_fcname P_ ((Lisp_Object font, int pixel_size, | 795 | extern int font_unparse_fcname (Lisp_Object font, int pixel_size, |
| 796 | char *name, int bytes)); | 796 | char *name, int bytes); |
| 797 | extern int font_unparse_gtkname P_ ((Lisp_Object, struct frame *, char *, int)); | 797 | extern int font_unparse_gtkname (Lisp_Object, struct frame *, char *, int); |
| 798 | extern void register_font_driver P_ ((struct font_driver *driver, FRAME_PTR f)); | 798 | extern void register_font_driver (struct font_driver *driver, FRAME_PTR f); |
| 799 | extern void free_font_driver_list P_ ((FRAME_PTR f)); | 799 | extern void free_font_driver_list (FRAME_PTR f); |
| 800 | extern Lisp_Object font_update_drivers P_ ((FRAME_PTR f, Lisp_Object list)); | 800 | extern Lisp_Object font_update_drivers (FRAME_PTR f, Lisp_Object list); |
| 801 | extern Lisp_Object font_at P_ ((int c, EMACS_INT pos, struct face *face, | 801 | extern Lisp_Object font_at (int c, EMACS_INT pos, struct face *face, |
| 802 | struct window *w, Lisp_Object object)); | 802 | struct window *w, Lisp_Object object); |
| 803 | extern Lisp_Object font_range (EMACS_INT, EMACS_INT *, | 803 | extern Lisp_Object font_range (EMACS_INT, EMACS_INT *, |
| 804 | struct window *, struct face *, | 804 | struct window *, struct face *, |
| 805 | Lisp_Object); | 805 | Lisp_Object); |
| 806 | extern void font_fill_lglyph_metrics P_ ((Lisp_Object, Lisp_Object)); | 806 | extern void font_fill_lglyph_metrics (Lisp_Object, Lisp_Object); |
| 807 | 807 | ||
| 808 | extern Lisp_Object font_put_extra P_ ((Lisp_Object font, Lisp_Object prop, | 808 | extern Lisp_Object font_put_extra (Lisp_Object font, Lisp_Object prop, |
| 809 | Lisp_Object val)); | 809 | Lisp_Object val); |
| 810 | 810 | ||
| 811 | extern int font_put_frame_data P_ ((FRAME_PTR f, | 811 | extern int font_put_frame_data (FRAME_PTR f, |
| 812 | struct font_driver *driver, | 812 | struct font_driver *driver, |
| 813 | void *data)); | 813 | void *data); |
| 814 | extern void *font_get_frame_data P_ ((FRAME_PTR f, | 814 | extern void *font_get_frame_data (FRAME_PTR f, |
| 815 | struct font_driver *driver)); | 815 | struct font_driver *driver); |
| 816 | 816 | ||
| 817 | #ifdef HAVE_FREETYPE | 817 | #ifdef HAVE_FREETYPE |
| 818 | extern struct font_driver ftfont_driver; | 818 | extern struct font_driver ftfont_driver; |
| @@ -837,8 +837,8 @@ extern struct font_driver nsfont_driver; | |||
| 837 | #endif | 837 | #endif |
| 838 | 838 | ||
| 839 | extern Lisp_Object Vfont_log; | 839 | extern Lisp_Object Vfont_log; |
| 840 | extern void font_add_log P_ ((char *, Lisp_Object, Lisp_Object)); | 840 | extern void font_add_log (char *, Lisp_Object, Lisp_Object); |
| 841 | extern void font_deferred_log P_ ((char *, Lisp_Object, Lisp_Object)); | 841 | extern void font_deferred_log (char *, Lisp_Object, Lisp_Object); |
| 842 | 842 | ||
| 843 | #define FONT_ADD_LOG(ACTION, ARG, RESULT) \ | 843 | #define FONT_ADD_LOG(ACTION, ARG, RESULT) \ |
| 844 | do { \ | 844 | do { \ |
diff --git a/src/fontset.h b/src/fontset.h index 78bdfaaaca0..178170a04ce 100644 --- a/src/fontset.h +++ b/src/fontset.h | |||
| @@ -28,22 +28,22 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 28 | #define EMACS_FONTSET_H | 28 | #define EMACS_FONTSET_H |
| 29 | 29 | ||
| 30 | /* Check if any window system is used now. */ | 30 | /* Check if any window system is used now. */ |
| 31 | extern void (*check_window_system_func) P_ ((void)); | 31 | extern void (*check_window_system_func) (void); |
| 32 | 32 | ||
| 33 | struct face; | 33 | struct face; |
| 34 | 34 | ||
| 35 | extern void free_face_fontset P_ ((FRAME_PTR, struct face *)); | 35 | extern void free_face_fontset (FRAME_PTR, struct face *); |
| 36 | extern Lisp_Object fontset_font_pattern P_ ((FRAME_PTR, struct face *, int)); | 36 | extern Lisp_Object fontset_font_pattern (FRAME_PTR, struct face *, int); |
| 37 | extern int face_suitable_for_char_p P_ ((struct face *, int)); | 37 | extern int face_suitable_for_char_p (struct face *, int); |
| 38 | extern int face_for_char P_ ((FRAME_PTR, struct face *, int, | 38 | extern int face_for_char (FRAME_PTR, struct face *, int, |
| 39 | int, Lisp_Object)); | 39 | int, Lisp_Object); |
| 40 | extern Lisp_Object font_for_char P_ ((struct face *, int, int, Lisp_Object)); | 40 | extern Lisp_Object font_for_char (struct face *, int, int, Lisp_Object); |
| 41 | 41 | ||
| 42 | extern int make_fontset_for_ascii_face P_ ((FRAME_PTR, int, struct face *)); | 42 | extern int make_fontset_for_ascii_face (FRAME_PTR, int, struct face *); |
| 43 | extern int fontset_from_font P_ ((Lisp_Object)); | 43 | extern int fontset_from_font (Lisp_Object); |
| 44 | extern int fs_query_fontset P_ ((Lisp_Object, int)); | 44 | extern int fs_query_fontset (Lisp_Object, int); |
| 45 | EXFUN (Fquery_fontset, 2); | 45 | EXFUN (Fquery_fontset, 2); |
| 46 | extern Lisp_Object list_fontsets P_ ((struct frame *, Lisp_Object, int)); | 46 | extern Lisp_Object list_fontsets (struct frame *, Lisp_Object, int); |
| 47 | 47 | ||
| 48 | extern Lisp_Object Vuse_default_ascent; | 48 | extern Lisp_Object Vuse_default_ascent; |
| 49 | extern Lisp_Object Vignore_relative_composition; | 49 | extern Lisp_Object Vignore_relative_composition; |
| @@ -52,12 +52,12 @@ extern Lisp_Object Vfontset_alias_alist; | |||
| 52 | extern Lisp_Object Vvertical_centering_font_regexp; | 52 | extern Lisp_Object Vvertical_centering_font_regexp; |
| 53 | extern Lisp_Object Votf_script_alist; | 53 | extern Lisp_Object Votf_script_alist; |
| 54 | 54 | ||
| 55 | extern Lisp_Object fontset_name P_ ((int)); | 55 | extern Lisp_Object fontset_name (int); |
| 56 | extern Lisp_Object fontset_ascii P_ ((int)); | 56 | extern Lisp_Object fontset_ascii (int); |
| 57 | extern int fontset_height P_ ((int)); | 57 | extern int fontset_height (int); |
| 58 | 58 | ||
| 59 | struct font; | 59 | struct font; |
| 60 | extern int face_for_font P_ ((struct frame *, Lisp_Object, struct face *)); | 60 | extern int face_for_font (struct frame *, Lisp_Object, struct face *); |
| 61 | 61 | ||
| 62 | #endif /* EMACS_FONTSET_H */ | 62 | #endif /* EMACS_FONTSET_H */ |
| 63 | 63 | ||
diff --git a/src/frame.h b/src/frame.h index 887d47eff21..0abd878a31f 100644 --- a/src/frame.h +++ b/src/frame.h | |||
| @@ -828,19 +828,19 @@ extern Lisp_Object Qnoelisp; | |||
| 828 | 828 | ||
| 829 | extern struct frame *last_nonminibuf_frame; | 829 | extern struct frame *last_nonminibuf_frame; |
| 830 | 830 | ||
| 831 | extern struct frame *make_initial_frame P_ ((void)); | 831 | extern struct frame *make_initial_frame (void); |
| 832 | extern struct frame *make_terminal_frame P_ ((struct terminal *)); | 832 | extern struct frame *make_terminal_frame (struct terminal *); |
| 833 | extern struct frame *make_frame P_ ((int)); | 833 | extern struct frame *make_frame (int); |
| 834 | #ifdef HAVE_WINDOW_SYSTEM | 834 | #ifdef HAVE_WINDOW_SYSTEM |
| 835 | extern struct frame *make_minibuffer_frame P_ ((void)); | 835 | extern struct frame *make_minibuffer_frame (void); |
| 836 | extern struct frame *make_frame_without_minibuffer P_ ((Lisp_Object, | 836 | extern struct frame *make_frame_without_minibuffer (Lisp_Object, |
| 837 | struct kboard *, | 837 | struct kboard *, |
| 838 | Lisp_Object)); | 838 | Lisp_Object); |
| 839 | #endif /* HAVE_WINDOW_SYSTEM */ | 839 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 840 | extern int other_visible_frames P_ ((struct frame *)); | 840 | extern int other_visible_frames (struct frame *); |
| 841 | extern void frame_make_pointer_invisible P_ ((void)); | 841 | extern void frame_make_pointer_invisible (void); |
| 842 | extern void frame_make_pointer_visible P_ ((void)); | 842 | extern void frame_make_pointer_visible (void); |
| 843 | extern Lisp_Object delete_frame P_ ((Lisp_Object, Lisp_Object)); | 843 | extern Lisp_Object delete_frame (Lisp_Object, Lisp_Object); |
| 844 | 844 | ||
| 845 | extern Lisp_Object Vframe_list; | 845 | extern Lisp_Object Vframe_list; |
| 846 | extern Lisp_Object Vdefault_frame_alist; | 846 | extern Lisp_Object Vdefault_frame_alist; |
| @@ -1081,11 +1081,11 @@ extern Lisp_Object Qdisplay; | |||
| 1081 | 1081 | ||
| 1082 | /* These are in xterm.c, w32term.c, etc. */ | 1082 | /* These are in xterm.c, w32term.c, etc. */ |
| 1083 | 1083 | ||
| 1084 | extern void x_set_scroll_bar_default_width P_ ((struct frame *)); | 1084 | extern void x_set_scroll_bar_default_width (struct frame *); |
| 1085 | extern void x_set_offset P_ ((struct frame *, int, int, int)); | 1085 | extern void x_set_offset (struct frame *, int, int, int); |
| 1086 | extern void x_wm_set_icon_position P_ ((struct frame *, int, int)); | 1086 | extern void x_wm_set_icon_position (struct frame *, int, int); |
| 1087 | 1087 | ||
| 1088 | extern Lisp_Object x_new_font P_ ((struct frame *, Lisp_Object, int)); | 1088 | extern Lisp_Object x_new_font (struct frame *, Lisp_Object, int); |
| 1089 | 1089 | ||
| 1090 | /* These are in frame.c */ | 1090 | /* These are in frame.c */ |
| 1091 | 1091 | ||
| @@ -1095,38 +1095,38 @@ extern Lisp_Object Vx_resource_class; | |||
| 1095 | 1095 | ||
| 1096 | extern Lisp_Object Qface_set_after_frame_default; | 1096 | extern Lisp_Object Qface_set_after_frame_default; |
| 1097 | 1097 | ||
| 1098 | extern void x_fullscreen_adjust P_ ((struct frame *f, int *, int *, | 1098 | extern void x_fullscreen_adjust (struct frame *f, int *, int *, |
| 1099 | int *, int *)); | 1099 | int *, int *); |
| 1100 | 1100 | ||
| 1101 | extern void x_set_frame_parameters P_ ((struct frame *, Lisp_Object)); | 1101 | extern void x_set_frame_parameters (struct frame *, Lisp_Object); |
| 1102 | extern void x_report_frame_params P_ ((struct frame *, Lisp_Object *)); | 1102 | extern void x_report_frame_params (struct frame *, Lisp_Object *); |
| 1103 | 1103 | ||
| 1104 | extern void x_set_fullscreen P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1104 | extern void x_set_fullscreen (struct frame *, Lisp_Object, Lisp_Object); |
| 1105 | extern void x_set_line_spacing P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1105 | extern void x_set_line_spacing (struct frame *, Lisp_Object, Lisp_Object); |
| 1106 | extern void x_set_screen_gamma P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1106 | extern void x_set_screen_gamma (struct frame *, Lisp_Object, Lisp_Object); |
| 1107 | extern void x_set_font P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1107 | extern void x_set_font (struct frame *, Lisp_Object, Lisp_Object); |
| 1108 | extern void x_set_font_backend P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1108 | extern void x_set_font_backend (struct frame *, Lisp_Object, Lisp_Object); |
| 1109 | extern void x_set_fringe_width P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1109 | extern void x_set_fringe_width (struct frame *, Lisp_Object, Lisp_Object); |
| 1110 | extern void x_set_border_width P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1110 | extern void x_set_border_width (struct frame *, Lisp_Object, Lisp_Object); |
| 1111 | extern void x_set_internal_border_width P_ ((struct frame *, Lisp_Object, | 1111 | extern void x_set_internal_border_width (struct frame *, Lisp_Object, |
| 1112 | Lisp_Object)); | 1112 | Lisp_Object); |
| 1113 | extern void x_set_visibility P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1113 | extern void x_set_visibility (struct frame *, Lisp_Object, Lisp_Object); |
| 1114 | extern void x_set_autoraise P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1114 | extern void x_set_autoraise (struct frame *, Lisp_Object, Lisp_Object); |
| 1115 | extern void x_set_autolower P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1115 | extern void x_set_autolower (struct frame *, Lisp_Object, Lisp_Object); |
| 1116 | extern void x_set_unsplittable P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1116 | extern void x_set_unsplittable (struct frame *, Lisp_Object, Lisp_Object); |
| 1117 | extern void x_set_vertical_scroll_bars P_ ((struct frame *, Lisp_Object, | 1117 | extern void x_set_vertical_scroll_bars (struct frame *, Lisp_Object, |
| 1118 | Lisp_Object)); | 1118 | Lisp_Object); |
| 1119 | extern void x_set_scroll_bar_width P_ ((struct frame *, Lisp_Object, | 1119 | extern void x_set_scroll_bar_width (struct frame *, Lisp_Object, |
| 1120 | Lisp_Object)); | 1120 | Lisp_Object); |
| 1121 | 1121 | ||
| 1122 | extern Lisp_Object x_icon_type P_ ((struct frame *)); | 1122 | extern Lisp_Object x_icon_type (struct frame *); |
| 1123 | 1123 | ||
| 1124 | extern int x_figure_window_size P_ ((struct frame *, Lisp_Object, int)); | 1124 | extern int x_figure_window_size (struct frame *, Lisp_Object, int); |
| 1125 | 1125 | ||
| 1126 | extern Lisp_Object Vframe_alpha_lower_limit; | 1126 | extern Lisp_Object Vframe_alpha_lower_limit; |
| 1127 | extern void x_set_alpha P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1127 | extern void x_set_alpha (struct frame *, Lisp_Object, Lisp_Object); |
| 1128 | 1128 | ||
| 1129 | extern void validate_x_resource_name P_ ((void)); | 1129 | extern void validate_x_resource_name (void); |
| 1130 | 1130 | ||
| 1131 | extern Lisp_Object display_x_get_resource (Display_Info *, | 1131 | extern Lisp_Object display_x_get_resource (Display_Info *, |
| 1132 | Lisp_Object attribute, | 1132 | Lisp_Object attribute, |
diff --git a/src/gtkutil.h b/src/gtkutil.h index 5b9c1df25a2..fcd23b65132 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h | |||
| @@ -122,89 +122,89 @@ typedef struct _widget_value | |||
| 122 | extern int use_old_gtk_file_dialog; | 122 | extern int use_old_gtk_file_dialog; |
| 123 | #endif | 123 | #endif |
| 124 | 124 | ||
| 125 | extern widget_value *malloc_widget_value P_ ((void)); | 125 | extern widget_value *malloc_widget_value (void); |
| 126 | extern void free_widget_value P_ ((widget_value *)); | 126 | extern void free_widget_value (widget_value *); |
| 127 | 127 | ||
| 128 | extern int xg_uses_old_file_dialog P_ ((void)); | 128 | extern int xg_uses_old_file_dialog (void); |
| 129 | 129 | ||
| 130 | extern char *xg_get_file_name P_ ((FRAME_PTR f, | 130 | extern char *xg_get_file_name (FRAME_PTR f, |
| 131 | char *prompt, | 131 | char *prompt, |
| 132 | char *default_filename, | 132 | char *default_filename, |
| 133 | int mustmatch_p, | 133 | int mustmatch_p, |
| 134 | int only_dir_p)); | 134 | int only_dir_p); |
| 135 | 135 | ||
| 136 | extern char *xg_get_font_name P_ ((FRAME_PTR f, char *)); | 136 | extern char *xg_get_font_name (FRAME_PTR f, char *); |
| 137 | 137 | ||
| 138 | extern GtkWidget *xg_create_widget P_ ((char *type, | 138 | extern GtkWidget *xg_create_widget (char *type, |
| 139 | char *name, | 139 | char *name, |
| 140 | FRAME_PTR f, | 140 | FRAME_PTR f, |
| 141 | widget_value *val, | 141 | widget_value *val, |
| 142 | GCallback select_cb, | 142 | GCallback select_cb, |
| 143 | GCallback deactivate_cb, | 143 | GCallback deactivate_cb, |
| 144 | GCallback hightlight_cb)); | 144 | GCallback hightlight_cb); |
| 145 | 145 | ||
| 146 | extern void xg_modify_menubar_widgets P_ ((GtkWidget *menubar, | 146 | extern void xg_modify_menubar_widgets (GtkWidget *menubar, |
| 147 | FRAME_PTR f, | 147 | FRAME_PTR f, |
| 148 | widget_value *val, | 148 | widget_value *val, |
| 149 | int deep_p, | 149 | int deep_p, |
| 150 | GCallback select_cb, | 150 | GCallback select_cb, |
| 151 | GCallback deactivate_cb, | 151 | GCallback deactivate_cb, |
| 152 | GCallback hightlight_cb)); | 152 | GCallback hightlight_cb); |
| 153 | 153 | ||
| 154 | extern int xg_update_frame_menubar P_ ((FRAME_PTR f)); | 154 | extern int xg_update_frame_menubar (FRAME_PTR f); |
| 155 | 155 | ||
| 156 | extern int xg_have_tear_offs P_ ((void)); | 156 | extern int xg_have_tear_offs (void); |
| 157 | 157 | ||
| 158 | extern int xg_get_scroll_id_for_window P_ ((Display *dpy, Window wid)); | 158 | extern int xg_get_scroll_id_for_window (Display *dpy, Window wid); |
| 159 | 159 | ||
| 160 | extern void xg_create_scroll_bar P_ ((FRAME_PTR f, | 160 | extern void xg_create_scroll_bar (FRAME_PTR f, |
| 161 | struct scroll_bar *bar, | 161 | struct scroll_bar *bar, |
| 162 | GCallback scroll_callback, | 162 | GCallback scroll_callback, |
| 163 | GCallback end_callback, | 163 | GCallback end_callback, |
| 164 | char *scroll_bar_name)); | 164 | char *scroll_bar_name); |
| 165 | extern void xg_remove_scroll_bar P_ ((FRAME_PTR f, int scrollbar_id)); | 165 | extern void xg_remove_scroll_bar (FRAME_PTR f, int scrollbar_id); |
| 166 | 166 | ||
| 167 | extern void xg_update_scrollbar_pos P_ ((FRAME_PTR f, | 167 | extern void xg_update_scrollbar_pos (FRAME_PTR f, |
| 168 | int scrollbar_id, | 168 | int scrollbar_id, |
| 169 | int top, | 169 | int top, |
| 170 | int left, | 170 | int left, |
| 171 | int width, | 171 | int width, |
| 172 | int height)); | 172 | int height); |
| 173 | 173 | ||
| 174 | extern void xg_set_toolkit_scroll_bar_thumb P_ ((struct scroll_bar *bar, | 174 | extern void xg_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, |
| 175 | int portion, | 175 | int portion, |
| 176 | int position, | 176 | int position, |
| 177 | int whole)); | 177 | int whole); |
| 178 | extern int xg_event_is_for_scrollbar P_ ((FRAME_PTR f, XEvent *event)); | 178 | extern int xg_event_is_for_scrollbar (FRAME_PTR f, XEvent *event); |
| 179 | 179 | ||
| 180 | extern void update_frame_tool_bar P_ ((FRAME_PTR f)); | 180 | extern void update_frame_tool_bar (FRAME_PTR f); |
| 181 | extern void free_frame_tool_bar P_ ((FRAME_PTR f)); | 181 | extern void free_frame_tool_bar (FRAME_PTR f); |
| 182 | 182 | ||
| 183 | extern void xg_frame_resized P_ ((FRAME_PTR f, | 183 | extern void xg_frame_resized (FRAME_PTR f, |
| 184 | int pixelwidth, | 184 | int pixelwidth, |
| 185 | int pixelheight)); | 185 | int pixelheight); |
| 186 | extern void xg_frame_set_char_size P_ ((FRAME_PTR f, int cols, int rows)); | 186 | extern void xg_frame_set_char_size (FRAME_PTR f, int cols, int rows); |
| 187 | extern GtkWidget * xg_win_to_widget P_ ((Display *dpy, Window wdesc)); | 187 | extern GtkWidget * xg_win_to_widget (Display *dpy, Window wdesc); |
| 188 | 188 | ||
| 189 | extern void xg_display_open P_ ((char *display_name, Display **dpy)); | 189 | extern void xg_display_open (char *display_name, Display **dpy); |
| 190 | extern void xg_display_close P_ ((Display *dpy)); | 190 | extern void xg_display_close (Display *dpy); |
| 191 | extern GdkCursor * xg_create_default_cursor P_ ((Display *dpy)); | 191 | extern GdkCursor * xg_create_default_cursor (Display *dpy); |
| 192 | 192 | ||
| 193 | extern int xg_create_frame_widgets P_ ((FRAME_PTR f)); | 193 | extern int xg_create_frame_widgets (FRAME_PTR f); |
| 194 | extern void x_wm_set_size_hint P_ ((FRAME_PTR f, | 194 | extern void x_wm_set_size_hint (FRAME_PTR f, |
| 195 | long flags, | 195 | long flags, |
| 196 | int user_position)); | 196 | int user_position); |
| 197 | extern void xg_set_background_color P_ ((FRAME_PTR f, unsigned long bg)); | 197 | extern void xg_set_background_color (FRAME_PTR f, unsigned long bg); |
| 198 | 198 | ||
| 199 | extern void xg_set_frame_icon P_ ((FRAME_PTR f, | 199 | extern void xg_set_frame_icon (FRAME_PTR f, |
| 200 | Pixmap icon_pixmap, | 200 | Pixmap icon_pixmap, |
| 201 | Pixmap icon_mask)); | 201 | Pixmap icon_mask); |
| 202 | 202 | ||
| 203 | /* Mark all callback data that are Lisp_object:s during GC. */ | 203 | /* Mark all callback data that are Lisp_object:s during GC. */ |
| 204 | extern void xg_mark_data P_ ((void)); | 204 | extern void xg_mark_data (void); |
| 205 | 205 | ||
| 206 | /* Initialize GTK specific parts. */ | 206 | /* Initialize GTK specific parts. */ |
| 207 | extern void xg_initialize P_ ((void)); | 207 | extern void xg_initialize (void); |
| 208 | 208 | ||
| 209 | /* Setting scrollbar values invokes the callback. Use this variable | 209 | /* Setting scrollbar values invokes the callback. Use this variable |
| 210 | to indicate that the callback should do nothing. */ | 210 | to indicate that the callback should do nothing. */ |
diff --git a/src/indent.h b/src/indent.h index 4d9dbf2d7ff..394d7216b4f 100644 --- a/src/indent.h +++ b/src/indent.h | |||
| @@ -49,16 +49,16 @@ struct position | |||
| 49 | EMACS_INT tab_offset; | 49 | EMACS_INT tab_offset; |
| 50 | }; | 50 | }; |
| 51 | 51 | ||
| 52 | struct position *compute_motion P_ ((EMACS_INT from, EMACS_INT fromvpos, | 52 | struct position *compute_motion (EMACS_INT from, EMACS_INT fromvpos, |
| 53 | EMACS_INT fromhpos, int did_motion, | 53 | EMACS_INT fromhpos, int did_motion, |
| 54 | EMACS_INT to, EMACS_INT tovpos, | 54 | EMACS_INT to, EMACS_INT tovpos, |
| 55 | EMACS_INT tohpos, | 55 | EMACS_INT tohpos, |
| 56 | EMACS_INT width, EMACS_INT hscroll, | 56 | EMACS_INT width, EMACS_INT hscroll, |
| 57 | EMACS_INT tab_offset, struct window *)); | 57 | EMACS_INT tab_offset, struct window *); |
| 58 | struct position *vmotion P_ ((EMACS_INT from, EMACS_INT vtarget, | 58 | struct position *vmotion (EMACS_INT from, EMACS_INT vtarget, |
| 59 | struct window *)); | 59 | struct window *); |
| 60 | EMACS_INT skip_invisible P_ ((EMACS_INT pos, EMACS_INT *next_boundary_p, | 60 | EMACS_INT skip_invisible (EMACS_INT pos, EMACS_INT *next_boundary_p, |
| 61 | EMACS_INT to, Lisp_Object window)); | 61 | EMACS_INT to, Lisp_Object window); |
| 62 | 62 | ||
| 63 | /* Value of point when current_column was called */ | 63 | /* Value of point when current_column was called */ |
| 64 | extern EMACS_INT last_known_column_point; | 64 | extern EMACS_INT last_known_column_point; |
| @@ -68,12 +68,12 @@ extern EMACS_INT last_known_column_point; | |||
| 68 | /* Return true if the display table DISPTAB specifies the same widths | 68 | /* Return true if the display table DISPTAB specifies the same widths |
| 69 | for characters as WIDTHTAB. We use this to decide when to | 69 | for characters as WIDTHTAB. We use this to decide when to |
| 70 | invalidate the buffer's column_cache. */ | 70 | invalidate the buffer's column_cache. */ |
| 71 | int disptab_matches_widthtab P_ ((struct Lisp_Char_Table *disptab, | 71 | int disptab_matches_widthtab (struct Lisp_Char_Table *disptab, |
| 72 | struct Lisp_Vector *widthtab)); | 72 | struct Lisp_Vector *widthtab); |
| 73 | 73 | ||
| 74 | /* Recompute BUF's width table, using the display table DISPTAB. */ | 74 | /* Recompute BUF's width table, using the display table DISPTAB. */ |
| 75 | void recompute_width_table P_ ((struct buffer *buf, | 75 | void recompute_width_table (struct buffer *buf, |
| 76 | struct Lisp_Char_Table *disptab)); | 76 | struct Lisp_Char_Table *disptab); |
| 77 | 77 | ||
| 78 | 78 | ||
| 79 | /* arch-tag: f9feb373-5bff-4f4f-9198-94805d00cfd7 | 79 | /* arch-tag: f9feb373-5bff-4f4f-9198-94805d00cfd7 |
diff --git a/src/intervals.h b/src/intervals.h index 5d1132e11ba..cdb24418587 100644 --- a/src/intervals.h +++ b/src/intervals.h | |||
| @@ -243,49 +243,49 @@ struct interval | |||
| 243 | 243 | ||
| 244 | /* Declared in alloc.c */ | 244 | /* Declared in alloc.c */ |
| 245 | 245 | ||
| 246 | extern INTERVAL make_interval P_ ((void)); | 246 | extern INTERVAL make_interval (void); |
| 247 | 247 | ||
| 248 | /* Declared in intervals.c */ | 248 | /* Declared in intervals.c */ |
| 249 | 249 | ||
| 250 | extern INTERVAL create_root_interval P_ ((Lisp_Object)); | 250 | extern INTERVAL create_root_interval (Lisp_Object); |
| 251 | extern void copy_properties P_ ((INTERVAL, INTERVAL)); | 251 | extern void copy_properties (INTERVAL, INTERVAL); |
| 252 | extern int intervals_equal P_ ((INTERVAL, INTERVAL)); | 252 | extern int intervals_equal (INTERVAL, INTERVAL); |
| 253 | extern void traverse_intervals P_ ((INTERVAL, int, | 253 | extern void traverse_intervals (INTERVAL, int, |
| 254 | void (*) (INTERVAL, Lisp_Object), | 254 | void (*) (INTERVAL, Lisp_Object), |
| 255 | Lisp_Object)); | 255 | Lisp_Object); |
| 256 | extern void traverse_intervals_noorder P_ ((INTERVAL, | 256 | extern void traverse_intervals_noorder (INTERVAL, |
| 257 | void (*) (INTERVAL, Lisp_Object), | 257 | void (*) (INTERVAL, Lisp_Object), |
| 258 | Lisp_Object)); | 258 | Lisp_Object); |
| 259 | extern INTERVAL split_interval_right P_ ((INTERVAL, int)); | 259 | extern INTERVAL split_interval_right (INTERVAL, int); |
| 260 | extern INTERVAL split_interval_left P_ ((INTERVAL, int)); | 260 | extern INTERVAL split_interval_left (INTERVAL, int); |
| 261 | extern INTERVAL find_interval P_ ((INTERVAL, int)); | 261 | extern INTERVAL find_interval (INTERVAL, int); |
| 262 | extern INTERVAL next_interval P_ ((INTERVAL)); | 262 | extern INTERVAL next_interval (INTERVAL); |
| 263 | extern INTERVAL previous_interval P_ ((INTERVAL)); | 263 | extern INTERVAL previous_interval (INTERVAL); |
| 264 | extern INTERVAL merge_interval_left P_ ((INTERVAL)); | 264 | extern INTERVAL merge_interval_left (INTERVAL); |
| 265 | extern INTERVAL merge_interval_right P_ ((INTERVAL)); | 265 | extern INTERVAL merge_interval_right (INTERVAL); |
| 266 | extern void delete_interval P_ ((INTERVAL)); | 266 | extern void delete_interval (INTERVAL); |
| 267 | extern INLINE void offset_intervals P_ ((struct buffer *, int, int)); | 267 | extern INLINE void offset_intervals (struct buffer *, int, int); |
| 268 | extern void graft_intervals_into_buffer P_ ((INTERVAL, int, int, | 268 | extern void graft_intervals_into_buffer (INTERVAL, int, int, |
| 269 | struct buffer *, int)); | 269 | struct buffer *, int); |
| 270 | extern void verify_interval_modification P_ ((struct buffer *, int, int)); | 270 | extern void verify_interval_modification (struct buffer *, int, int); |
| 271 | extern INTERVAL balance_intervals P_ ((INTERVAL)); | 271 | extern INTERVAL balance_intervals (INTERVAL); |
| 272 | extern INLINE void copy_intervals_to_string P_ ((Lisp_Object, struct buffer *, | 272 | extern INLINE void copy_intervals_to_string (Lisp_Object, struct buffer *, |
| 273 | int, int)); | 273 | int, int); |
| 274 | extern INTERVAL copy_intervals P_ ((INTERVAL, int, int)); | 274 | extern INTERVAL copy_intervals (INTERVAL, int, int); |
| 275 | extern int compare_string_intervals P_ ((Lisp_Object, Lisp_Object)); | 275 | extern int compare_string_intervals (Lisp_Object, Lisp_Object); |
| 276 | extern Lisp_Object textget P_ ((Lisp_Object, Lisp_Object)); | 276 | extern Lisp_Object textget (Lisp_Object, Lisp_Object); |
| 277 | extern Lisp_Object lookup_char_property P_ ((Lisp_Object, Lisp_Object, int)); | 277 | extern Lisp_Object lookup_char_property (Lisp_Object, Lisp_Object, int); |
| 278 | extern void move_if_not_intangible P_ ((int)); | 278 | extern void move_if_not_intangible (int); |
| 279 | extern int get_property_and_range P_ ((int, Lisp_Object, Lisp_Object *, | 279 | extern int get_property_and_range (int, Lisp_Object, Lisp_Object *, |
| 280 | EMACS_INT *, EMACS_INT *, Lisp_Object)); | 280 | EMACS_INT *, EMACS_INT *, Lisp_Object); |
| 281 | extern Lisp_Object get_local_map P_ ((int, struct buffer *, Lisp_Object)); | 281 | extern Lisp_Object get_local_map (int, struct buffer *, Lisp_Object); |
| 282 | extern INTERVAL update_interval P_ ((INTERVAL, int)); | 282 | extern INTERVAL update_interval (INTERVAL, int); |
| 283 | extern void set_intervals_multibyte P_ ((int)); | 283 | extern void set_intervals_multibyte (int); |
| 284 | extern INTERVAL validate_interval_range P_ ((Lisp_Object, Lisp_Object *, | 284 | extern INTERVAL validate_interval_range (Lisp_Object, Lisp_Object *, |
| 285 | Lisp_Object *, int)); | 285 | Lisp_Object *, int); |
| 286 | 286 | ||
| 287 | /* Defined in xdisp.c */ | 287 | /* Defined in xdisp.c */ |
| 288 | extern int invisible_p P_ ((Lisp_Object, Lisp_Object)); | 288 | extern int invisible_p (Lisp_Object, Lisp_Object); |
| 289 | 289 | ||
| 290 | /* Declared in textprop.c */ | 290 | /* Declared in textprop.c */ |
| 291 | 291 | ||
| @@ -323,27 +323,27 @@ EXFUN (Fremove_text_properties, 4); | |||
| 323 | EXFUN (Ftext_property_any, 5); | 323 | EXFUN (Ftext_property_any, 5); |
| 324 | EXFUN (Ftext_property_not_all, 5); | 324 | EXFUN (Ftext_property_not_all, 5); |
| 325 | EXFUN (Fprevious_single_char_property_change, 4); | 325 | EXFUN (Fprevious_single_char_property_change, 4); |
| 326 | extern Lisp_Object copy_text_properties P_ ((Lisp_Object, Lisp_Object, | 326 | extern Lisp_Object copy_text_properties (Lisp_Object, Lisp_Object, |
| 327 | Lisp_Object, Lisp_Object, | 327 | Lisp_Object, Lisp_Object, |
| 328 | Lisp_Object, Lisp_Object)); | 328 | Lisp_Object, Lisp_Object); |
| 329 | extern Lisp_Object set_text_properties P_ ((Lisp_Object, Lisp_Object, | 329 | extern Lisp_Object set_text_properties (Lisp_Object, Lisp_Object, |
| 330 | Lisp_Object, Lisp_Object, | 330 | Lisp_Object, Lisp_Object, |
| 331 | Lisp_Object)); | 331 | Lisp_Object); |
| 332 | extern void set_text_properties_1 P_ ((Lisp_Object, Lisp_Object, | 332 | extern void set_text_properties_1 (Lisp_Object, Lisp_Object, |
| 333 | Lisp_Object, Lisp_Object, INTERVAL)); | 333 | Lisp_Object, Lisp_Object, INTERVAL); |
| 334 | 334 | ||
| 335 | Lisp_Object text_property_list P_ ((Lisp_Object, Lisp_Object, Lisp_Object, | 335 | Lisp_Object text_property_list (Lisp_Object, Lisp_Object, Lisp_Object, |
| 336 | Lisp_Object)); | 336 | Lisp_Object); |
| 337 | int add_text_properties_from_list P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 337 | int add_text_properties_from_list (Lisp_Object, Lisp_Object, Lisp_Object); |
| 338 | Lisp_Object extend_property_ranges P_ ((Lisp_Object, Lisp_Object)); | 338 | Lisp_Object extend_property_ranges (Lisp_Object, Lisp_Object); |
| 339 | Lisp_Object get_char_property_and_overlay P_ ((Lisp_Object, Lisp_Object, | 339 | Lisp_Object get_char_property_and_overlay (Lisp_Object, Lisp_Object, |
| 340 | Lisp_Object, Lisp_Object*)); | 340 | Lisp_Object, Lisp_Object*); |
| 341 | extern int text_property_stickiness P_ ((Lisp_Object prop, Lisp_Object pos, | 341 | extern int text_property_stickiness (Lisp_Object prop, Lisp_Object pos, |
| 342 | Lisp_Object buffer)); | 342 | Lisp_Object buffer); |
| 343 | extern Lisp_Object get_pos_property P_ ((Lisp_Object pos, Lisp_Object prop, | 343 | extern Lisp_Object get_pos_property (Lisp_Object pos, Lisp_Object prop, |
| 344 | Lisp_Object object)); | 344 | Lisp_Object object); |
| 345 | 345 | ||
| 346 | extern void syms_of_textprop P_ ((void)); | 346 | extern void syms_of_textprop (void); |
| 347 | 347 | ||
| 348 | #include "composite.h" | 348 | #include "composite.h" |
| 349 | 349 | ||
diff --git a/src/keyboard.h b/src/keyboard.h index 27fc0e5eb6a..98c735023d7 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -300,7 +300,7 @@ enum menu_item_idx | |||
| 300 | MENU_ITEMS_ITEM_LENGTH | 300 | MENU_ITEMS_ITEM_LENGTH |
| 301 | }; | 301 | }; |
| 302 | 302 | ||
| 303 | extern Lisp_Object unuse_menu_items P_ ((Lisp_Object dummy)); | 303 | extern Lisp_Object unuse_menu_items (Lisp_Object dummy); |
| 304 | 304 | ||
| 305 | /* This is how to deal with multibyte text if HAVE_MULTILINGUAL_MENU | 305 | /* This is how to deal with multibyte text if HAVE_MULTILINGUAL_MENU |
| 306 | isn't defined. The use of HAVE_MULTILINGUAL_MENU could probably be | 306 | isn't defined. The use of HAVE_MULTILINGUAL_MENU could probably be |
| @@ -366,8 +366,8 @@ typedef struct _widget_value | |||
| 366 | struct _widget_value* next; | 366 | struct _widget_value* next; |
| 367 | } widget_value; | 367 | } widget_value; |
| 368 | 368 | ||
| 369 | extern widget_value *xmalloc_widget_value P_ ((void)); | 369 | extern widget_value *xmalloc_widget_value (void); |
| 370 | extern widget_value *digest_single_submenu P_ ((int, int, int)); | 370 | extern widget_value *digest_single_submenu (int, int, int); |
| 371 | #endif /* HAVE_NS || HAVE_NTGUI */ | 371 | #endif /* HAVE_NS || HAVE_NTGUI */ |
| 372 | 372 | ||
| 373 | 373 | ||
| @@ -430,10 +430,10 @@ extern Lisp_Object Qmode_line, Qvertical_line, Qheader_line; | |||
| 430 | /* Forward declaration for prototypes. */ | 430 | /* Forward declaration for prototypes. */ |
| 431 | struct input_event; | 431 | struct input_event; |
| 432 | 432 | ||
| 433 | extern Lisp_Object parse_modifiers P_ ((Lisp_Object)); | 433 | extern Lisp_Object parse_modifiers (Lisp_Object); |
| 434 | extern Lisp_Object reorder_modifiers P_ ((Lisp_Object)); | 434 | extern Lisp_Object reorder_modifiers (Lisp_Object); |
| 435 | extern Lisp_Object read_char P_ ((int, int, Lisp_Object *, Lisp_Object, | 435 | extern Lisp_Object read_char (int, int, Lisp_Object *, Lisp_Object, |
| 436 | int *, EMACS_TIME *)); | 436 | int *, EMACS_TIME *); |
| 437 | extern int parse_solitary_modifier (Lisp_Object symbol); | 437 | extern int parse_solitary_modifier (Lisp_Object symbol); |
| 438 | 438 | ||
| 439 | 439 | ||
| @@ -445,50 +445,50 @@ extern Lisp_Object Vkey_translation_map; | |||
| 445 | 445 | ||
| 446 | extern int parse_menu_item (Lisp_Object, int); | 446 | extern int parse_menu_item (Lisp_Object, int); |
| 447 | 447 | ||
| 448 | extern void echo_now P_ ((void)); | 448 | extern void echo_now (void); |
| 449 | extern void init_kboard P_ ((KBOARD *)); | 449 | extern void init_kboard (KBOARD *); |
| 450 | extern void delete_kboard P_ ((KBOARD *)); | 450 | extern void delete_kboard (KBOARD *); |
| 451 | extern void not_single_kboard_state P_ ((KBOARD *)); | 451 | extern void not_single_kboard_state (KBOARD *); |
| 452 | extern void push_kboard P_ ((struct kboard *)); | 452 | extern void push_kboard (struct kboard *); |
| 453 | extern void push_frame_kboard P_ ((struct frame *)); | 453 | extern void push_frame_kboard (struct frame *); |
| 454 | extern void pop_kboard P_ ((void)); | 454 | extern void pop_kboard (void); |
| 455 | extern void temporarily_switch_to_single_kboard P_ ((struct frame *)); | 455 | extern void temporarily_switch_to_single_kboard (struct frame *); |
| 456 | extern void record_asynch_buffer_change P_ ((void)); | 456 | extern void record_asynch_buffer_change (void); |
| 457 | extern SIGTYPE input_poll_signal P_ ((int)); | 457 | extern SIGTYPE input_poll_signal (int); |
| 458 | extern void start_polling P_ ((void)); | 458 | extern void start_polling (void); |
| 459 | extern void stop_polling P_ ((void)); | 459 | extern void stop_polling (void); |
| 460 | extern void set_poll_suppress_count P_ ((int)); | 460 | extern void set_poll_suppress_count (int); |
| 461 | extern void gobble_input P_ ((int)); | 461 | extern void gobble_input (int); |
| 462 | extern int input_polling_used P_ ((void)); | 462 | extern int input_polling_used (void); |
| 463 | extern void clear_input_pending P_ ((void)); | 463 | extern void clear_input_pending (void); |
| 464 | extern int requeued_events_pending_p P_ ((void)); | 464 | extern int requeued_events_pending_p (void); |
| 465 | extern void bind_polling_period P_ ((int)); | 465 | extern void bind_polling_period (int); |
| 466 | extern void stuff_buffered_input P_ ((Lisp_Object)); | 466 | extern void stuff_buffered_input (Lisp_Object); |
| 467 | extern void clear_waiting_for_input P_ ((void)); | 467 | extern void clear_waiting_for_input (void); |
| 468 | extern void swallow_events P_ ((int)); | 468 | extern void swallow_events (int); |
| 469 | extern int help_char_p P_ ((Lisp_Object)); | 469 | extern int help_char_p (Lisp_Object); |
| 470 | extern void quit_throw_to_read_char P_ ((void)) NO_RETURN; | 470 | extern void quit_throw_to_read_char (void) NO_RETURN; |
| 471 | extern void cmd_error_internal P_ ((Lisp_Object, char *)); | 471 | extern void cmd_error_internal (Lisp_Object, char *); |
| 472 | extern int lucid_event_type_list_p P_ ((Lisp_Object)); | 472 | extern int lucid_event_type_list_p (Lisp_Object); |
| 473 | extern void kbd_buffer_store_event P_ ((struct input_event *)); | 473 | extern void kbd_buffer_store_event (struct input_event *); |
| 474 | extern void kbd_buffer_store_event_hold P_ ((struct input_event *, | 474 | extern void kbd_buffer_store_event_hold (struct input_event *, |
| 475 | struct input_event *)); | 475 | struct input_event *); |
| 476 | extern void kbd_buffer_unget_event P_ ((struct input_event *)); | 476 | extern void kbd_buffer_unget_event (struct input_event *); |
| 477 | #ifdef POLL_FOR_INPUT | 477 | #ifdef POLL_FOR_INPUT |
| 478 | extern void poll_for_input_1 P_ ((void)); | 478 | extern void poll_for_input_1 (void); |
| 479 | #endif | 479 | #endif |
| 480 | extern void show_help_echo P_ ((Lisp_Object, Lisp_Object, Lisp_Object, | 480 | extern void show_help_echo (Lisp_Object, Lisp_Object, Lisp_Object, |
| 481 | Lisp_Object, int)); | 481 | Lisp_Object, int); |
| 482 | extern void gen_help_event P_ ((Lisp_Object, Lisp_Object, Lisp_Object, | 482 | extern void gen_help_event (Lisp_Object, Lisp_Object, Lisp_Object, |
| 483 | Lisp_Object, int)); | 483 | Lisp_Object, int); |
| 484 | extern void kbd_buffer_store_help_event P_ ((Lisp_Object, Lisp_Object)); | 484 | extern void kbd_buffer_store_help_event (Lisp_Object, Lisp_Object); |
| 485 | extern Lisp_Object menu_item_eval_property P_ ((Lisp_Object)); | 485 | extern Lisp_Object menu_item_eval_property (Lisp_Object); |
| 486 | extern int kbd_buffer_events_waiting P_ ((int)); | 486 | extern int kbd_buffer_events_waiting (int); |
| 487 | extern void add_user_signal P_ ((int, const char *)); | 487 | extern void add_user_signal (int, const char *); |
| 488 | 488 | ||
| 489 | extern int tty_read_avail_input P_ ((struct terminal *, int, | 489 | extern int tty_read_avail_input (struct terminal *, int, |
| 490 | struct input_event *)); | 490 | struct input_event *); |
| 491 | extern EMACS_TIME timer_check P_ ((int)); | 491 | extern EMACS_TIME timer_check (int); |
| 492 | 492 | ||
| 493 | /* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3 | 493 | /* arch-tag: 769cbade-1ba9-4950-b886-db265b061aa3 |
| 494 | (do not change this comment) */ | 494 | (do not change this comment) */ |
diff --git a/src/keymap.h b/src/keymap.h index ed9bf7f192c..024b03dd1c3 100644 --- a/src/keymap.h +++ b/src/keymap.h | |||
| @@ -33,21 +33,21 @@ EXFUN (Fkey_description, 2); | |||
| 33 | EXFUN (Fsingle_key_description, 2); | 33 | EXFUN (Fsingle_key_description, 2); |
| 34 | EXFUN (Fwhere_is_internal, 5); | 34 | EXFUN (Fwhere_is_internal, 5); |
| 35 | EXFUN (Fcurrent_active_maps, 2); | 35 | EXFUN (Fcurrent_active_maps, 2); |
| 36 | extern Lisp_Object access_keymap P_ ((Lisp_Object, Lisp_Object, int, int, int)); | 36 | extern Lisp_Object access_keymap (Lisp_Object, Lisp_Object, int, int, int); |
| 37 | extern Lisp_Object get_keyelt P_ ((Lisp_Object, int)); | 37 | extern Lisp_Object get_keyelt (Lisp_Object, int); |
| 38 | extern Lisp_Object get_keymap P_ ((Lisp_Object, int, int)); | 38 | extern Lisp_Object get_keymap (Lisp_Object, int, int); |
| 39 | EXFUN (Fset_keymap_parent, 2); | 39 | EXFUN (Fset_keymap_parent, 2); |
| 40 | extern void describe_map_tree P_ ((Lisp_Object, int, Lisp_Object, Lisp_Object, | 40 | extern void describe_map_tree (Lisp_Object, int, Lisp_Object, Lisp_Object, |
| 41 | char *, int, int, int, int)); | 41 | char *, int, int, int, int); |
| 42 | extern int current_minor_maps P_ ((Lisp_Object **, Lisp_Object **)); | 42 | extern int current_minor_maps (Lisp_Object **, Lisp_Object **); |
| 43 | extern void initial_define_key P_ ((Lisp_Object, int, char *)); | 43 | extern void initial_define_key (Lisp_Object, int, char *); |
| 44 | extern void initial_define_lispy_key P_ ((Lisp_Object, char *, char *)); | 44 | extern void initial_define_lispy_key (Lisp_Object, char *, char *); |
| 45 | extern void syms_of_keymap P_ ((void)); | 45 | extern void syms_of_keymap (void); |
| 46 | extern void keys_of_keymap P_ ((void)); | 46 | extern void keys_of_keymap (void); |
| 47 | 47 | ||
| 48 | typedef void (*map_keymap_function_t) | 48 | typedef void (*map_keymap_function_t) |
| 49 | P_ ((Lisp_Object key, Lisp_Object val, Lisp_Object args, void* data)); | 49 | (Lisp_Object key, Lisp_Object val, Lisp_Object args, void* data); |
| 50 | extern void map_keymap P_ ((Lisp_Object map, map_keymap_function_t fun, Lisp_Object largs, void* cargs, int autoload)); | 50 | extern void map_keymap (Lisp_Object map, map_keymap_function_t fun, Lisp_Object largs, void* cargs, int autoload); |
| 51 | extern void map_keymap_canonical (Lisp_Object map, | 51 | extern void map_keymap_canonical (Lisp_Object map, |
| 52 | map_keymap_function_t fun, | 52 | map_keymap_function_t fun, |
| 53 | Lisp_Object args, void *data); | 53 | Lisp_Object args, void *data); |
diff --git a/src/lisp.h b/src/lisp.h index 0da668bb87f..f2867a53e64 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -54,7 +54,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 54 | 54 | ||
| 55 | /* Extra internal type checking? */ | 55 | /* Extra internal type checking? */ |
| 56 | extern int suppress_checking; | 56 | extern int suppress_checking; |
| 57 | extern void die P_((const char *, const char *, int)) NO_RETURN; | 57 | extern void die (const char *, const char *, int) NO_RETURN; |
| 58 | 58 | ||
| 59 | #ifdef ENABLE_CHECKING | 59 | #ifdef ENABLE_CHECKING |
| 60 | 60 | ||
| @@ -492,7 +492,7 @@ enum pvec_type | |||
| 492 | #define make_number(N) \ | 492 | #define make_number(N) \ |
| 493 | (__extension__ ({ Lisp_Object _l; _l.s.val = (N); _l.s.type = Lisp_Int; _l; })) | 493 | (__extension__ ({ Lisp_Object _l; _l.s.val = (N); _l.s.type = Lisp_Int; _l; })) |
| 494 | #else | 494 | #else |
| 495 | extern Lisp_Object make_number P_ ((EMACS_INT)); | 495 | extern Lisp_Object make_number (EMACS_INT); |
| 496 | #endif | 496 | #endif |
| 497 | 497 | ||
| 498 | #endif /* USE_LISP_UNION_TYPE */ | 498 | #endif /* USE_LISP_UNION_TYPE */ |
| @@ -746,7 +746,7 @@ struct Lisp_Cons | |||
| 746 | #ifdef GC_CHECK_STRING_BYTES | 746 | #ifdef GC_CHECK_STRING_BYTES |
| 747 | 747 | ||
| 748 | struct Lisp_String; | 748 | struct Lisp_String; |
| 749 | extern int string_bytes P_ ((struct Lisp_String *)); | 749 | extern int string_bytes (struct Lisp_String *); |
| 750 | #define STRING_BYTES(S) string_bytes ((S)) | 750 | #define STRING_BYTES(S) string_bytes ((S)) |
| 751 | 751 | ||
| 752 | #else /* not GC_CHECK_STRING_BYTES */ | 752 | #else /* not GC_CHECK_STRING_BYTES */ |
| @@ -1154,11 +1154,11 @@ struct Lisp_Hash_Table | |||
| 1154 | struct Lisp_Hash_Table *next_weak; | 1154 | struct Lisp_Hash_Table *next_weak; |
| 1155 | 1155 | ||
| 1156 | /* C function to compare two keys. */ | 1156 | /* C function to compare two keys. */ |
| 1157 | int (* cmpfn) P_ ((struct Lisp_Hash_Table *, Lisp_Object, | 1157 | int (* cmpfn) (struct Lisp_Hash_Table *, Lisp_Object, |
| 1158 | unsigned, Lisp_Object, unsigned)); | 1158 | unsigned, Lisp_Object, unsigned); |
| 1159 | 1159 | ||
| 1160 | /* C function to compute hash code. */ | 1160 | /* C function to compute hash code. */ |
| 1161 | unsigned (* hashfn) P_ ((struct Lisp_Hash_Table *, Lisp_Object)); | 1161 | unsigned (* hashfn) (struct Lisp_Hash_Table *, Lisp_Object); |
| 1162 | }; | 1162 | }; |
| 1163 | 1163 | ||
| 1164 | 1164 | ||
| @@ -1801,7 +1801,7 @@ typedef struct { | |||
| 1801 | 1801 | ||
| 1802 | /* defsubr (Sname); | 1802 | /* defsubr (Sname); |
| 1803 | is how we define the symbol for function `name' at start-up time. */ | 1803 | is how we define the symbol for function `name' at start-up time. */ |
| 1804 | extern void defsubr P_ ((struct Lisp_Subr *)); | 1804 | extern void defsubr (struct Lisp_Subr *); |
| 1805 | 1805 | ||
| 1806 | #define MANY -2 | 1806 | #define MANY -2 |
| 1807 | #define UNEVALLED -1 | 1807 | #define UNEVALLED -1 |
| @@ -1867,7 +1867,7 @@ extern void defvar_kboard (struct Lisp_Kboard_Objfwd *, const char *, int); | |||
| 1867 | WHERE being a buffer or frame means we saw a buffer-local or frame-local | 1867 | WHERE being a buffer or frame means we saw a buffer-local or frame-local |
| 1868 | value. Other values of WHERE mean an internal error. */ | 1868 | value. Other values of WHERE mean an internal error. */ |
| 1869 | 1869 | ||
| 1870 | typedef Lisp_Object (*specbinding_func) P_ ((Lisp_Object)); | 1870 | typedef Lisp_Object (*specbinding_func) (Lisp_Object); |
| 1871 | 1871 | ||
| 1872 | struct specbinding | 1872 | struct specbinding |
| 1873 | { | 1873 | { |
| @@ -1967,7 +1967,7 @@ extern char *stack_bottom; | |||
| 1967 | and (in particular) cannot call arbitrary Lisp code. */ | 1967 | and (in particular) cannot call arbitrary Lisp code. */ |
| 1968 | 1968 | ||
| 1969 | #ifdef SYNC_INPUT | 1969 | #ifdef SYNC_INPUT |
| 1970 | extern void process_pending_signals P_ ((void)); | 1970 | extern void process_pending_signals (void); |
| 1971 | extern int pending_signals; | 1971 | extern int pending_signals; |
| 1972 | #define ELSE_PENDING_SIGNALS \ | 1972 | #define ELSE_PENDING_SIGNALS \ |
| 1973 | else if (pending_signals) \ | 1973 | else if (pending_signals) \ |
| @@ -2240,7 +2240,7 @@ while (0) | |||
| 2240 | 2240 | ||
| 2241 | /* Call staticpro (&var) to protect static variable `var'. */ | 2241 | /* Call staticpro (&var) to protect static variable `var'. */ |
| 2242 | 2242 | ||
| 2243 | void staticpro P_ ((Lisp_Object *)); | 2243 | void staticpro (Lisp_Object *); |
| 2244 | 2244 | ||
| 2245 | /* Declare a Lisp-callable function. The MAXARGS parameter has the same | 2245 | /* Declare a Lisp-callable function. The MAXARGS parameter has the same |
| 2246 | meaning as in the DEFUN macro, and is used to construct a prototype. */ | 2246 | meaning as in the DEFUN macro, and is used to construct a prototype. */ |
| @@ -2283,7 +2283,7 @@ extern Lisp_Object Qinteger; | |||
| 2283 | 2283 | ||
| 2284 | extern Lisp_Object Qfont_spec, Qfont_entity, Qfont_object; | 2284 | extern Lisp_Object Qfont_spec, Qfont_entity, Qfont_object; |
| 2285 | 2285 | ||
| 2286 | extern void circular_list_error P_ ((Lisp_Object)) NO_RETURN; | 2286 | extern void circular_list_error (Lisp_Object) NO_RETURN; |
| 2287 | EXFUN (Finteractive_form, 1); | 2287 | EXFUN (Finteractive_form, 1); |
| 2288 | EXFUN (Fbyteorder, 0); | 2288 | EXFUN (Fbyteorder, 0); |
| 2289 | 2289 | ||
| @@ -2326,12 +2326,12 @@ EXFUN (Ffmakunbound, 1); | |||
| 2326 | EXFUN (Fsymbol_function, 1); | 2326 | EXFUN (Fsymbol_function, 1); |
| 2327 | EXFUN (Fsymbol_plist, 1); | 2327 | EXFUN (Fsymbol_plist, 1); |
| 2328 | EXFUN (Fsymbol_name, 1); | 2328 | EXFUN (Fsymbol_name, 1); |
| 2329 | extern Lisp_Object indirect_function P_ ((Lisp_Object)); | 2329 | extern Lisp_Object indirect_function (Lisp_Object); |
| 2330 | EXFUN (Findirect_function, 2); | 2330 | EXFUN (Findirect_function, 2); |
| 2331 | EXFUN (Ffset, 2); | 2331 | EXFUN (Ffset, 2); |
| 2332 | EXFUN (Fsetplist, 2); | 2332 | EXFUN (Fsetplist, 2); |
| 2333 | EXFUN (Fsymbol_value, 1); | 2333 | EXFUN (Fsymbol_value, 1); |
| 2334 | extern Lisp_Object find_symbol_value P_ ((Lisp_Object)); | 2334 | extern Lisp_Object find_symbol_value (Lisp_Object); |
| 2335 | EXFUN (Fset, 2); | 2335 | EXFUN (Fset, 2); |
| 2336 | EXFUN (Fdefault_value, 1); | 2336 | EXFUN (Fdefault_value, 1); |
| 2337 | EXFUN (Fset_default, 2); | 2337 | EXFUN (Fset_default, 2); |
| @@ -2371,25 +2371,25 @@ EXFUN (Fsub1, 1); | |||
| 2371 | EXFUN (Fmake_variable_buffer_local, 1); | 2371 | EXFUN (Fmake_variable_buffer_local, 1); |
| 2372 | 2372 | ||
| 2373 | extern struct Lisp_Symbol *indirect_variable (struct Lisp_Symbol *); | 2373 | extern struct Lisp_Symbol *indirect_variable (struct Lisp_Symbol *); |
| 2374 | extern Lisp_Object long_to_cons P_ ((unsigned long)); | 2374 | extern Lisp_Object long_to_cons (unsigned long); |
| 2375 | extern unsigned long cons_to_long P_ ((Lisp_Object)); | 2375 | extern unsigned long cons_to_long (Lisp_Object); |
| 2376 | extern void args_out_of_range P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; | 2376 | extern void args_out_of_range (Lisp_Object, Lisp_Object) NO_RETURN; |
| 2377 | extern void args_out_of_range_3 P_ ((Lisp_Object, Lisp_Object, | 2377 | extern void args_out_of_range_3 (Lisp_Object, Lisp_Object, |
| 2378 | Lisp_Object)) NO_RETURN; | 2378 | Lisp_Object) NO_RETURN; |
| 2379 | extern Lisp_Object wrong_type_argument P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; | 2379 | extern Lisp_Object wrong_type_argument (Lisp_Object, Lisp_Object) NO_RETURN; |
| 2380 | extern Lisp_Object do_symval_forwarding (union Lisp_Fwd *); | 2380 | extern Lisp_Object do_symval_forwarding (union Lisp_Fwd *); |
| 2381 | extern void set_internal (Lisp_Object, Lisp_Object, Lisp_Object, int); | 2381 | extern void set_internal (Lisp_Object, Lisp_Object, Lisp_Object, int); |
| 2382 | extern void syms_of_data P_ ((void)); | 2382 | extern void syms_of_data (void); |
| 2383 | extern void init_data P_ ((void)); | 2383 | extern void init_data (void); |
| 2384 | extern void swap_in_global_binding P_ ((struct Lisp_Symbol *)); | 2384 | extern void swap_in_global_binding (struct Lisp_Symbol *); |
| 2385 | 2385 | ||
| 2386 | /* Defined in cmds.c */ | 2386 | /* Defined in cmds.c */ |
| 2387 | EXFUN (Fend_of_line, 1); | 2387 | EXFUN (Fend_of_line, 1); |
| 2388 | EXFUN (Fforward_char, 1); | 2388 | EXFUN (Fforward_char, 1); |
| 2389 | EXFUN (Fforward_line, 1); | 2389 | EXFUN (Fforward_line, 1); |
| 2390 | extern int internal_self_insert P_ ((int, int)); | 2390 | extern int internal_self_insert (int, int); |
| 2391 | extern void syms_of_cmds P_ ((void)); | 2391 | extern void syms_of_cmds (void); |
| 2392 | extern void keys_of_cmds P_ ((void)); | 2392 | extern void keys_of_cmds (void); |
| 2393 | 2393 | ||
| 2394 | /* Defined in coding.c */ | 2394 | /* Defined in coding.c */ |
| 2395 | EXFUN (Fcoding_system_p, 1); | 2395 | EXFUN (Fcoding_system_p, 1); |
| @@ -2403,34 +2403,34 @@ EXFUN (Ffind_operation_coding_system, MANY); | |||
| 2403 | EXFUN (Fupdate_coding_systems_internal, 0); | 2403 | EXFUN (Fupdate_coding_systems_internal, 0); |
| 2404 | EXFUN (Fencode_coding_string, 4); | 2404 | EXFUN (Fencode_coding_string, 4); |
| 2405 | EXFUN (Fdecode_coding_string, 4); | 2405 | EXFUN (Fdecode_coding_string, 4); |
| 2406 | extern Lisp_Object detect_coding_system P_ ((const unsigned char *, EMACS_INT, | 2406 | extern Lisp_Object detect_coding_system (const unsigned char *, EMACS_INT, |
| 2407 | EMACS_INT, int, int, Lisp_Object)); | 2407 | EMACS_INT, int, int, Lisp_Object); |
| 2408 | extern void init_coding P_ ((void)); | 2408 | extern void init_coding (void); |
| 2409 | extern void init_coding_once P_ ((void)); | 2409 | extern void init_coding_once (void); |
| 2410 | extern void syms_of_coding P_ ((void)); | 2410 | extern void syms_of_coding (void); |
| 2411 | 2411 | ||
| 2412 | /* Defined in character.c */ | 2412 | /* Defined in character.c */ |
| 2413 | extern void init_character_once P_ ((void)); | 2413 | extern void init_character_once (void); |
| 2414 | extern void syms_of_character P_ ((void)); | 2414 | extern void syms_of_character (void); |
| 2415 | EXFUN (Funibyte_char_to_multibyte, 1); | 2415 | EXFUN (Funibyte_char_to_multibyte, 1); |
| 2416 | 2416 | ||
| 2417 | /* Defined in charset.c */ | 2417 | /* Defined in charset.c */ |
| 2418 | EXFUN (Fchar_bytes, 1); | 2418 | EXFUN (Fchar_bytes, 1); |
| 2419 | EXFUN (Fchar_width, 1); | 2419 | EXFUN (Fchar_width, 1); |
| 2420 | EXFUN (Fstring, MANY); | 2420 | EXFUN (Fstring, MANY); |
| 2421 | extern EMACS_INT chars_in_text P_ ((const unsigned char *, EMACS_INT)); | 2421 | extern EMACS_INT chars_in_text (const unsigned char *, EMACS_INT); |
| 2422 | extern EMACS_INT multibyte_chars_in_text P_ ((const unsigned char *, EMACS_INT)); | 2422 | extern EMACS_INT multibyte_chars_in_text (const unsigned char *, EMACS_INT); |
| 2423 | extern int multibyte_char_to_unibyte P_ ((int, Lisp_Object)); | 2423 | extern int multibyte_char_to_unibyte (int, Lisp_Object); |
| 2424 | extern int multibyte_char_to_unibyte_safe P_ ((int)); | 2424 | extern int multibyte_char_to_unibyte_safe (int); |
| 2425 | extern Lisp_Object Qcharset; | 2425 | extern Lisp_Object Qcharset; |
| 2426 | extern void init_charset P_ ((void)); | 2426 | extern void init_charset (void); |
| 2427 | extern void init_charset_once P_ ((void)); | 2427 | extern void init_charset_once (void); |
| 2428 | extern void syms_of_charset P_ ((void)); | 2428 | extern void syms_of_charset (void); |
| 2429 | /* Structure forward declarations. */ | 2429 | /* Structure forward declarations. */ |
| 2430 | struct charset; | 2430 | struct charset; |
| 2431 | 2431 | ||
| 2432 | /* Defined in composite.c */ | 2432 | /* Defined in composite.c */ |
| 2433 | extern void syms_of_composite P_ ((void)); | 2433 | extern void syms_of_composite (void); |
| 2434 | 2434 | ||
| 2435 | /* Defined in syntax.c */ | 2435 | /* Defined in syntax.c */ |
| 2436 | EXFUN (Fforward_word, 1); | 2436 | EXFUN (Fforward_word, 1); |
| @@ -2439,28 +2439,28 @@ EXFUN (Fskip_chars_backward, 2); | |||
| 2439 | EXFUN (Fsyntax_table_p, 1); | 2439 | EXFUN (Fsyntax_table_p, 1); |
| 2440 | EXFUN (Fsyntax_table, 0); | 2440 | EXFUN (Fsyntax_table, 0); |
| 2441 | EXFUN (Fset_syntax_table, 1); | 2441 | EXFUN (Fset_syntax_table, 1); |
| 2442 | extern void init_syntax_once P_ ((void)); | 2442 | extern void init_syntax_once (void); |
| 2443 | extern void syms_of_syntax P_ ((void)); | 2443 | extern void syms_of_syntax (void); |
| 2444 | 2444 | ||
| 2445 | /* Defined in fns.c */ | 2445 | /* Defined in fns.c */ |
| 2446 | extern int use_dialog_box; | 2446 | extern int use_dialog_box; |
| 2447 | extern int next_almost_prime P_ ((int)); | 2447 | extern int next_almost_prime (int); |
| 2448 | extern Lisp_Object larger_vector P_ ((Lisp_Object, int, Lisp_Object)); | 2448 | extern Lisp_Object larger_vector (Lisp_Object, int, Lisp_Object); |
| 2449 | extern void sweep_weak_hash_tables P_ ((void)); | 2449 | extern void sweep_weak_hash_tables (void); |
| 2450 | extern Lisp_Object Qstring_lessp; | 2450 | extern Lisp_Object Qstring_lessp; |
| 2451 | extern Lisp_Object Vfeatures; | 2451 | extern Lisp_Object Vfeatures; |
| 2452 | extern Lisp_Object QCtest, QCweakness, Qequal, Qeq; | 2452 | extern Lisp_Object QCtest, QCweakness, Qequal, Qeq; |
| 2453 | unsigned sxhash P_ ((Lisp_Object, int)); | 2453 | unsigned sxhash (Lisp_Object, int); |
| 2454 | Lisp_Object make_hash_table P_ ((Lisp_Object, Lisp_Object, Lisp_Object, | 2454 | Lisp_Object make_hash_table (Lisp_Object, Lisp_Object, Lisp_Object, |
| 2455 | Lisp_Object, Lisp_Object, Lisp_Object, | 2455 | Lisp_Object, Lisp_Object, Lisp_Object, |
| 2456 | Lisp_Object)); | 2456 | Lisp_Object); |
| 2457 | Lisp_Object copy_hash_table P_ ((struct Lisp_Hash_Table *)); | 2457 | Lisp_Object copy_hash_table (struct Lisp_Hash_Table *); |
| 2458 | int hash_lookup P_ ((struct Lisp_Hash_Table *, Lisp_Object, unsigned *)); | 2458 | int hash_lookup (struct Lisp_Hash_Table *, Lisp_Object, unsigned *); |
| 2459 | int hash_put P_ ((struct Lisp_Hash_Table *, Lisp_Object, Lisp_Object, | 2459 | int hash_put (struct Lisp_Hash_Table *, Lisp_Object, Lisp_Object, |
| 2460 | unsigned)); | 2460 | unsigned); |
| 2461 | void hash_clear P_ ((struct Lisp_Hash_Table *)); | 2461 | void hash_clear (struct Lisp_Hash_Table *); |
| 2462 | void init_weak_hash_tables P_ ((void)); | 2462 | void init_weak_hash_tables (void); |
| 2463 | extern void init_fns P_ ((void)); | 2463 | extern void init_fns (void); |
| 2464 | EXFUN (Fsxhash, 1); | 2464 | EXFUN (Fsxhash, 1); |
| 2465 | EXFUN (Fmake_hash_table, MANY); | 2465 | EXFUN (Fmake_hash_table, MANY); |
| 2466 | EXFUN (Fmakehash, 1); | 2466 | EXFUN (Fmakehash, 1); |
| @@ -2494,7 +2494,7 @@ EXFUN (Fstring_as_unibyte, 1); | |||
| 2494 | EXFUN (Fstring_to_multibyte, 1); | 2494 | EXFUN (Fstring_to_multibyte, 1); |
| 2495 | EXFUN (Fstring_to_unibyte, 1); | 2495 | EXFUN (Fstring_to_unibyte, 1); |
| 2496 | EXFUN (Fsubstring, 3); | 2496 | EXFUN (Fsubstring, 3); |
| 2497 | extern Lisp_Object substring_both P_ ((Lisp_Object, int, int, int, int)); | 2497 | extern Lisp_Object substring_both (Lisp_Object, int, int, int, int); |
| 2498 | EXFUN (Fnth, 2); | 2498 | EXFUN (Fnth, 2); |
| 2499 | EXFUN (Fnthcdr, 2); | 2499 | EXFUN (Fnthcdr, 2); |
| 2500 | EXFUN (Fmemq, 2); | 2500 | EXFUN (Fmemq, 2); |
| @@ -2516,20 +2516,20 @@ EXFUN (Fnconc, MANY); | |||
| 2516 | EXFUN (Fmapcar, 2); | 2516 | EXFUN (Fmapcar, 2); |
| 2517 | EXFUN (Fmapconcat, 3); | 2517 | EXFUN (Fmapconcat, 3); |
| 2518 | EXFUN (Fy_or_n_p, 1); | 2518 | EXFUN (Fy_or_n_p, 1); |
| 2519 | extern Lisp_Object do_yes_or_no_p P_ ((Lisp_Object)); | 2519 | extern Lisp_Object do_yes_or_no_p (Lisp_Object); |
| 2520 | EXFUN (Frequire, 3); | 2520 | EXFUN (Frequire, 3); |
| 2521 | EXFUN (Fprovide, 2); | 2521 | EXFUN (Fprovide, 2); |
| 2522 | extern Lisp_Object concat2 P_ ((Lisp_Object, Lisp_Object)); | 2522 | extern Lisp_Object concat2 (Lisp_Object, Lisp_Object); |
| 2523 | extern Lisp_Object concat3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 2523 | extern Lisp_Object concat3 (Lisp_Object, Lisp_Object, Lisp_Object); |
| 2524 | extern Lisp_Object nconc2 P_ ((Lisp_Object, Lisp_Object)); | 2524 | extern Lisp_Object nconc2 (Lisp_Object, Lisp_Object); |
| 2525 | extern Lisp_Object assq_no_quit P_ ((Lisp_Object, Lisp_Object)); | 2525 | extern Lisp_Object assq_no_quit (Lisp_Object, Lisp_Object); |
| 2526 | extern Lisp_Object assoc_no_quit P_ ((Lisp_Object, Lisp_Object)); | 2526 | extern Lisp_Object assoc_no_quit (Lisp_Object, Lisp_Object); |
| 2527 | extern void clear_string_char_byte_cache P_ ((void)); | 2527 | extern void clear_string_char_byte_cache (void); |
| 2528 | extern EMACS_INT string_char_to_byte P_ ((Lisp_Object, EMACS_INT)); | 2528 | extern EMACS_INT string_char_to_byte (Lisp_Object, EMACS_INT); |
| 2529 | extern EMACS_INT string_byte_to_char P_ ((Lisp_Object, EMACS_INT)); | 2529 | extern EMACS_INT string_byte_to_char (Lisp_Object, EMACS_INT); |
| 2530 | extern Lisp_Object string_make_multibyte P_ ((Lisp_Object)); | 2530 | extern Lisp_Object string_make_multibyte (Lisp_Object); |
| 2531 | extern Lisp_Object string_to_multibyte P_ ((Lisp_Object)); | 2531 | extern Lisp_Object string_to_multibyte (Lisp_Object); |
| 2532 | extern Lisp_Object string_make_unibyte P_ ((Lisp_Object)); | 2532 | extern Lisp_Object string_make_unibyte (Lisp_Object); |
| 2533 | EXFUN (Fcopy_alist, 1); | 2533 | EXFUN (Fcopy_alist, 1); |
| 2534 | EXFUN (Fplist_get, 2); | 2534 | EXFUN (Fplist_get, 2); |
| 2535 | EXFUN (Fplist_put, 3); | 2535 | EXFUN (Fplist_put, 3); |
| @@ -2538,24 +2538,24 @@ EXFUN (Frassoc, 2); | |||
| 2538 | EXFUN (Fstring_equal, 2); | 2538 | EXFUN (Fstring_equal, 2); |
| 2539 | EXFUN (Fcompare_strings, 7); | 2539 | EXFUN (Fcompare_strings, 7); |
| 2540 | EXFUN (Fstring_lessp, 2); | 2540 | EXFUN (Fstring_lessp, 2); |
| 2541 | extern void syms_of_fns P_ ((void)); | 2541 | extern void syms_of_fns (void); |
| 2542 | 2542 | ||
| 2543 | /* Defined in floatfns.c */ | 2543 | /* Defined in floatfns.c */ |
| 2544 | extern double extract_float P_ ((Lisp_Object)); | 2544 | extern double extract_float (Lisp_Object); |
| 2545 | EXFUN (Ffloat, 1); | 2545 | EXFUN (Ffloat, 1); |
| 2546 | EXFUN (Ftruncate, 2); | 2546 | EXFUN (Ftruncate, 2); |
| 2547 | extern void init_floatfns P_ ((void)); | 2547 | extern void init_floatfns (void); |
| 2548 | extern void syms_of_floatfns P_ ((void)); | 2548 | extern void syms_of_floatfns (void); |
| 2549 | 2549 | ||
| 2550 | /* Defined in fringe.c */ | 2550 | /* Defined in fringe.c */ |
| 2551 | extern void syms_of_fringe P_ ((void)); | 2551 | extern void syms_of_fringe (void); |
| 2552 | extern void init_fringe P_ ((void)); | 2552 | extern void init_fringe (void); |
| 2553 | extern void init_fringe_once P_ ((void)); | 2553 | extern void init_fringe_once (void); |
| 2554 | 2554 | ||
| 2555 | /* Defined in image.c */ | 2555 | /* Defined in image.c */ |
| 2556 | EXFUN (Finit_image_library, 2); | 2556 | EXFUN (Finit_image_library, 2); |
| 2557 | extern void syms_of_image P_ ((void)); | 2557 | extern void syms_of_image (void); |
| 2558 | extern void init_image P_ ((void)); | 2558 | extern void init_image (void); |
| 2559 | 2559 | ||
| 2560 | /* Defined in insdel.c */ | 2560 | /* Defined in insdel.c */ |
| 2561 | extern Lisp_Object Qinhibit_modification_hooks; | 2561 | extern Lisp_Object Qinhibit_modification_hooks; |
| @@ -2617,10 +2617,10 @@ EXFUN (Fredraw_frame, 1); | |||
| 2617 | EXFUN (Fredraw_display, 0); | 2617 | EXFUN (Fredraw_display, 0); |
| 2618 | EXFUN (Fsleep_for, 2); | 2618 | EXFUN (Fsleep_for, 2); |
| 2619 | EXFUN (Fredisplay, 1); | 2619 | EXFUN (Fredisplay, 1); |
| 2620 | extern Lisp_Object sit_for P_ ((Lisp_Object, int, int)); | 2620 | extern Lisp_Object sit_for (Lisp_Object, int, int); |
| 2621 | extern void init_display P_ ((void)); | 2621 | extern void init_display (void); |
| 2622 | extern void syms_of_display P_ ((void)); | 2622 | extern void syms_of_display (void); |
| 2623 | extern void safe_bcopy P_ ((const char *, char *, int)); | 2623 | extern void safe_bcopy (const char *, char *, int); |
| 2624 | 2624 | ||
| 2625 | /* Defined in xdisp.c */ | 2625 | /* Defined in xdisp.c */ |
| 2626 | extern Lisp_Object Qinhibit_point_motion_hooks; | 2626 | extern Lisp_Object Qinhibit_point_motion_hooks; |
| @@ -2631,58 +2631,58 @@ extern Lisp_Object Qimage, Qtext, Qboth, Qboth_horiz; | |||
| 2631 | extern Lisp_Object Vmessage_log_max; | 2631 | extern Lisp_Object Vmessage_log_max; |
| 2632 | extern int message_enable_multibyte; | 2632 | extern int message_enable_multibyte; |
| 2633 | extern Lisp_Object echo_area_buffer[2]; | 2633 | extern Lisp_Object echo_area_buffer[2]; |
| 2634 | extern void check_message_stack P_ ((void)); | 2634 | extern void check_message_stack (void); |
| 2635 | extern void setup_echo_area_for_printing P_ ((int)); | 2635 | extern void setup_echo_area_for_printing (int); |
| 2636 | extern int push_message P_ ((void)); | 2636 | extern int push_message (void); |
| 2637 | extern Lisp_Object pop_message_unwind P_ ((Lisp_Object)); | 2637 | extern Lisp_Object pop_message_unwind (Lisp_Object); |
| 2638 | extern Lisp_Object restore_message_unwind P_ ((Lisp_Object)); | 2638 | extern Lisp_Object restore_message_unwind (Lisp_Object); |
| 2639 | extern void pop_message P_ ((void)); | 2639 | extern void pop_message (void); |
| 2640 | extern void restore_message P_ ((void)); | 2640 | extern void restore_message (void); |
| 2641 | extern Lisp_Object current_message P_ ((void)); | 2641 | extern Lisp_Object current_message (void); |
| 2642 | extern void set_message P_ ((const char *s, Lisp_Object, int, int)); | 2642 | extern void set_message (const char *s, Lisp_Object, int, int); |
| 2643 | extern void clear_message P_ ((int, int)); | 2643 | extern void clear_message (int, int); |
| 2644 | extern void message P_ ((/* char *, ... */)); | 2644 | extern void message (/* char *, ... */); |
| 2645 | extern void message_nolog P_ ((/* char *, ... */)); | 2645 | extern void message_nolog (/* char *, ... */); |
| 2646 | extern void message1 P_ ((char *)); | 2646 | extern void message1 (char *); |
| 2647 | extern void message1_nolog P_ ((char *)); | 2647 | extern void message1_nolog (char *); |
| 2648 | extern void message2 P_ ((const char *, int, int)); | 2648 | extern void message2 (const char *, int, int); |
| 2649 | extern void message2_nolog P_ ((const char *, int, int)); | 2649 | extern void message2_nolog (const char *, int, int); |
| 2650 | extern void message3 P_ ((Lisp_Object, int, int)); | 2650 | extern void message3 (Lisp_Object, int, int); |
| 2651 | extern void message3_nolog P_ ((Lisp_Object, int, int)); | 2651 | extern void message3_nolog (Lisp_Object, int, int); |
| 2652 | extern void message_dolog P_ ((const char *, int, int, int)); | 2652 | extern void message_dolog (const char *, int, int, int); |
| 2653 | extern void message_with_string P_ ((char *, Lisp_Object, int)); | 2653 | extern void message_with_string (char *, Lisp_Object, int); |
| 2654 | extern void message_log_maybe_newline P_ ((void)); | 2654 | extern void message_log_maybe_newline (void); |
| 2655 | extern void update_echo_area P_ ((void)); | 2655 | extern void update_echo_area (void); |
| 2656 | extern void truncate_echo_area P_ ((int)); | 2656 | extern void truncate_echo_area (int); |
| 2657 | extern void redisplay P_ ((void)); | 2657 | extern void redisplay (void); |
| 2658 | extern int check_point_in_composition | 2658 | extern int check_point_in_composition |
| 2659 | P_ ((struct buffer *, int, struct buffer *, int)); | 2659 | (struct buffer *, int, struct buffer *, int); |
| 2660 | extern void redisplay_preserve_echo_area P_ ((int)); | 2660 | extern void redisplay_preserve_echo_area (int); |
| 2661 | extern void prepare_menu_bars P_ ((void)); | 2661 | extern void prepare_menu_bars (void); |
| 2662 | 2662 | ||
| 2663 | void set_frame_cursor_types P_ ((struct frame *, Lisp_Object)); | 2663 | void set_frame_cursor_types (struct frame *, Lisp_Object); |
| 2664 | extern void syms_of_xdisp P_ ((void)); | 2664 | extern void syms_of_xdisp (void); |
| 2665 | extern void init_xdisp P_ ((void)); | 2665 | extern void init_xdisp (void); |
| 2666 | extern Lisp_Object safe_eval P_ ((Lisp_Object)); | 2666 | extern Lisp_Object safe_eval (Lisp_Object); |
| 2667 | extern int pos_visible_p P_ ((struct window *, int, int *, | 2667 | extern int pos_visible_p (struct window *, int, int *, |
| 2668 | int *, int *, int *, int *, int *)); | 2668 | int *, int *, int *, int *, int *); |
| 2669 | 2669 | ||
| 2670 | /* Defined in xsettings.c */ | 2670 | /* Defined in xsettings.c */ |
| 2671 | extern void syms_of_xsettings P_ ((void)); | 2671 | extern void syms_of_xsettings (void); |
| 2672 | 2672 | ||
| 2673 | /* Defined in vm-limit.c. */ | 2673 | /* Defined in vm-limit.c. */ |
| 2674 | extern void memory_warnings P_ ((POINTER_TYPE *, void (*warnfun) ())); | 2674 | extern void memory_warnings (POINTER_TYPE *, void (*warnfun) ()); |
| 2675 | 2675 | ||
| 2676 | /* Defined in alloc.c */ | 2676 | /* Defined in alloc.c */ |
| 2677 | extern void check_pure_size P_ ((void)); | 2677 | extern void check_pure_size (void); |
| 2678 | extern void allocate_string_data P_ ((struct Lisp_String *, int, int)); | 2678 | extern void allocate_string_data (struct Lisp_String *, int, int); |
| 2679 | extern void reset_malloc_hooks P_ ((void)); | 2679 | extern void reset_malloc_hooks (void); |
| 2680 | extern void uninterrupt_malloc P_ ((void)); | 2680 | extern void uninterrupt_malloc (void); |
| 2681 | extern void malloc_warning P_ ((char *)); | 2681 | extern void malloc_warning (char *); |
| 2682 | extern void memory_full P_ ((void)) NO_RETURN; | 2682 | extern void memory_full (void) NO_RETURN; |
| 2683 | extern void buffer_memory_full P_ ((void)) NO_RETURN; | 2683 | extern void buffer_memory_full (void) NO_RETURN; |
| 2684 | extern int survives_gc_p P_ ((Lisp_Object)); | 2684 | extern int survives_gc_p (Lisp_Object); |
| 2685 | extern void mark_object P_ ((Lisp_Object)); | 2685 | extern void mark_object (Lisp_Object); |
| 2686 | extern Lisp_Object Vpurify_flag; | 2686 | extern Lisp_Object Vpurify_flag; |
| 2687 | extern Lisp_Object Vmemory_full; | 2687 | extern Lisp_Object Vmemory_full; |
| 2688 | EXFUN (Fcons, 2); | 2688 | EXFUN (Fcons, 2); |
| @@ -2693,55 +2693,55 @@ EXFUN (list4, 4); | |||
| 2693 | EXFUN (list5, 5); | 2693 | EXFUN (list5, 5); |
| 2694 | EXFUN (Flist, MANY); | 2694 | EXFUN (Flist, MANY); |
| 2695 | EXFUN (Fmake_list, 2); | 2695 | EXFUN (Fmake_list, 2); |
| 2696 | extern Lisp_Object allocate_misc P_ ((void)); | 2696 | extern Lisp_Object allocate_misc (void); |
| 2697 | EXFUN (Fmake_vector, 2); | 2697 | EXFUN (Fmake_vector, 2); |
| 2698 | EXFUN (Fvector, MANY); | 2698 | EXFUN (Fvector, MANY); |
| 2699 | EXFUN (Fmake_symbol, 1); | 2699 | EXFUN (Fmake_symbol, 1); |
| 2700 | EXFUN (Fmake_marker, 0); | 2700 | EXFUN (Fmake_marker, 0); |
| 2701 | EXFUN (Fmake_string, 2); | 2701 | EXFUN (Fmake_string, 2); |
| 2702 | extern Lisp_Object build_string P_ ((const char *)); | 2702 | extern Lisp_Object build_string (const char *); |
| 2703 | extern Lisp_Object make_string P_ ((const char *, int)); | 2703 | extern Lisp_Object make_string (const char *, int); |
| 2704 | extern Lisp_Object make_unibyte_string P_ ((const char *, int)); | 2704 | extern Lisp_Object make_unibyte_string (const char *, int); |
| 2705 | extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); | 2705 | extern Lisp_Object make_multibyte_string (const char *, int, int); |
| 2706 | extern Lisp_Object make_event_array P_ ((int, Lisp_Object *)); | 2706 | extern Lisp_Object make_event_array (int, Lisp_Object *); |
| 2707 | extern Lisp_Object make_uninit_string P_ ((int)); | 2707 | extern Lisp_Object make_uninit_string (int); |
| 2708 | extern Lisp_Object make_uninit_multibyte_string P_ ((int, int)); | 2708 | extern Lisp_Object make_uninit_multibyte_string (int, int); |
| 2709 | extern Lisp_Object make_string_from_bytes P_ ((const char *, int, int)); | 2709 | extern Lisp_Object make_string_from_bytes (const char *, int, int); |
| 2710 | extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); | 2710 | extern Lisp_Object make_specified_string (const char *, int, int, int); |
| 2711 | EXFUN (Fpurecopy, 1); | 2711 | EXFUN (Fpurecopy, 1); |
| 2712 | extern Lisp_Object make_pure_string P_ ((const char *, int, int, int)); | 2712 | extern Lisp_Object make_pure_string (const char *, int, int, int); |
| 2713 | extern Lisp_Object make_pure_c_string (const char *data); | 2713 | extern Lisp_Object make_pure_c_string (const char *data); |
| 2714 | extern Lisp_Object pure_cons P_ ((Lisp_Object, Lisp_Object)); | 2714 | extern Lisp_Object pure_cons (Lisp_Object, Lisp_Object); |
| 2715 | extern Lisp_Object make_pure_vector P_ ((EMACS_INT)); | 2715 | extern Lisp_Object make_pure_vector (EMACS_INT); |
| 2716 | EXFUN (Fgarbage_collect, 0); | 2716 | EXFUN (Fgarbage_collect, 0); |
| 2717 | EXFUN (Fmake_byte_code, MANY); | 2717 | EXFUN (Fmake_byte_code, MANY); |
| 2718 | EXFUN (Fmake_bool_vector, 2); | 2718 | EXFUN (Fmake_bool_vector, 2); |
| 2719 | extern Lisp_Object Qchar_table_extra_slots; | 2719 | extern Lisp_Object Qchar_table_extra_slots; |
| 2720 | extern struct Lisp_Vector *allocate_vector P_ ((EMACS_INT)); | 2720 | extern struct Lisp_Vector *allocate_vector (EMACS_INT); |
| 2721 | extern struct Lisp_Vector *allocate_pseudovector P_ ((int memlen, int lisplen, EMACS_INT tag)); | 2721 | extern struct Lisp_Vector *allocate_pseudovector (int memlen, int lisplen, EMACS_INT tag); |
| 2722 | #define ALLOCATE_PSEUDOVECTOR(typ,field,tag) \ | 2722 | #define ALLOCATE_PSEUDOVECTOR(typ,field,tag) \ |
| 2723 | ((typ*) \ | 2723 | ((typ*) \ |
| 2724 | allocate_pseudovector \ | 2724 | allocate_pseudovector \ |
| 2725 | (VECSIZE (typ), PSEUDOVECSIZE (typ, field), tag)) | 2725 | (VECSIZE (typ), PSEUDOVECSIZE (typ, field), tag)) |
| 2726 | extern struct Lisp_Hash_Table *allocate_hash_table P_ ((void)); | 2726 | extern struct Lisp_Hash_Table *allocate_hash_table (void); |
| 2727 | extern struct window *allocate_window P_ ((void)); | 2727 | extern struct window *allocate_window (void); |
| 2728 | extern struct frame *allocate_frame P_ ((void)); | 2728 | extern struct frame *allocate_frame (void); |
| 2729 | extern struct Lisp_Process *allocate_process P_ ((void)); | 2729 | extern struct Lisp_Process *allocate_process (void); |
| 2730 | extern struct terminal *allocate_terminal P_ ((void)); | 2730 | extern struct terminal *allocate_terminal (void); |
| 2731 | extern int gc_in_progress; | 2731 | extern int gc_in_progress; |
| 2732 | extern int abort_on_gc; | 2732 | extern int abort_on_gc; |
| 2733 | extern Lisp_Object make_float P_ ((double)); | 2733 | extern Lisp_Object make_float (double); |
| 2734 | extern void display_malloc_warning P_ ((void)); | 2734 | extern void display_malloc_warning (void); |
| 2735 | extern int inhibit_garbage_collection P_ ((void)); | 2735 | extern int inhibit_garbage_collection (void); |
| 2736 | extern Lisp_Object make_save_value P_ ((void *, int)); | 2736 | extern Lisp_Object make_save_value (void *, int); |
| 2737 | extern void free_misc P_ ((Lisp_Object)); | 2737 | extern void free_misc (Lisp_Object); |
| 2738 | extern void free_marker P_ ((Lisp_Object)); | 2738 | extern void free_marker (Lisp_Object); |
| 2739 | extern void free_cons P_ ((struct Lisp_Cons *)); | 2739 | extern void free_cons (struct Lisp_Cons *); |
| 2740 | extern void init_alloc_once P_ ((void)); | 2740 | extern void init_alloc_once (void); |
| 2741 | extern void init_alloc P_ ((void)); | 2741 | extern void init_alloc (void); |
| 2742 | extern void syms_of_alloc P_ ((void)); | 2742 | extern void syms_of_alloc (void); |
| 2743 | extern struct buffer * allocate_buffer P_ ((void)); | 2743 | extern struct buffer * allocate_buffer (void); |
| 2744 | extern int valid_lisp_object_p P_ ((Lisp_Object)); | 2744 | extern int valid_lisp_object_p (Lisp_Object); |
| 2745 | 2745 | ||
| 2746 | /* Defined in chartab.c */ | 2746 | /* Defined in chartab.c */ |
| 2747 | EXFUN (Fmake_char_table, 2); | 2747 | EXFUN (Fmake_char_table, 2); |
| @@ -2754,23 +2754,23 @@ EXFUN (Fset_char_table_range, 3); | |||
| 2754 | EXFUN (Fset_char_table_default, 3); | 2754 | EXFUN (Fset_char_table_default, 3); |
| 2755 | EXFUN (Foptimize_char_table, 2); | 2755 | EXFUN (Foptimize_char_table, 2); |
| 2756 | EXFUN (Fmap_char_table, 2); | 2756 | EXFUN (Fmap_char_table, 2); |
| 2757 | extern Lisp_Object copy_char_table P_ ((Lisp_Object)); | 2757 | extern Lisp_Object copy_char_table (Lisp_Object); |
| 2758 | extern Lisp_Object sub_char_table_ref P_ ((Lisp_Object, int)); | 2758 | extern Lisp_Object sub_char_table_ref (Lisp_Object, int); |
| 2759 | extern Lisp_Object char_table_ref P_ ((Lisp_Object, int)); | 2759 | extern Lisp_Object char_table_ref (Lisp_Object, int); |
| 2760 | extern Lisp_Object char_table_ref_and_range P_ ((Lisp_Object, int, | 2760 | extern Lisp_Object char_table_ref_and_range (Lisp_Object, int, |
| 2761 | int *, int *)); | 2761 | int *, int *); |
| 2762 | extern Lisp_Object char_table_set P_ ((Lisp_Object, int, Lisp_Object)); | 2762 | extern Lisp_Object char_table_set (Lisp_Object, int, Lisp_Object); |
| 2763 | extern Lisp_Object char_table_set_range P_ ((Lisp_Object, int, int, | 2763 | extern Lisp_Object char_table_set_range (Lisp_Object, int, int, |
| 2764 | Lisp_Object)); | 2764 | Lisp_Object); |
| 2765 | extern int char_table_translate P_ ((Lisp_Object, int)); | 2765 | extern int char_table_translate (Lisp_Object, int); |
| 2766 | extern void map_char_table P_ ((void (*) (Lisp_Object, Lisp_Object, | 2766 | extern void map_char_table (void (*) (Lisp_Object, Lisp_Object, |
| 2767 | Lisp_Object), | 2767 | Lisp_Object), |
| 2768 | Lisp_Object, Lisp_Object, Lisp_Object)); | 2768 | Lisp_Object, Lisp_Object, Lisp_Object); |
| 2769 | extern void syms_of_chartab P_ ((void)); | 2769 | extern void syms_of_chartab (void); |
| 2770 | 2770 | ||
| 2771 | /* Defined in print.c */ | 2771 | /* Defined in print.c */ |
| 2772 | extern Lisp_Object Vprin1_to_string_buffer; | 2772 | extern Lisp_Object Vprin1_to_string_buffer; |
| 2773 | extern void debug_print P_ ((Lisp_Object)); | 2773 | extern void debug_print (Lisp_Object); |
| 2774 | EXFUN (Fprin1, 2); | 2774 | EXFUN (Fprin1, 2); |
| 2775 | EXFUN (Fprin1_to_string, 2); | 2775 | EXFUN (Fprin1_to_string, 2); |
| 2776 | EXFUN (Fprinc, 2); | 2776 | EXFUN (Fprinc, 2); |
| @@ -2779,19 +2779,19 @@ EXFUN (Fprint, 2); | |||
| 2779 | EXFUN (Ferror_message_string, 1); | 2779 | EXFUN (Ferror_message_string, 1); |
| 2780 | extern Lisp_Object Vstandard_output, Qstandard_output; | 2780 | extern Lisp_Object Vstandard_output, Qstandard_output; |
| 2781 | extern Lisp_Object Qexternal_debugging_output; | 2781 | extern Lisp_Object Qexternal_debugging_output; |
| 2782 | extern void temp_output_buffer_setup P_ ((const char *)); | 2782 | extern void temp_output_buffer_setup (const char *); |
| 2783 | extern int print_level, print_escape_newlines; | 2783 | extern int print_level, print_escape_newlines; |
| 2784 | extern Lisp_Object Qprint_escape_newlines; | 2784 | extern Lisp_Object Qprint_escape_newlines; |
| 2785 | extern void write_string P_ ((char *, int)); | 2785 | extern void write_string (char *, int); |
| 2786 | extern void write_string_1 P_ ((char *, int, Lisp_Object)); | 2786 | extern void write_string_1 (char *, int, Lisp_Object); |
| 2787 | extern void print_error_message P_ ((Lisp_Object, Lisp_Object, char *, Lisp_Object)); | 2787 | extern void print_error_message (Lisp_Object, Lisp_Object, char *, Lisp_Object); |
| 2788 | extern Lisp_Object internal_with_output_to_temp_buffer | 2788 | extern Lisp_Object internal_with_output_to_temp_buffer |
| 2789 | P_ ((const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object)); | 2789 | (const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object); |
| 2790 | extern void float_to_string P_ ((unsigned char *, double)); | 2790 | extern void float_to_string (unsigned char *, double); |
| 2791 | extern void syms_of_print P_ ((void)); | 2791 | extern void syms_of_print (void); |
| 2792 | 2792 | ||
| 2793 | /* Defined in doprnt.c */ | 2793 | /* Defined in doprnt.c */ |
| 2794 | extern int doprnt P_ ((char *, int, char *, char *, int, char **)); | 2794 | extern int doprnt (char *, int, char *, char *, int, char **); |
| 2795 | 2795 | ||
| 2796 | /* Defined in lread.c */ | 2796 | /* Defined in lread.c */ |
| 2797 | extern Lisp_Object Qvariable_documentation, Qstandard_input; | 2797 | extern Lisp_Object Qvariable_documentation, Qstandard_input; |
| @@ -2805,29 +2805,29 @@ EXFUN (Fget_load_suffixes, 0); | |||
| 2805 | EXFUN (Fget_file_char, 0); | 2805 | EXFUN (Fget_file_char, 0); |
| 2806 | EXFUN (Fread_char, 3); | 2806 | EXFUN (Fread_char, 3); |
| 2807 | EXFUN (Fread_event, 3); | 2807 | EXFUN (Fread_event, 3); |
| 2808 | extern Lisp_Object read_filtered_event P_ ((int, int, int, int, Lisp_Object)); | 2808 | extern Lisp_Object read_filtered_event (int, int, int, int, Lisp_Object); |
| 2809 | EXFUN (Feval_region, 4); | 2809 | EXFUN (Feval_region, 4); |
| 2810 | extern Lisp_Object check_obarray P_ ((Lisp_Object)); | 2810 | extern Lisp_Object check_obarray (Lisp_Object); |
| 2811 | extern Lisp_Object intern P_ ((const char *)); | 2811 | extern Lisp_Object intern (const char *); |
| 2812 | extern Lisp_Object intern_c_string (const char *); | 2812 | extern Lisp_Object intern_c_string (const char *); |
| 2813 | extern Lisp_Object make_symbol P_ ((char *)); | 2813 | extern Lisp_Object make_symbol (char *); |
| 2814 | extern Lisp_Object oblookup P_ ((Lisp_Object, const char *, int, int)); | 2814 | extern Lisp_Object oblookup (Lisp_Object, const char *, int, int); |
| 2815 | #define LOADHIST_ATTACH(x) \ | 2815 | #define LOADHIST_ATTACH(x) \ |
| 2816 | do { \ | 2816 | do { \ |
| 2817 | if (initialized) Vcurrent_load_list = Fcons (x, Vcurrent_load_list); \ | 2817 | if (initialized) Vcurrent_load_list = Fcons (x, Vcurrent_load_list); \ |
| 2818 | } while (0) | 2818 | } while (0) |
| 2819 | extern Lisp_Object Vcurrent_load_list; | 2819 | extern Lisp_Object Vcurrent_load_list; |
| 2820 | extern Lisp_Object Vload_history, Vload_suffixes, Vload_file_rep_suffixes; | 2820 | extern Lisp_Object Vload_history, Vload_suffixes, Vload_file_rep_suffixes; |
| 2821 | extern int openp P_ ((Lisp_Object, Lisp_Object, Lisp_Object, | 2821 | extern int openp (Lisp_Object, Lisp_Object, Lisp_Object, |
| 2822 | Lisp_Object *, Lisp_Object)); | 2822 | Lisp_Object *, Lisp_Object); |
| 2823 | extern int isfloat_string P_ ((char *, int)); | 2823 | extern int isfloat_string (char *, int); |
| 2824 | extern void map_obarray P_ ((Lisp_Object, void (*) (Lisp_Object, Lisp_Object), | 2824 | extern void map_obarray (Lisp_Object, void (*) (Lisp_Object, Lisp_Object), |
| 2825 | Lisp_Object)); | 2825 | Lisp_Object); |
| 2826 | extern void dir_warning P_ ((char *, Lisp_Object)); | 2826 | extern void dir_warning (char *, Lisp_Object); |
| 2827 | extern void close_load_descs P_ ((void)); | 2827 | extern void close_load_descs (void); |
| 2828 | extern void init_obarray P_ ((void)); | 2828 | extern void init_obarray (void); |
| 2829 | extern void init_lread P_ ((void)); | 2829 | extern void init_lread (void); |
| 2830 | extern void syms_of_lread P_ ((void)); | 2830 | extern void syms_of_lread (void); |
| 2831 | 2831 | ||
| 2832 | /* Defined in eval.c */ | 2832 | /* Defined in eval.c */ |
| 2833 | extern Lisp_Object Qautoload, Qexit, Qinteractive, Qcommandp, Qdefun, Qmacro; | 2833 | extern Lisp_Object Qautoload, Qexit, Qinteractive, Qcommandp, Qdefun, Qmacro; |
| @@ -2836,7 +2836,7 @@ extern Lisp_Object Vautoload_queue; | |||
| 2836 | extern Lisp_Object Vdebug_on_error; | 2836 | extern Lisp_Object Vdebug_on_error; |
| 2837 | extern Lisp_Object Vsignaling_function; | 2837 | extern Lisp_Object Vsignaling_function; |
| 2838 | extern int handling_signal; | 2838 | extern int handling_signal; |
| 2839 | extern int interactive_p P_ ((int)); | 2839 | extern int interactive_p (int); |
| 2840 | 2840 | ||
| 2841 | /* To run a normal hook, use the appropriate function from the list below. | 2841 | /* To run a normal hook, use the appropriate function from the list below. |
| 2842 | The calling convention: | 2842 | The calling convention: |
| @@ -2850,8 +2850,8 @@ EXFUN (Frun_hooks, MANY); | |||
| 2850 | EXFUN (Frun_hook_with_args, MANY); | 2850 | EXFUN (Frun_hook_with_args, MANY); |
| 2851 | EXFUN (Frun_hook_with_args_until_success, MANY); | 2851 | EXFUN (Frun_hook_with_args_until_success, MANY); |
| 2852 | EXFUN (Frun_hook_with_args_until_failure, MANY); | 2852 | EXFUN (Frun_hook_with_args_until_failure, MANY); |
| 2853 | extern Lisp_Object run_hook_list_with_args P_ ((Lisp_Object, int, Lisp_Object *)); | 2853 | extern Lisp_Object run_hook_list_with_args (Lisp_Object, int, Lisp_Object *); |
| 2854 | extern void run_hook_with_args_2 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 2854 | extern void run_hook_with_args_2 (Lisp_Object, Lisp_Object, Lisp_Object); |
| 2855 | EXFUN (Fand, UNEVALLED); | 2855 | EXFUN (Fand, UNEVALLED); |
| 2856 | EXFUN (For, UNEVALLED); | 2856 | EXFUN (For, UNEVALLED); |
| 2857 | EXFUN (Fif, UNEVALLED); | 2857 | EXFUN (Fif, UNEVALLED); |
| @@ -2871,48 +2871,48 @@ EXFUN (Fthrow, 2) NO_RETURN; | |||
| 2871 | EXFUN (Funwind_protect, UNEVALLED); | 2871 | EXFUN (Funwind_protect, UNEVALLED); |
| 2872 | EXFUN (Fcondition_case, UNEVALLED); | 2872 | EXFUN (Fcondition_case, UNEVALLED); |
| 2873 | EXFUN (Fsignal, 2); | 2873 | EXFUN (Fsignal, 2); |
| 2874 | extern void xsignal P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; | 2874 | extern void xsignal (Lisp_Object, Lisp_Object) NO_RETURN; |
| 2875 | extern void xsignal0 P_ ((Lisp_Object)) NO_RETURN; | 2875 | extern void xsignal0 (Lisp_Object) NO_RETURN; |
| 2876 | extern void xsignal1 P_ ((Lisp_Object, Lisp_Object)) NO_RETURN; | 2876 | extern void xsignal1 (Lisp_Object, Lisp_Object) NO_RETURN; |
| 2877 | extern void xsignal2 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)) NO_RETURN; | 2877 | extern void xsignal2 (Lisp_Object, Lisp_Object, Lisp_Object) NO_RETURN; |
| 2878 | extern void xsignal3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)) NO_RETURN; | 2878 | extern void xsignal3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object) NO_RETURN; |
| 2879 | extern void signal_error P_ ((char *, Lisp_Object)) NO_RETURN; | 2879 | extern void signal_error (char *, Lisp_Object) NO_RETURN; |
| 2880 | EXFUN (Fautoload, 5); | 2880 | EXFUN (Fautoload, 5); |
| 2881 | EXFUN (Fcommandp, 2); | 2881 | EXFUN (Fcommandp, 2); |
| 2882 | EXFUN (Feval, 1); | 2882 | EXFUN (Feval, 1); |
| 2883 | EXFUN (Fapply, MANY); | 2883 | EXFUN (Fapply, MANY); |
| 2884 | EXFUN (Ffuncall, MANY); | 2884 | EXFUN (Ffuncall, MANY); |
| 2885 | EXFUN (Fbacktrace, 0); | 2885 | EXFUN (Fbacktrace, 0); |
| 2886 | extern Lisp_Object apply1 P_ ((Lisp_Object, Lisp_Object)); | 2886 | extern Lisp_Object apply1 (Lisp_Object, Lisp_Object); |
| 2887 | extern Lisp_Object call0 P_ ((Lisp_Object)); | 2887 | extern Lisp_Object call0 (Lisp_Object); |
| 2888 | extern Lisp_Object call1 P_ ((Lisp_Object, Lisp_Object)); | 2888 | extern Lisp_Object call1 (Lisp_Object, Lisp_Object); |
| 2889 | extern Lisp_Object call2 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 2889 | extern Lisp_Object call2 (Lisp_Object, Lisp_Object, Lisp_Object); |
| 2890 | extern Lisp_Object call3 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); | 2890 | extern Lisp_Object call3 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object); |
| 2891 | extern Lisp_Object call4 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); | 2891 | extern Lisp_Object call4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object); |
| 2892 | extern Lisp_Object call5 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); | 2892 | extern Lisp_Object call5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object); |
| 2893 | extern Lisp_Object call6 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); | 2893 | extern Lisp_Object call6 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object); |
| 2894 | extern Lisp_Object call7 P_ ((Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object)); | 2894 | extern Lisp_Object call7 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object); |
| 2895 | EXFUN (Fdo_auto_save, 2); | 2895 | EXFUN (Fdo_auto_save, 2); |
| 2896 | extern Lisp_Object apply_lambda P_ ((Lisp_Object, Lisp_Object, int)); | 2896 | extern Lisp_Object apply_lambda (Lisp_Object, Lisp_Object, int); |
| 2897 | extern Lisp_Object internal_catch P_ ((Lisp_Object, Lisp_Object (*) (Lisp_Object), Lisp_Object)); | 2897 | extern Lisp_Object internal_catch (Lisp_Object, Lisp_Object (*) (Lisp_Object), Lisp_Object); |
| 2898 | extern Lisp_Object internal_lisp_condition_case P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 2898 | extern Lisp_Object internal_lisp_condition_case (Lisp_Object, Lisp_Object, Lisp_Object); |
| 2899 | extern Lisp_Object internal_condition_case P_ ((Lisp_Object (*) (void), Lisp_Object, Lisp_Object (*) (Lisp_Object))); | 2899 | extern Lisp_Object internal_condition_case (Lisp_Object (*) (void), Lisp_Object, Lisp_Object (*) (Lisp_Object)); |
| 2900 | extern Lisp_Object internal_condition_case_1 P_ ((Lisp_Object (*) (Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object))); | 2900 | extern Lisp_Object internal_condition_case_1 (Lisp_Object (*) (Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object)); |
| 2901 | extern Lisp_Object internal_condition_case_2 P_ ((Lisp_Object (*) (Lisp_Object, Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object))); | 2901 | extern Lisp_Object internal_condition_case_2 (Lisp_Object (*) (Lisp_Object, Lisp_Object), Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object (*) (Lisp_Object)); |
| 2902 | extern Lisp_Object internal_condition_case_n P_ ((Lisp_Object (*) (int, Lisp_Object *), int, Lisp_Object *, Lisp_Object, Lisp_Object (*) (Lisp_Object))); | 2902 | extern Lisp_Object internal_condition_case_n (Lisp_Object (*) (int, Lisp_Object *), int, Lisp_Object *, Lisp_Object, Lisp_Object (*) (Lisp_Object)); |
| 2903 | extern void specbind P_ ((Lisp_Object, Lisp_Object)); | 2903 | extern void specbind (Lisp_Object, Lisp_Object); |
| 2904 | extern void record_unwind_protect P_ ((Lisp_Object (*) (Lisp_Object), Lisp_Object)); | 2904 | extern void record_unwind_protect (Lisp_Object (*) (Lisp_Object), Lisp_Object); |
| 2905 | extern Lisp_Object unbind_to P_ ((int, Lisp_Object)); | 2905 | extern Lisp_Object unbind_to (int, Lisp_Object); |
| 2906 | extern void error P_ ((/* char *, ... */)) NO_RETURN; | 2906 | extern void error (/* char *, ... */) NO_RETURN; |
| 2907 | extern void do_autoload P_ ((Lisp_Object, Lisp_Object)); | 2907 | extern void do_autoload (Lisp_Object, Lisp_Object); |
| 2908 | extern Lisp_Object un_autoload P_ ((Lisp_Object)); | 2908 | extern Lisp_Object un_autoload (Lisp_Object); |
| 2909 | EXFUN (Ffetch_bytecode, 1); | 2909 | EXFUN (Ffetch_bytecode, 1); |
| 2910 | extern void init_eval_once P_ ((void)); | 2910 | extern void init_eval_once (void); |
| 2911 | extern Lisp_Object safe_call P_ ((int, Lisp_Object *)); | 2911 | extern Lisp_Object safe_call (int, Lisp_Object *); |
| 2912 | extern Lisp_Object safe_call1 P_ ((Lisp_Object, Lisp_Object)); | 2912 | extern Lisp_Object safe_call1 (Lisp_Object, Lisp_Object); |
| 2913 | extern Lisp_Object safe_call2 (Lisp_Object, Lisp_Object, Lisp_Object); | 2913 | extern Lisp_Object safe_call2 (Lisp_Object, Lisp_Object, Lisp_Object); |
| 2914 | extern void init_eval P_ ((void)); | 2914 | extern void init_eval (void); |
| 2915 | extern void syms_of_eval P_ ((void)); | 2915 | extern void syms_of_eval (void); |
| 2916 | 2916 | ||
| 2917 | /* Defined in editfns.c */ | 2917 | /* Defined in editfns.c */ |
| 2918 | EXFUN (Fpropertize, MANY); | 2918 | EXFUN (Fpropertize, MANY); |
| @@ -2935,20 +2935,20 @@ EXFUN (Finsert_and_inherit, MANY); | |||
| 2935 | EXFUN (Finsert_before_markers, MANY); | 2935 | EXFUN (Finsert_before_markers, MANY); |
| 2936 | EXFUN (Finsert_buffer_substring, 3); | 2936 | EXFUN (Finsert_buffer_substring, 3); |
| 2937 | EXFUN (Finsert_char, 3); | 2937 | EXFUN (Finsert_char, 3); |
| 2938 | extern void insert1 P_ ((Lisp_Object)); | 2938 | extern void insert1 (Lisp_Object); |
| 2939 | EXFUN (Feolp, 0); | 2939 | EXFUN (Feolp, 0); |
| 2940 | EXFUN (Feobp, 0); | 2940 | EXFUN (Feobp, 0); |
| 2941 | EXFUN (Fbolp, 0); | 2941 | EXFUN (Fbolp, 0); |
| 2942 | EXFUN (Fbobp, 0); | 2942 | EXFUN (Fbobp, 0); |
| 2943 | EXFUN (Fformat, MANY); | 2943 | EXFUN (Fformat, MANY); |
| 2944 | EXFUN (Fmessage, MANY); | 2944 | EXFUN (Fmessage, MANY); |
| 2945 | extern Lisp_Object format2 P_ ((char *, Lisp_Object, Lisp_Object)); | 2945 | extern Lisp_Object format2 (char *, Lisp_Object, Lisp_Object); |
| 2946 | EXFUN (Fbuffer_substring, 2); | 2946 | EXFUN (Fbuffer_substring, 2); |
| 2947 | EXFUN (Fbuffer_string, 0); | 2947 | EXFUN (Fbuffer_string, 0); |
| 2948 | extern Lisp_Object save_excursion_save P_ ((void)); | 2948 | extern Lisp_Object save_excursion_save (void); |
| 2949 | extern Lisp_Object save_restriction_save P_ ((void)); | 2949 | extern Lisp_Object save_restriction_save (void); |
| 2950 | extern Lisp_Object save_excursion_restore P_ ((Lisp_Object)); | 2950 | extern Lisp_Object save_excursion_restore (Lisp_Object); |
| 2951 | extern Lisp_Object save_restriction_restore P_ ((Lisp_Object)); | 2951 | extern Lisp_Object save_restriction_restore (Lisp_Object); |
| 2952 | EXFUN (Fchar_to_string, 1); | 2952 | EXFUN (Fchar_to_string, 1); |
| 2953 | EXFUN (Fdelete_region, 2); | 2953 | EXFUN (Fdelete_region, 2); |
| 2954 | EXFUN (Fnarrow_to_region, 2); | 2954 | EXFUN (Fnarrow_to_region, 2); |
| @@ -2956,11 +2956,11 @@ EXFUN (Fwiden, 0); | |||
| 2956 | EXFUN (Fuser_login_name, 1); | 2956 | EXFUN (Fuser_login_name, 1); |
| 2957 | EXFUN (Fsystem_name, 0); | 2957 | EXFUN (Fsystem_name, 0); |
| 2958 | EXFUN (Fcurrent_time, 0); | 2958 | EXFUN (Fcurrent_time, 0); |
| 2959 | extern int clip_to_bounds P_ ((int, int, int)); | 2959 | extern int clip_to_bounds (int, int, int); |
| 2960 | extern Lisp_Object make_buffer_string P_ ((int, int, int)); | 2960 | extern Lisp_Object make_buffer_string (int, int, int); |
| 2961 | extern Lisp_Object make_buffer_string_both P_ ((int, int, int, int, int)); | 2961 | extern Lisp_Object make_buffer_string_both (int, int, int, int, int); |
| 2962 | extern void init_editfns P_ ((void)); | 2962 | extern void init_editfns (void); |
| 2963 | extern void syms_of_editfns P_ ((void)); | 2963 | extern void syms_of_editfns (void); |
| 2964 | extern Lisp_Object Vinhibit_field_text_motion; | 2964 | extern Lisp_Object Vinhibit_field_text_motion; |
| 2965 | EXFUN (Fconstrain_to_field, 5); | 2965 | EXFUN (Fconstrain_to_field, 5); |
| 2966 | EXFUN (Ffield_string, 1); | 2966 | EXFUN (Ffield_string, 1); |
| @@ -2968,21 +2968,21 @@ EXFUN (Fdelete_field, 1); | |||
| 2968 | EXFUN (Ffield_beginning, 3); | 2968 | EXFUN (Ffield_beginning, 3); |
| 2969 | EXFUN (Ffield_end, 3); | 2969 | EXFUN (Ffield_end, 3); |
| 2970 | EXFUN (Ffield_string_no_properties, 1); | 2970 | EXFUN (Ffield_string_no_properties, 1); |
| 2971 | extern void set_time_zone_rule P_ ((char *)); | 2971 | extern void set_time_zone_rule (char *); |
| 2972 | 2972 | ||
| 2973 | /* Defined in buffer.c */ | 2973 | /* Defined in buffer.c */ |
| 2974 | extern int mouse_face_overlay_overlaps P_ ((Lisp_Object)); | 2974 | extern int mouse_face_overlay_overlaps (Lisp_Object); |
| 2975 | extern void nsberror P_ ((Lisp_Object)) NO_RETURN; | 2975 | extern void nsberror (Lisp_Object) NO_RETURN; |
| 2976 | EXFUN (Fset_buffer_multibyte, 1); | 2976 | EXFUN (Fset_buffer_multibyte, 1); |
| 2977 | EXFUN (Foverlay_start, 1); | 2977 | EXFUN (Foverlay_start, 1); |
| 2978 | EXFUN (Foverlay_end, 1); | 2978 | EXFUN (Foverlay_end, 1); |
| 2979 | EXFUN (Foverlay_buffer, 1); | 2979 | EXFUN (Foverlay_buffer, 1); |
| 2980 | extern void adjust_overlays_for_insert P_ ((EMACS_INT, EMACS_INT)); | 2980 | extern void adjust_overlays_for_insert (EMACS_INT, EMACS_INT); |
| 2981 | extern void adjust_overlays_for_delete P_ ((EMACS_INT, EMACS_INT)); | 2981 | extern void adjust_overlays_for_delete (EMACS_INT, EMACS_INT); |
| 2982 | extern void fix_start_end_in_overlays P_ ((int, int)); | 2982 | extern void fix_start_end_in_overlays (int, int); |
| 2983 | extern void report_overlay_modification P_ ((Lisp_Object, Lisp_Object, int, | 2983 | extern void report_overlay_modification (Lisp_Object, Lisp_Object, int, |
| 2984 | Lisp_Object, Lisp_Object, Lisp_Object)); | 2984 | Lisp_Object, Lisp_Object, Lisp_Object); |
| 2985 | extern int overlay_touches_p P_ ((int)); | 2985 | extern int overlay_touches_p (int); |
| 2986 | extern Lisp_Object Vbuffer_alist, Vinhibit_read_only; | 2986 | extern Lisp_Object Vbuffer_alist, Vinhibit_read_only; |
| 2987 | EXFUN (Fbuffer_list, 1); | 2987 | EXFUN (Fbuffer_list, 1); |
| 2988 | EXFUN (Fget_buffer, 1); | 2988 | EXFUN (Fget_buffer, 1); |
| @@ -3004,14 +3004,14 @@ EXFUN (Fbuffer_enable_undo, 1); | |||
| 3004 | EXFUN (Ferase_buffer, 0); | 3004 | EXFUN (Ferase_buffer, 0); |
| 3005 | extern Lisp_Object Qoverlayp; | 3005 | extern Lisp_Object Qoverlayp; |
| 3006 | extern Lisp_Object Qevaporate; | 3006 | extern Lisp_Object Qevaporate; |
| 3007 | extern Lisp_Object get_truename_buffer P_ ((Lisp_Object)); | 3007 | extern Lisp_Object get_truename_buffer (Lisp_Object); |
| 3008 | extern struct buffer *all_buffers; | 3008 | extern struct buffer *all_buffers; |
| 3009 | EXFUN (Fprevious_overlay_change, 1); | 3009 | EXFUN (Fprevious_overlay_change, 1); |
| 3010 | EXFUN (Fbuffer_file_name, 1); | 3010 | EXFUN (Fbuffer_file_name, 1); |
| 3011 | extern void init_buffer_once P_ ((void)); | 3011 | extern void init_buffer_once (void); |
| 3012 | extern void init_buffer P_ ((void)); | 3012 | extern void init_buffer (void); |
| 3013 | extern void syms_of_buffer P_ ((void)); | 3013 | extern void syms_of_buffer (void); |
| 3014 | extern void keys_of_buffer P_ ((void)); | 3014 | extern void keys_of_buffer (void); |
| 3015 | 3015 | ||
| 3016 | /* Defined in marker.c */ | 3016 | /* Defined in marker.c */ |
| 3017 | 3017 | ||
| @@ -3019,18 +3019,18 @@ EXFUN (Fmarker_position, 1); | |||
| 3019 | EXFUN (Fmarker_buffer, 1); | 3019 | EXFUN (Fmarker_buffer, 1); |
| 3020 | EXFUN (Fcopy_marker, 2); | 3020 | EXFUN (Fcopy_marker, 2); |
| 3021 | EXFUN (Fset_marker, 3); | 3021 | EXFUN (Fset_marker, 3); |
| 3022 | extern int marker_position P_ ((Lisp_Object)); | 3022 | extern int marker_position (Lisp_Object); |
| 3023 | extern int marker_byte_position P_ ((Lisp_Object)); | 3023 | extern int marker_byte_position (Lisp_Object); |
| 3024 | extern void clear_charpos_cache P_ ((struct buffer *)); | 3024 | extern void clear_charpos_cache (struct buffer *); |
| 3025 | extern int charpos_to_bytepos P_ ((int)); | 3025 | extern int charpos_to_bytepos (int); |
| 3026 | extern int buf_charpos_to_bytepos P_ ((struct buffer *, int)); | 3026 | extern int buf_charpos_to_bytepos (struct buffer *, int); |
| 3027 | extern int buf_bytepos_to_charpos P_ ((struct buffer *, int)); | 3027 | extern int buf_bytepos_to_charpos (struct buffer *, int); |
| 3028 | extern void unchain_marker P_ ((struct Lisp_Marker *marker)); | 3028 | extern void unchain_marker (struct Lisp_Marker *marker); |
| 3029 | extern Lisp_Object set_marker_restricted P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 3029 | extern Lisp_Object set_marker_restricted (Lisp_Object, Lisp_Object, Lisp_Object); |
| 3030 | extern Lisp_Object set_marker_both P_ ((Lisp_Object, Lisp_Object, int, int)); | 3030 | extern Lisp_Object set_marker_both (Lisp_Object, Lisp_Object, int, int); |
| 3031 | extern Lisp_Object set_marker_restricted_both P_ ((Lisp_Object, Lisp_Object, | 3031 | extern Lisp_Object set_marker_restricted_both (Lisp_Object, Lisp_Object, |
| 3032 | int, int)); | 3032 | int, int); |
| 3033 | extern void syms_of_marker P_ ((void)); | 3033 | extern void syms_of_marker (void); |
| 3034 | 3034 | ||
| 3035 | /* Defined in fileio.c */ | 3035 | /* Defined in fileio.c */ |
| 3036 | 3036 | ||
| @@ -3047,7 +3047,7 @@ EXFUN (Ffile_exists_p, 1); | |||
| 3047 | EXFUN (Ffile_name_absolute_p, 1); | 3047 | EXFUN (Ffile_name_absolute_p, 1); |
| 3048 | EXFUN (Fdirectory_file_name, 1); | 3048 | EXFUN (Fdirectory_file_name, 1); |
| 3049 | EXFUN (Ffile_name_directory, 1); | 3049 | EXFUN (Ffile_name_directory, 1); |
| 3050 | extern Lisp_Object expand_and_dir_to_file P_ ((Lisp_Object, Lisp_Object)); | 3050 | extern Lisp_Object expand_and_dir_to_file (Lisp_Object, Lisp_Object); |
| 3051 | EXFUN (Ffile_accessible_directory_p, 1); | 3051 | EXFUN (Ffile_accessible_directory_p, 1); |
| 3052 | EXFUN (Funhandled_file_name_directory, 1); | 3052 | EXFUN (Funhandled_file_name_directory, 1); |
| 3053 | EXFUN (Ffile_directory_p, 1); | 3053 | EXFUN (Ffile_directory_p, 1); |
| @@ -3055,47 +3055,47 @@ EXFUN (Fwrite_region, 7); | |||
| 3055 | EXFUN (Ffile_readable_p, 1); | 3055 | EXFUN (Ffile_readable_p, 1); |
| 3056 | EXFUN (Ffile_executable_p, 1); | 3056 | EXFUN (Ffile_executable_p, 1); |
| 3057 | EXFUN (Fread_file_name, 6); | 3057 | EXFUN (Fread_file_name, 6); |
| 3058 | extern Lisp_Object close_file_unwind P_ ((Lisp_Object)); | 3058 | extern Lisp_Object close_file_unwind (Lisp_Object); |
| 3059 | extern Lisp_Object restore_point_unwind P_ ((Lisp_Object)); | 3059 | extern Lisp_Object restore_point_unwind (Lisp_Object); |
| 3060 | extern void report_file_error P_ ((const char *, Lisp_Object)) NO_RETURN; | 3060 | extern void report_file_error (const char *, Lisp_Object) NO_RETURN; |
| 3061 | extern int internal_delete_file P_ ((Lisp_Object)); | 3061 | extern int internal_delete_file (Lisp_Object); |
| 3062 | extern void syms_of_fileio P_ ((void)); | 3062 | extern void syms_of_fileio (void); |
| 3063 | extern Lisp_Object make_temp_name P_ ((Lisp_Object, int)); | 3063 | extern Lisp_Object make_temp_name (Lisp_Object, int); |
| 3064 | EXFUN (Fmake_symbolic_link, 3); | 3064 | EXFUN (Fmake_symbolic_link, 3); |
| 3065 | extern Lisp_Object Qdelete_file; | 3065 | extern Lisp_Object Qdelete_file; |
| 3066 | 3066 | ||
| 3067 | /* Defined in abbrev.c */ | 3067 | /* Defined in abbrev.c */ |
| 3068 | 3068 | ||
| 3069 | extern void syms_of_abbrev P_ ((void)); | 3069 | extern void syms_of_abbrev (void); |
| 3070 | 3070 | ||
| 3071 | /* Defined in search.c */ | 3071 | /* Defined in search.c */ |
| 3072 | extern void shrink_regexp_cache P_ ((void)); | 3072 | extern void shrink_regexp_cache (void); |
| 3073 | EXFUN (Fstring_match, 3); | 3073 | EXFUN (Fstring_match, 3); |
| 3074 | extern void restore_search_regs P_ ((void)); | 3074 | extern void restore_search_regs (void); |
| 3075 | EXFUN (Fmatch_data, 3); | 3075 | EXFUN (Fmatch_data, 3); |
| 3076 | EXFUN (Fset_match_data, 2); | 3076 | EXFUN (Fset_match_data, 2); |
| 3077 | EXFUN (Fmatch_beginning, 1); | 3077 | EXFUN (Fmatch_beginning, 1); |
| 3078 | EXFUN (Fmatch_end, 1); | 3078 | EXFUN (Fmatch_end, 1); |
| 3079 | extern void record_unwind_save_match_data P_ ((void)); | 3079 | extern void record_unwind_save_match_data (void); |
| 3080 | EXFUN (Flooking_at, 1); | 3080 | EXFUN (Flooking_at, 1); |
| 3081 | extern int fast_string_match P_ ((Lisp_Object, Lisp_Object)); | 3081 | extern int fast_string_match (Lisp_Object, Lisp_Object); |
| 3082 | extern int fast_c_string_match_ignore_case P_ ((Lisp_Object, const char *)); | 3082 | extern int fast_c_string_match_ignore_case (Lisp_Object, const char *); |
| 3083 | extern int fast_string_match_ignore_case P_ ((Lisp_Object, Lisp_Object)); | 3083 | extern int fast_string_match_ignore_case (Lisp_Object, Lisp_Object); |
| 3084 | extern EMACS_INT fast_looking_at P_ ((Lisp_Object, EMACS_INT, EMACS_INT, | 3084 | extern EMACS_INT fast_looking_at (Lisp_Object, EMACS_INT, EMACS_INT, |
| 3085 | EMACS_INT, EMACS_INT, Lisp_Object)); | 3085 | EMACS_INT, EMACS_INT, Lisp_Object); |
| 3086 | extern int scan_buffer P_ ((int, EMACS_INT, EMACS_INT, int, int *, int)); | 3086 | extern int scan_buffer (int, EMACS_INT, EMACS_INT, int, int *, int); |
| 3087 | extern int scan_newline P_ ((EMACS_INT, EMACS_INT, EMACS_INT, EMACS_INT, | 3087 | extern int scan_newline (EMACS_INT, EMACS_INT, EMACS_INT, EMACS_INT, |
| 3088 | int, int)); | 3088 | int, int); |
| 3089 | extern int find_next_newline P_ ((EMACS_INT, int)); | 3089 | extern int find_next_newline (EMACS_INT, int); |
| 3090 | extern int find_next_newline_no_quit P_ ((EMACS_INT, int)); | 3090 | extern int find_next_newline_no_quit (EMACS_INT, int); |
| 3091 | extern int find_before_next_newline P_ ((EMACS_INT, EMACS_INT, int)); | 3091 | extern int find_before_next_newline (EMACS_INT, EMACS_INT, int); |
| 3092 | extern void syms_of_search P_ ((void)); | 3092 | extern void syms_of_search (void); |
| 3093 | extern void clear_regexp_cache P_ ((void)); | 3093 | extern void clear_regexp_cache (void); |
| 3094 | 3094 | ||
| 3095 | /* Defined in minibuf.c */ | 3095 | /* Defined in minibuf.c */ |
| 3096 | 3096 | ||
| 3097 | extern Lisp_Object last_minibuf_string; | 3097 | extern Lisp_Object last_minibuf_string; |
| 3098 | extern void choose_minibuf_frame P_ ((void)); | 3098 | extern void choose_minibuf_frame (void); |
| 3099 | EXFUN (Fcompleting_read, 8); | 3099 | EXFUN (Fcompleting_read, 8); |
| 3100 | EXFUN (Fread_from_minibuffer, 7); | 3100 | EXFUN (Fread_from_minibuffer, 7); |
| 3101 | EXFUN (Fread_variable, 2); | 3101 | EXFUN (Fread_variable, 2); |
| @@ -3105,10 +3105,10 @@ EXFUN (Feval_minibuffer, 2); | |||
| 3105 | EXFUN (Fread_string, 5); | 3105 | EXFUN (Fread_string, 5); |
| 3106 | EXFUN (Fread_no_blanks_input, 3); | 3106 | EXFUN (Fread_no_blanks_input, 3); |
| 3107 | EXFUN (Fassoc_string, 3); | 3107 | EXFUN (Fassoc_string, 3); |
| 3108 | extern Lisp_Object get_minibuffer P_ ((int)); | 3108 | extern Lisp_Object get_minibuffer (int); |
| 3109 | extern void temp_echo_area_glyphs P_ ((Lisp_Object)); | 3109 | extern void temp_echo_area_glyphs (Lisp_Object); |
| 3110 | extern void init_minibuf_once P_ ((void)); | 3110 | extern void init_minibuf_once (void); |
| 3111 | extern void syms_of_minibuf P_ ((void)); | 3111 | extern void syms_of_minibuf (void); |
| 3112 | 3112 | ||
| 3113 | /* Defined in callint.c */ | 3113 | /* Defined in callint.c */ |
| 3114 | 3114 | ||
| @@ -3117,7 +3117,7 @@ extern Lisp_Object Vcommand_history; | |||
| 3117 | extern Lisp_Object Qcall_interactively, Qmouse_leave_buffer_hook; | 3117 | extern Lisp_Object Qcall_interactively, Qmouse_leave_buffer_hook; |
| 3118 | EXFUN (Fcall_interactively, 3); | 3118 | EXFUN (Fcall_interactively, 3); |
| 3119 | EXFUN (Fprefix_numeric_value, 1); | 3119 | EXFUN (Fprefix_numeric_value, 1); |
| 3120 | extern void syms_of_callint P_ ((void)); | 3120 | extern void syms_of_callint (void); |
| 3121 | 3121 | ||
| 3122 | /* Defined in casefiddle.c */ | 3122 | /* Defined in casefiddle.c */ |
| 3123 | 3123 | ||
| @@ -3127,22 +3127,22 @@ EXFUN (Fcapitalize, 1); | |||
| 3127 | EXFUN (Fupcase_region, 2); | 3127 | EXFUN (Fupcase_region, 2); |
| 3128 | EXFUN (Fupcase_initials, 1); | 3128 | EXFUN (Fupcase_initials, 1); |
| 3129 | EXFUN (Fupcase_initials_region, 2); | 3129 | EXFUN (Fupcase_initials_region, 2); |
| 3130 | extern void syms_of_casefiddle P_ ((void)); | 3130 | extern void syms_of_casefiddle (void); |
| 3131 | extern void keys_of_casefiddle P_ ((void)); | 3131 | extern void keys_of_casefiddle (void); |
| 3132 | 3132 | ||
| 3133 | /* Defined in casetab.c */ | 3133 | /* Defined in casetab.c */ |
| 3134 | 3134 | ||
| 3135 | EXFUN (Fset_case_table, 1); | 3135 | EXFUN (Fset_case_table, 1); |
| 3136 | EXFUN (Fset_standard_case_table, 1); | 3136 | EXFUN (Fset_standard_case_table, 1); |
| 3137 | extern void init_casetab_once P_ ((void)); | 3137 | extern void init_casetab_once (void); |
| 3138 | extern void syms_of_casetab P_ ((void)); | 3138 | extern void syms_of_casetab (void); |
| 3139 | 3139 | ||
| 3140 | /* Defined in keyboard.c */ | 3140 | /* Defined in keyboard.c */ |
| 3141 | 3141 | ||
| 3142 | extern int echoing; | 3142 | extern int echoing; |
| 3143 | extern Lisp_Object echo_message_buffer; | 3143 | extern Lisp_Object echo_message_buffer; |
| 3144 | extern struct kboard *echo_kboard; | 3144 | extern struct kboard *echo_kboard; |
| 3145 | extern void cancel_echoing P_ ((void)); | 3145 | extern void cancel_echoing (void); |
| 3146 | extern Lisp_Object Qdisabled, QCfilter; | 3146 | extern Lisp_Object Qdisabled, QCfilter; |
| 3147 | extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level; | 3147 | extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level; |
| 3148 | extern Lisp_Object Vthrow_on_input; | 3148 | extern Lisp_Object Vthrow_on_input; |
| @@ -3152,10 +3152,10 @@ EXFUN (Frecursive_edit, 0); | |||
| 3152 | EXFUN (Ftop_level, 0); | 3152 | EXFUN (Ftop_level, 0); |
| 3153 | EXFUN (Fcommand_execute, 4); | 3153 | EXFUN (Fcommand_execute, 4); |
| 3154 | EXFUN (Finput_pending_p, 0); | 3154 | EXFUN (Finput_pending_p, 0); |
| 3155 | extern Lisp_Object menu_bar_items P_ ((Lisp_Object)); | 3155 | extern Lisp_Object menu_bar_items (Lisp_Object); |
| 3156 | extern Lisp_Object tool_bar_items P_ ((Lisp_Object, int *)); | 3156 | extern Lisp_Object tool_bar_items (Lisp_Object, int *); |
| 3157 | extern Lisp_Object Qvertical_scroll_bar; | 3157 | extern Lisp_Object Qvertical_scroll_bar; |
| 3158 | extern void discard_mouse_events P_ ((void)); | 3158 | extern void discard_mouse_events (void); |
| 3159 | EXFUN (Fevent_convert_list, 1); | 3159 | EXFUN (Fevent_convert_list, 1); |
| 3160 | EXFUN (Fread_key_sequence, 5); | 3160 | EXFUN (Fread_key_sequence, 5); |
| 3161 | EXFUN (Fset_input_interrupt_mode, 1); | 3161 | EXFUN (Fset_input_interrupt_mode, 1); |
| @@ -3164,18 +3164,18 @@ EXFUN (Fset_input_meta_mode, 2); | |||
| 3164 | EXFUN (Fset_quit_char, 1); | 3164 | EXFUN (Fset_quit_char, 1); |
| 3165 | EXFUN (Fset_input_mode, 4); | 3165 | EXFUN (Fset_input_mode, 4); |
| 3166 | extern Lisp_Object pending_funcalls; | 3166 | extern Lisp_Object pending_funcalls; |
| 3167 | extern int detect_input_pending P_ ((void)); | 3167 | extern int detect_input_pending (void); |
| 3168 | extern int detect_input_pending_ignore_squeezables P_ ((void)); | 3168 | extern int detect_input_pending_ignore_squeezables (void); |
| 3169 | extern int detect_input_pending_run_timers P_ ((int)); | 3169 | extern int detect_input_pending_run_timers (int); |
| 3170 | extern void safe_run_hooks P_ ((Lisp_Object)); | 3170 | extern void safe_run_hooks (Lisp_Object); |
| 3171 | extern void cmd_error_internal P_ ((Lisp_Object, char *)); | 3171 | extern void cmd_error_internal (Lisp_Object, char *); |
| 3172 | extern Lisp_Object command_loop_1 P_ ((void)); | 3172 | extern Lisp_Object command_loop_1 (void); |
| 3173 | extern Lisp_Object recursive_edit_1 P_ ((void)); | 3173 | extern Lisp_Object recursive_edit_1 (void); |
| 3174 | extern void record_auto_save P_ ((void)); | 3174 | extern void record_auto_save (void); |
| 3175 | extern void init_keyboard P_ ((void)); | 3175 | extern void init_keyboard (void); |
| 3176 | extern void syms_of_keyboard P_ ((void)); | 3176 | extern void syms_of_keyboard (void); |
| 3177 | extern void keys_of_keyboard P_ ((void)); | 3177 | extern void keys_of_keyboard (void); |
| 3178 | extern char *push_key_description P_ ((unsigned int, char *, int)); | 3178 | extern char *push_key_description (unsigned int, char *, int); |
| 3179 | 3179 | ||
| 3180 | 3180 | ||
| 3181 | /* Defined in indent.c */ | 3181 | /* Defined in indent.c */ |
| @@ -3183,10 +3183,10 @@ EXFUN (Fvertical_motion, 2); | |||
| 3183 | EXFUN (Findent_to, 2); | 3183 | EXFUN (Findent_to, 2); |
| 3184 | EXFUN (Fcurrent_column, 0); | 3184 | EXFUN (Fcurrent_column, 0); |
| 3185 | EXFUN (Fmove_to_column, 2); | 3185 | EXFUN (Fmove_to_column, 2); |
| 3186 | extern double current_column P_ ((void)); | 3186 | extern double current_column (void); |
| 3187 | extern void invalidate_current_column P_ ((void)); | 3187 | extern void invalidate_current_column (void); |
| 3188 | extern int indented_beyond_p P_ ((int, int, double)); | 3188 | extern int indented_beyond_p (int, int, double); |
| 3189 | extern void syms_of_indent P_ ((void)); | 3189 | extern void syms_of_indent (void); |
| 3190 | 3190 | ||
| 3191 | /* Defined in frame.c */ | 3191 | /* Defined in frame.c */ |
| 3192 | #ifdef HAVE_WINDOW_SYSTEM | 3192 | #ifdef HAVE_WINDOW_SYSTEM |
| @@ -3194,11 +3194,11 @@ extern Lisp_Object Vx_resource_name; | |||
| 3194 | extern Lisp_Object Vx_resource_class; | 3194 | extern Lisp_Object Vx_resource_class; |
| 3195 | #endif /* HAVE_WINDOW_SYSTEM */ | 3195 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 3196 | extern Lisp_Object Qvisible; | 3196 | extern Lisp_Object Qvisible; |
| 3197 | extern void store_frame_param P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 3197 | extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object); |
| 3198 | extern void store_in_alist P_ ((Lisp_Object *, Lisp_Object, Lisp_Object)); | 3198 | extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object); |
| 3199 | extern Lisp_Object do_switch_frame P_ ((Lisp_Object, int, int, Lisp_Object)); | 3199 | extern Lisp_Object do_switch_frame (Lisp_Object, int, int, Lisp_Object); |
| 3200 | extern Lisp_Object get_frame_param P_ ((struct frame *, Lisp_Object)); | 3200 | extern Lisp_Object get_frame_param (struct frame *, Lisp_Object); |
| 3201 | extern Lisp_Object frame_buffer_predicate P_ ((Lisp_Object)); | 3201 | extern Lisp_Object frame_buffer_predicate (Lisp_Object); |
| 3202 | EXFUN (Fframep, 1); | 3202 | EXFUN (Fframep, 1); |
| 3203 | EXFUN (Fselect_frame, 2); | 3203 | EXFUN (Fselect_frame, 2); |
| 3204 | EXFUN (Fselected_frame, 0); | 3204 | EXFUN (Fselected_frame, 0); |
| @@ -3225,30 +3225,30 @@ EXFUN (Fset_frame_position, 3); | |||
| 3225 | EXFUN (Fraise_frame, 1); | 3225 | EXFUN (Fraise_frame, 1); |
| 3226 | EXFUN (Fredirect_frame_focus, 2); | 3226 | EXFUN (Fredirect_frame_focus, 2); |
| 3227 | EXFUN (Fset_frame_selected_window, 3); | 3227 | EXFUN (Fset_frame_selected_window, 3); |
| 3228 | extern Lisp_Object frame_buffer_list P_ ((Lisp_Object)); | 3228 | extern Lisp_Object frame_buffer_list (Lisp_Object); |
| 3229 | extern void frames_discard_buffer P_ ((Lisp_Object)); | 3229 | extern void frames_discard_buffer (Lisp_Object); |
| 3230 | extern void set_frame_buffer_list P_ ((Lisp_Object, Lisp_Object)); | 3230 | extern void set_frame_buffer_list (Lisp_Object, Lisp_Object); |
| 3231 | extern void frames_bury_buffer P_ ((Lisp_Object)); | 3231 | extern void frames_bury_buffer (Lisp_Object); |
| 3232 | extern void syms_of_frame P_ ((void)); | 3232 | extern void syms_of_frame (void); |
| 3233 | 3233 | ||
| 3234 | /* Defined in emacs.c */ | 3234 | /* Defined in emacs.c */ |
| 3235 | extern Lisp_Object decode_env_path P_ ((char *, char *)); | 3235 | extern Lisp_Object decode_env_path (char *, char *); |
| 3236 | extern Lisp_Object Vinvocation_name, Vinvocation_directory; | 3236 | extern Lisp_Object Vinvocation_name, Vinvocation_directory; |
| 3237 | extern Lisp_Object Vbefore_init_time, Vafter_init_time; | 3237 | extern Lisp_Object Vbefore_init_time, Vafter_init_time; |
| 3238 | extern Lisp_Object Vinstallation_directory; | 3238 | extern Lisp_Object Vinstallation_directory; |
| 3239 | extern Lisp_Object empty_unibyte_string, empty_multibyte_string; | 3239 | extern Lisp_Object empty_unibyte_string, empty_multibyte_string; |
| 3240 | EXFUN (Fkill_emacs, 1); | 3240 | EXFUN (Fkill_emacs, 1); |
| 3241 | #if HAVE_SETLOCALE | 3241 | #if HAVE_SETLOCALE |
| 3242 | void fixup_locale P_ ((void)); | 3242 | void fixup_locale (void); |
| 3243 | void synchronize_system_messages_locale P_ ((void)); | 3243 | void synchronize_system_messages_locale (void); |
| 3244 | void synchronize_system_time_locale P_ ((void)); | 3244 | void synchronize_system_time_locale (void); |
| 3245 | #else | 3245 | #else |
| 3246 | #define setlocale(category, locale) | 3246 | #define setlocale(category, locale) |
| 3247 | #define fixup_locale() | 3247 | #define fixup_locale() |
| 3248 | #define synchronize_system_messages_locale() | 3248 | #define synchronize_system_messages_locale() |
| 3249 | #define synchronize_system_time_locale() | 3249 | #define synchronize_system_time_locale() |
| 3250 | #endif | 3250 | #endif |
| 3251 | void shut_down_emacs P_ ((int, int, Lisp_Object)); | 3251 | void shut_down_emacs (int, int, Lisp_Object); |
| 3252 | /* Nonzero means don't do interactive redisplay and don't change tty modes. */ | 3252 | /* Nonzero means don't do interactive redisplay and don't change tty modes. */ |
| 3253 | extern int noninteractive; | 3253 | extern int noninteractive; |
| 3254 | 3254 | ||
| @@ -3274,68 +3274,68 @@ EXFUN (Fkill_process, 2); | |||
| 3274 | EXFUN (Fprocess_send_eof, 1); | 3274 | EXFUN (Fprocess_send_eof, 1); |
| 3275 | EXFUN (Fwaiting_for_user_input_p, 0); | 3275 | EXFUN (Fwaiting_for_user_input_p, 0); |
| 3276 | extern Lisp_Object Qprocessp; | 3276 | extern Lisp_Object Qprocessp; |
| 3277 | extern void kill_buffer_processes P_ ((Lisp_Object)); | 3277 | extern void kill_buffer_processes (Lisp_Object); |
| 3278 | extern int wait_reading_process_output P_ ((int, int, int, int, | 3278 | extern int wait_reading_process_output (int, int, int, int, |
| 3279 | Lisp_Object, | 3279 | Lisp_Object, |
| 3280 | struct Lisp_Process *, | 3280 | struct Lisp_Process *, |
| 3281 | int)); | 3281 | int); |
| 3282 | extern void add_keyboard_wait_descriptor P_ ((int)); | 3282 | extern void add_keyboard_wait_descriptor (int); |
| 3283 | extern void delete_keyboard_wait_descriptor P_ ((int)); | 3283 | extern void delete_keyboard_wait_descriptor (int); |
| 3284 | extern void add_gpm_wait_descriptor P_ ((int)); | 3284 | extern void add_gpm_wait_descriptor (int); |
| 3285 | extern void delete_gpm_wait_descriptor P_ ((int)); | 3285 | extern void delete_gpm_wait_descriptor (int); |
| 3286 | extern void close_process_descs P_ ((void)); | 3286 | extern void close_process_descs (void); |
| 3287 | extern void init_process P_ ((void)); | 3287 | extern void init_process (void); |
| 3288 | extern void syms_of_process P_ ((void)); | 3288 | extern void syms_of_process (void); |
| 3289 | extern void setup_process_coding_systems P_ ((Lisp_Object)); | 3289 | extern void setup_process_coding_systems (Lisp_Object); |
| 3290 | 3290 | ||
| 3291 | /* Defined in callproc.c */ | 3291 | /* Defined in callproc.c */ |
| 3292 | extern Lisp_Object Vexec_path, Vexec_suffixes, | 3292 | extern Lisp_Object Vexec_path, Vexec_suffixes, |
| 3293 | Vexec_directory, Vdata_directory; | 3293 | Vexec_directory, Vdata_directory; |
| 3294 | extern Lisp_Object Vdoc_directory; | 3294 | extern Lisp_Object Vdoc_directory; |
| 3295 | EXFUN (Fcall_process, MANY); | 3295 | EXFUN (Fcall_process, MANY); |
| 3296 | extern int child_setup P_ ((int, int, int, char **, int, Lisp_Object)); | 3296 | extern int child_setup (int, int, int, char **, int, Lisp_Object); |
| 3297 | extern void init_callproc_1 P_ ((void)); | 3297 | extern void init_callproc_1 (void); |
| 3298 | extern void init_callproc P_ ((void)); | 3298 | extern void init_callproc (void); |
| 3299 | extern void set_initial_environment P_ ((void)); | 3299 | extern void set_initial_environment (void); |
| 3300 | extern void syms_of_callproc P_ ((void)); | 3300 | extern void syms_of_callproc (void); |
| 3301 | 3301 | ||
| 3302 | /* Defined in doc.c */ | 3302 | /* Defined in doc.c */ |
| 3303 | extern Lisp_Object Vdoc_file_name; | 3303 | extern Lisp_Object Vdoc_file_name; |
| 3304 | EXFUN (Fsubstitute_command_keys, 1); | 3304 | EXFUN (Fsubstitute_command_keys, 1); |
| 3305 | EXFUN (Fdocumentation, 2); | 3305 | EXFUN (Fdocumentation, 2); |
| 3306 | EXFUN (Fdocumentation_property, 3); | 3306 | EXFUN (Fdocumentation_property, 3); |
| 3307 | extern Lisp_Object read_doc_string P_ ((Lisp_Object)); | 3307 | extern Lisp_Object read_doc_string (Lisp_Object); |
| 3308 | extern Lisp_Object get_doc_string P_ ((Lisp_Object, int, int)); | 3308 | extern Lisp_Object get_doc_string (Lisp_Object, int, int); |
| 3309 | extern void syms_of_doc P_ ((void)); | 3309 | extern void syms_of_doc (void); |
| 3310 | extern int read_bytecode_char P_ ((int)); | 3310 | extern int read_bytecode_char (int); |
| 3311 | 3311 | ||
| 3312 | /* Defined in bytecode.c */ | 3312 | /* Defined in bytecode.c */ |
| 3313 | extern Lisp_Object Qbytecode; | 3313 | extern Lisp_Object Qbytecode; |
| 3314 | EXFUN (Fbyte_code, 3); | 3314 | EXFUN (Fbyte_code, 3); |
| 3315 | extern void syms_of_bytecode P_ ((void)); | 3315 | extern void syms_of_bytecode (void); |
| 3316 | extern struct byte_stack *byte_stack_list; | 3316 | extern struct byte_stack *byte_stack_list; |
| 3317 | extern void mark_byte_stack P_ ((void)); | 3317 | extern void mark_byte_stack (void); |
| 3318 | extern void unmark_byte_stack P_ ((void)); | 3318 | extern void unmark_byte_stack (void); |
| 3319 | 3319 | ||
| 3320 | /* Defined in macros.c */ | 3320 | /* Defined in macros.c */ |
| 3321 | extern Lisp_Object Qexecute_kbd_macro; | 3321 | extern Lisp_Object Qexecute_kbd_macro; |
| 3322 | EXFUN (Fexecute_kbd_macro, 3); | 3322 | EXFUN (Fexecute_kbd_macro, 3); |
| 3323 | EXFUN (Fcancel_kbd_macro_events, 0); | 3323 | EXFUN (Fcancel_kbd_macro_events, 0); |
| 3324 | extern void init_macros P_ ((void)); | 3324 | extern void init_macros (void); |
| 3325 | extern void syms_of_macros P_ ((void)); | 3325 | extern void syms_of_macros (void); |
| 3326 | 3326 | ||
| 3327 | /* Defined in undo.c */ | 3327 | /* Defined in undo.c */ |
| 3328 | extern Lisp_Object Qinhibit_read_only; | 3328 | extern Lisp_Object Qinhibit_read_only; |
| 3329 | EXFUN (Fundo_boundary, 0); | 3329 | EXFUN (Fundo_boundary, 0); |
| 3330 | extern void truncate_undo_list P_ ((struct buffer *)); | 3330 | extern void truncate_undo_list (struct buffer *); |
| 3331 | extern void record_marker_adjustment P_ ((Lisp_Object, int)); | 3331 | extern void record_marker_adjustment (Lisp_Object, int); |
| 3332 | extern void record_insert P_ ((int, int)); | 3332 | extern void record_insert (int, int); |
| 3333 | extern void record_delete P_ ((int, Lisp_Object)); | 3333 | extern void record_delete (int, Lisp_Object); |
| 3334 | extern void record_first_change P_ ((void)); | 3334 | extern void record_first_change (void); |
| 3335 | extern void record_change P_ ((int, int)); | 3335 | extern void record_change (int, int); |
| 3336 | extern void record_property_change P_ ((int, int, Lisp_Object, Lisp_Object, | 3336 | extern void record_property_change (int, int, Lisp_Object, Lisp_Object, |
| 3337 | Lisp_Object)); | 3337 | Lisp_Object); |
| 3338 | extern void syms_of_undo P_ ((void)); | 3338 | extern void syms_of_undo (void); |
| 3339 | extern Lisp_Object Vundo_outer_limit; | 3339 | extern Lisp_Object Vundo_outer_limit; |
| 3340 | 3340 | ||
| 3341 | /* Defined in textprop.c */ | 3341 | /* Defined in textprop.c */ |
| @@ -3349,19 +3349,19 @@ EXFUN (Fput_text_property, 5); | |||
| 3349 | EXFUN (Fget_text_property, 3); | 3349 | EXFUN (Fget_text_property, 3); |
| 3350 | EXFUN (Fprevious_char_property_change, 2); | 3350 | EXFUN (Fprevious_char_property_change, 2); |
| 3351 | EXFUN (Fnext_char_property_change, 2); | 3351 | EXFUN (Fnext_char_property_change, 2); |
| 3352 | extern void report_interval_modification P_ ((Lisp_Object, Lisp_Object)); | 3352 | extern void report_interval_modification (Lisp_Object, Lisp_Object); |
| 3353 | extern Lisp_Object next_single_char_property_change P_ ((Lisp_Object, | 3353 | extern Lisp_Object next_single_char_property_change (Lisp_Object, |
| 3354 | Lisp_Object, | 3354 | Lisp_Object, |
| 3355 | Lisp_Object, | 3355 | Lisp_Object, |
| 3356 | Lisp_Object)); | 3356 | Lisp_Object); |
| 3357 | 3357 | ||
| 3358 | /* Defined in menu.c */ | 3358 | /* Defined in menu.c */ |
| 3359 | extern void syms_of_menu P_ ((void)); | 3359 | extern void syms_of_menu (void); |
| 3360 | 3360 | ||
| 3361 | /* Defined in xmenu.c */ | 3361 | /* Defined in xmenu.c */ |
| 3362 | EXFUN (Fx_popup_menu, 2); | 3362 | EXFUN (Fx_popup_menu, 2); |
| 3363 | EXFUN (Fx_popup_dialog, 3); | 3363 | EXFUN (Fx_popup_dialog, 3); |
| 3364 | extern void syms_of_xmenu P_ ((void)); | 3364 | extern void syms_of_xmenu (void); |
| 3365 | 3365 | ||
| 3366 | /* Defined in termchar.h */ | 3366 | /* Defined in termchar.h */ |
| 3367 | struct tty_display_info; | 3367 | struct tty_display_info; |
| @@ -3371,73 +3371,73 @@ struct terminal; | |||
| 3371 | 3371 | ||
| 3372 | /* Defined in sysdep.c */ | 3372 | /* Defined in sysdep.c */ |
| 3373 | #ifndef HAVE_GET_CURRENT_DIR_NAME | 3373 | #ifndef HAVE_GET_CURRENT_DIR_NAME |
| 3374 | extern char *get_current_dir_name P_ ((void)); | 3374 | extern char *get_current_dir_name (void); |
| 3375 | #endif | 3375 | #endif |
| 3376 | extern void stuff_char P_ ((char c)); | 3376 | extern void stuff_char (char c); |
| 3377 | extern void init_sigio P_ ((int)); | 3377 | extern void init_sigio (int); |
| 3378 | extern void sys_subshell P_ ((void)); | 3378 | extern void sys_subshell (void); |
| 3379 | extern void sys_suspend P_ ((void)); | 3379 | extern void sys_suspend (void); |
| 3380 | extern void discard_tty_input P_ ((void)); | 3380 | extern void discard_tty_input (void); |
| 3381 | extern void init_sys_modes P_ ((struct tty_display_info *)); | 3381 | extern void init_sys_modes (struct tty_display_info *); |
| 3382 | extern void reset_sys_modes P_ ((struct tty_display_info *)); | 3382 | extern void reset_sys_modes (struct tty_display_info *); |
| 3383 | extern void init_all_sys_modes P_ ((void)); | 3383 | extern void init_all_sys_modes (void); |
| 3384 | extern void reset_all_sys_modes P_ ((void)); | 3384 | extern void reset_all_sys_modes (void); |
| 3385 | extern void wait_for_termination P_ ((int)); | 3385 | extern void wait_for_termination (int); |
| 3386 | extern void flush_pending_output P_ ((int)); | 3386 | extern void flush_pending_output (int); |
| 3387 | extern void child_setup_tty P_ ((int)); | 3387 | extern void child_setup_tty (int); |
| 3388 | extern void setup_pty P_ ((int)); | 3388 | extern void setup_pty (int); |
| 3389 | extern int set_window_size P_ ((int, int, int)); | 3389 | extern int set_window_size (int, int, int); |
| 3390 | extern void create_process P_ ((Lisp_Object, char **, Lisp_Object)); | 3390 | extern void create_process (Lisp_Object, char **, Lisp_Object); |
| 3391 | extern int emacs_open P_ ((const char *, int, int)); | 3391 | extern int emacs_open (const char *, int, int); |
| 3392 | extern int emacs_close P_ ((int)); | 3392 | extern int emacs_close (int); |
| 3393 | extern int emacs_read P_ ((int, char *, unsigned int)); | 3393 | extern int emacs_read (int, char *, unsigned int); |
| 3394 | extern int emacs_write P_ ((int, const char *, unsigned int)); | 3394 | extern int emacs_write (int, const char *, unsigned int); |
| 3395 | 3395 | ||
| 3396 | /* Defined in filelock.c */ | 3396 | /* Defined in filelock.c */ |
| 3397 | EXFUN (Funlock_buffer, 0); | 3397 | EXFUN (Funlock_buffer, 0); |
| 3398 | EXFUN (Ffile_locked_p, 1); | 3398 | EXFUN (Ffile_locked_p, 1); |
| 3399 | extern void unlock_all_files P_ ((void)); | 3399 | extern void unlock_all_files (void); |
| 3400 | extern void lock_file P_ ((Lisp_Object)); | 3400 | extern void lock_file (Lisp_Object); |
| 3401 | extern void unlock_file P_ ((Lisp_Object)); | 3401 | extern void unlock_file (Lisp_Object); |
| 3402 | extern void unlock_buffer P_ ((struct buffer *)); | 3402 | extern void unlock_buffer (struct buffer *); |
| 3403 | extern void syms_of_filelock P_ ((void)); | 3403 | extern void syms_of_filelock (void); |
| 3404 | extern void init_filelock P_ ((void)); | 3404 | extern void init_filelock (void); |
| 3405 | 3405 | ||
| 3406 | /* Defined in sound.c */ | 3406 | /* Defined in sound.c */ |
| 3407 | extern void syms_of_sound P_ ((void)); | 3407 | extern void syms_of_sound (void); |
| 3408 | extern void init_sound P_ ((void)); | 3408 | extern void init_sound (void); |
| 3409 | 3409 | ||
| 3410 | /* Defined in category.c */ | 3410 | /* Defined in category.c */ |
| 3411 | extern void init_category_once P_ ((void)); | 3411 | extern void init_category_once (void); |
| 3412 | extern Lisp_Object char_category_set P_ ((int)); | 3412 | extern Lisp_Object char_category_set (int); |
| 3413 | extern void syms_of_category P_ ((void)); | 3413 | extern void syms_of_category (void); |
| 3414 | 3414 | ||
| 3415 | /* Defined in ccl.c */ | 3415 | /* Defined in ccl.c */ |
| 3416 | extern void syms_of_ccl P_ ((void)); | 3416 | extern void syms_of_ccl (void); |
| 3417 | 3417 | ||
| 3418 | /* Defined in dired.c */ | 3418 | /* Defined in dired.c */ |
| 3419 | EXFUN (Ffile_attributes, 2); | 3419 | EXFUN (Ffile_attributes, 2); |
| 3420 | extern void syms_of_dired P_ ((void)); | 3420 | extern void syms_of_dired (void); |
| 3421 | extern Lisp_Object directory_files_internal P_ ((Lisp_Object, Lisp_Object, | 3421 | extern Lisp_Object directory_files_internal (Lisp_Object, Lisp_Object, |
| 3422 | Lisp_Object, Lisp_Object, | 3422 | Lisp_Object, Lisp_Object, |
| 3423 | int, Lisp_Object)); | 3423 | int, Lisp_Object); |
| 3424 | 3424 | ||
| 3425 | /* Defined in term.c */ | 3425 | /* Defined in term.c */ |
| 3426 | extern void syms_of_term P_ ((void)); | 3426 | extern void syms_of_term (void); |
| 3427 | extern void fatal P_ ((const char *msgid, ...)) NO_RETURN; | 3427 | extern void fatal (const char *msgid, ...) NO_RETURN; |
| 3428 | 3428 | ||
| 3429 | /* Defined in terminal.c */ | 3429 | /* Defined in terminal.c */ |
| 3430 | EXFUN (Fframe_terminal, 1); | 3430 | EXFUN (Fframe_terminal, 1); |
| 3431 | EXFUN (Fdelete_terminal, 2); | 3431 | EXFUN (Fdelete_terminal, 2); |
| 3432 | extern void syms_of_terminal P_ ((void)); | 3432 | extern void syms_of_terminal (void); |
| 3433 | 3433 | ||
| 3434 | /* Defined in font.c */ | 3434 | /* Defined in font.c */ |
| 3435 | extern void syms_of_font P_ ((void)); | 3435 | extern void syms_of_font (void); |
| 3436 | extern void init_font P_ ((void)); | 3436 | extern void init_font (void); |
| 3437 | 3437 | ||
| 3438 | #ifdef HAVE_WINDOW_SYSTEM | 3438 | #ifdef HAVE_WINDOW_SYSTEM |
| 3439 | /* Defined in fontset.c */ | 3439 | /* Defined in fontset.c */ |
| 3440 | extern void syms_of_fontset P_ ((void)); | 3440 | extern void syms_of_fontset (void); |
| 3441 | EXFUN (Fset_fontset_font, 5); | 3441 | EXFUN (Fset_fontset_font, 5); |
| 3442 | EXFUN (Fnew_fontset, 2); | 3442 | EXFUN (Fnew_fontset, 2); |
| 3443 | 3443 | ||
| @@ -3450,26 +3450,26 @@ EXFUN (Fx_focus_frame, 1); | |||
| 3450 | /* Defined in xfaces.c */ | 3450 | /* Defined in xfaces.c */ |
| 3451 | EXFUN (Fclear_face_cache, 1); | 3451 | EXFUN (Fclear_face_cache, 1); |
| 3452 | EXFUN (Fx_load_color_file, 1); | 3452 | EXFUN (Fx_load_color_file, 1); |
| 3453 | extern void syms_of_xfaces P_ ((void)); | 3453 | extern void syms_of_xfaces (void); |
| 3454 | 3454 | ||
| 3455 | #ifndef HAVE_GETLOADAVG | 3455 | #ifndef HAVE_GETLOADAVG |
| 3456 | /* Defined in getloadavg.c */ | 3456 | /* Defined in getloadavg.c */ |
| 3457 | extern int getloadavg P_ ((double *, int)); | 3457 | extern int getloadavg (double *, int); |
| 3458 | #endif | 3458 | #endif |
| 3459 | 3459 | ||
| 3460 | #ifdef HAVE_X_WINDOWS | 3460 | #ifdef HAVE_X_WINDOWS |
| 3461 | /* Defined in xfns.c */ | 3461 | /* Defined in xfns.c */ |
| 3462 | extern void syms_of_xfns P_ ((void)); | 3462 | extern void syms_of_xfns (void); |
| 3463 | 3463 | ||
| 3464 | /* Defined in xsmfns.c */ | 3464 | /* Defined in xsmfns.c */ |
| 3465 | extern void syms_of_xsmfns P_ ((void)); | 3465 | extern void syms_of_xsmfns (void); |
| 3466 | 3466 | ||
| 3467 | /* Defined in xselect.c */ | 3467 | /* Defined in xselect.c */ |
| 3468 | EXFUN (Fx_send_client_event, 6); | 3468 | EXFUN (Fx_send_client_event, 6); |
| 3469 | extern void syms_of_xselect P_ ((void)); | 3469 | extern void syms_of_xselect (void); |
| 3470 | 3470 | ||
| 3471 | /* Defined in xterm.c */ | 3471 | /* Defined in xterm.c */ |
| 3472 | extern void syms_of_xterm P_ ((void)); | 3472 | extern void syms_of_xterm (void); |
| 3473 | #endif /* HAVE_X_WINDOWS */ | 3473 | #endif /* HAVE_X_WINDOWS */ |
| 3474 | 3474 | ||
| 3475 | #ifdef MSDOS | 3475 | #ifdef MSDOS |
| @@ -3479,14 +3479,14 @@ EXFUN (Fmsdos_downcase_filename, 1); | |||
| 3479 | 3479 | ||
| 3480 | #ifdef HAVE_MENUS | 3480 | #ifdef HAVE_MENUS |
| 3481 | /* Defined in (x|w32)fns.c, nsfns.m... */ | 3481 | /* Defined in (x|w32)fns.c, nsfns.m... */ |
| 3482 | extern int have_menus_p P_ ((void)); | 3482 | extern int have_menus_p (void); |
| 3483 | #endif | 3483 | #endif |
| 3484 | 3484 | ||
| 3485 | #ifdef HAVE_DBUS | 3485 | #ifdef HAVE_DBUS |
| 3486 | /* Defined in dbusbind.c */ | 3486 | /* Defined in dbusbind.c */ |
| 3487 | int xd_pending_messages P_ ((void)); | 3487 | int xd_pending_messages (void); |
| 3488 | void xd_read_queued_messages P_ ((void)); | 3488 | void xd_read_queued_messages (void); |
| 3489 | void syms_of_dbusbind P_ ((void)); | 3489 | void syms_of_dbusbind (void); |
| 3490 | #endif | 3490 | #endif |
| 3491 | 3491 | ||
| 3492 | /* Nonzero means Emacs has already been initialized. | 3492 | /* Nonzero means Emacs has already been initialized. |
| @@ -3495,16 +3495,16 @@ extern int initialized; | |||
| 3495 | 3495 | ||
| 3496 | extern int immediate_quit; /* Nonzero means ^G can quit instantly */ | 3496 | extern int immediate_quit; /* Nonzero means ^G can quit instantly */ |
| 3497 | 3497 | ||
| 3498 | extern POINTER_TYPE *xmalloc P_ ((size_t)); | 3498 | extern POINTER_TYPE *xmalloc (size_t); |
| 3499 | extern POINTER_TYPE *xrealloc P_ ((POINTER_TYPE *, size_t)); | 3499 | extern POINTER_TYPE *xrealloc (POINTER_TYPE *, size_t); |
| 3500 | extern void xfree P_ ((POINTER_TYPE *)); | 3500 | extern void xfree (POINTER_TYPE *); |
| 3501 | 3501 | ||
| 3502 | extern char *xstrdup P_ ((const char *)); | 3502 | extern char *xstrdup (const char *); |
| 3503 | 3503 | ||
| 3504 | extern char *egetenv P_ ((char *)); | 3504 | extern char *egetenv (char *); |
| 3505 | 3505 | ||
| 3506 | /* Set up the name of the machine we're running on. */ | 3506 | /* Set up the name of the machine we're running on. */ |
| 3507 | extern void init_system_name P_ ((void)); | 3507 | extern void init_system_name (void); |
| 3508 | 3508 | ||
| 3509 | /* Some systems (e.g., NT) use a different path separator than Unix, | 3509 | /* Some systems (e.g., NT) use a different path separator than Unix, |
| 3510 | in addition to a device separator. Set the path separator | 3510 | in addition to a device separator. Set the path separator |
diff --git a/src/macros.h b/src/macros.h index 00b7b5ba421..761b5fdf514 100644 --- a/src/macros.h +++ b/src/macros.h | |||
| @@ -41,16 +41,16 @@ extern Lisp_Object executing_kbd_macro; | |||
| 41 | 41 | ||
| 42 | /* Finish defining the current keyboard macro. */ | 42 | /* Finish defining the current keyboard macro. */ |
| 43 | 43 | ||
| 44 | extern void end_kbd_macro P_ ((void)); | 44 | extern void end_kbd_macro (void); |
| 45 | 45 | ||
| 46 | /* Declare that all chars stored so far in the kbd macro being defined | 46 | /* Declare that all chars stored so far in the kbd macro being defined |
| 47 | really belong to it. This is done in between editor commands. */ | 47 | really belong to it. This is done in between editor commands. */ |
| 48 | 48 | ||
| 49 | extern void finalize_kbd_macro_chars P_ ((void)); | 49 | extern void finalize_kbd_macro_chars (void); |
| 50 | 50 | ||
| 51 | /* Store a character into kbd macro being defined */ | 51 | /* Store a character into kbd macro being defined */ |
| 52 | 52 | ||
| 53 | extern void store_kbd_macro_char P_ ((Lisp_Object)); | 53 | extern void store_kbd_macro_char (Lisp_Object); |
| 54 | 54 | ||
| 55 | /* arch-tag: 8edb7088-682f-4d1f-a4d9-0fbb7284234e | 55 | /* arch-tag: 8edb7088-682f-4d1f-a4d9-0fbb7284234e |
| 56 | (do not change this comment) */ | 56 | (do not change this comment) */ |
| @@ -97,21 +97,21 @@ struct md5_ctx | |||
| 97 | 97 | ||
| 98 | /* Initialize structure containing state of computation. | 98 | /* Initialize structure containing state of computation. |
| 99 | (RFC 1321, 3.3: Step 3) */ | 99 | (RFC 1321, 3.3: Step 3) */ |
| 100 | extern void md5_init_ctx __P ((struct md5_ctx *ctx)); | 100 | extern void md5_init_ctx (struct md5_ctx *ctx); |
| 101 | 101 | ||
| 102 | /* Starting with the result of former calls of this function (or the | 102 | /* Starting with the result of former calls of this function (or the |
| 103 | initialization function update the context for the next LEN bytes | 103 | initialization function update the context for the next LEN bytes |
| 104 | starting at BUFFER. | 104 | starting at BUFFER. |
| 105 | It is necessary that LEN is a multiple of 64!!! */ | 105 | It is necessary that LEN is a multiple of 64!!! */ |
| 106 | extern void md5_process_block __P ((const void *buffer, size_t len, | 106 | extern void md5_process_block (const void *buffer, size_t len, |
| 107 | struct md5_ctx *ctx)); | 107 | struct md5_ctx *ctx); |
| 108 | 108 | ||
| 109 | /* Starting with the result of former calls of this function (or the | 109 | /* Starting with the result of former calls of this function (or the |
| 110 | initialization function update the context for the next LEN bytes | 110 | initialization function update the context for the next LEN bytes |
| 111 | starting at BUFFER. | 111 | starting at BUFFER. |
| 112 | It is NOT required that LEN is a multiple of 64. */ | 112 | It is NOT required that LEN is a multiple of 64. */ |
| 113 | extern void md5_process_bytes __P ((const void *buffer, size_t len, | 113 | extern void md5_process_bytes (const void *buffer, size_t len, |
| 114 | struct md5_ctx *ctx)); | 114 | struct md5_ctx *ctx); |
| 115 | 115 | ||
| 116 | /* Process the remaining bytes in the buffer and put result from CTX | 116 | /* Process the remaining bytes in the buffer and put result from CTX |
| 117 | in first 16 bytes following RESBUF. The result is always in little | 117 | in first 16 bytes following RESBUF. The result is always in little |
| @@ -120,7 +120,7 @@ extern void md5_process_bytes __P ((const void *buffer, size_t len, | |||
| 120 | 120 | ||
| 121 | IMPORTANT: On some systems it is required that RESBUF is correctly | 121 | IMPORTANT: On some systems it is required that RESBUF is correctly |
| 122 | aligned for a 32 bits value. */ | 122 | aligned for a 32 bits value. */ |
| 123 | extern void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf)); | 123 | extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf); |
| 124 | 124 | ||
| 125 | 125 | ||
| 126 | /* Put result from CTX in first 16 bytes following RESBUF. The result is | 126 | /* Put result from CTX in first 16 bytes following RESBUF. The result is |
| @@ -129,20 +129,20 @@ extern void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf)); | |||
| 129 | 129 | ||
| 130 | IMPORTANT: On some systems it is required that RESBUF is correctly | 130 | IMPORTANT: On some systems it is required that RESBUF is correctly |
| 131 | aligned for a 32 bits value. */ | 131 | aligned for a 32 bits value. */ |
| 132 | extern void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf)); | 132 | extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf); |
| 133 | 133 | ||
| 134 | 134 | ||
| 135 | /* Compute MD5 message digest for bytes read from STREAM. The | 135 | /* Compute MD5 message digest for bytes read from STREAM. The |
| 136 | resulting message digest number will be written into the 16 bytes | 136 | resulting message digest number will be written into the 16 bytes |
| 137 | beginning at RESBLOCK. */ | 137 | beginning at RESBLOCK. */ |
| 138 | extern int md5_stream __P ((FILE *stream, void *resblock)); | 138 | extern int md5_stream (FILE *stream, void *resblock); |
| 139 | 139 | ||
| 140 | /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The | 140 | /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The |
| 141 | result is always in little endian byte order, so that a byte-wise | 141 | result is always in little endian byte order, so that a byte-wise |
| 142 | output yields to the wanted ASCII representation of the message | 142 | output yields to the wanted ASCII representation of the message |
| 143 | digest. */ | 143 | digest. */ |
| 144 | extern void *md5_buffer __P ((const char *buffer, size_t len, | 144 | extern void *md5_buffer (const char *buffer, size_t len, |
| 145 | void *resblock)); | 145 | void *resblock); |
| 146 | 146 | ||
| 147 | #endif /* md5.h */ | 147 | #endif /* md5.h */ |
| 148 | 148 | ||
diff --git a/src/menu.h b/src/menu.h index 5f3c3d24e22..eff6f5ddf70 100644 --- a/src/menu.h +++ b/src/menu.h | |||
| @@ -21,17 +21,17 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | 21 | ||
| 22 | extern Lisp_Object Vmenu_updating_frame; | 22 | extern Lisp_Object Vmenu_updating_frame; |
| 23 | 23 | ||
| 24 | extern void init_menu_items P_ ((void)); | 24 | extern void init_menu_items (void); |
| 25 | extern void finish_menu_items P_ ((void)); | 25 | extern void finish_menu_items (void); |
| 26 | extern void discard_menu_items P_ ((void)); | 26 | extern void discard_menu_items (void); |
| 27 | extern void save_menu_items P_ ((void)); | 27 | extern void save_menu_items (void); |
| 28 | extern int parse_single_submenu P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); | 28 | extern int parse_single_submenu (Lisp_Object, Lisp_Object, Lisp_Object); |
| 29 | extern void list_of_panes P_ ((Lisp_Object)); | 29 | extern void list_of_panes (Lisp_Object); |
| 30 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (HAVE_NTGUI) | 30 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (HAVE_NTGUI) |
| 31 | extern void free_menubar_widget_value_tree P_ ((widget_value *)); | 31 | extern void free_menubar_widget_value_tree (widget_value *); |
| 32 | extern void update_submenu_strings P_ ((widget_value *)); | 32 | extern void update_submenu_strings (widget_value *); |
| 33 | extern void find_and_call_menu_selection P_ ((FRAME_PTR, int, | 33 | extern void find_and_call_menu_selection (FRAME_PTR, int, |
| 34 | Lisp_Object, void *)); | 34 | Lisp_Object, void *); |
| 35 | #endif | 35 | #endif |
| 36 | 36 | ||
| 37 | #ifdef HAVE_X_WINDOWS | 37 | #ifdef HAVE_X_WINDOWS |
diff --git a/src/msdos.h b/src/msdos.h index bf44d3a9aa4..3ace5123227 100644 --- a/src/msdos.h +++ b/src/msdos.h | |||
| @@ -70,9 +70,9 @@ struct window; | |||
| 70 | 70 | ||
| 71 | /* Defined in xfns.c; emulated on msdos.c */ | 71 | /* Defined in xfns.c; emulated on msdos.c */ |
| 72 | 72 | ||
| 73 | extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 73 | extern void x_set_menu_bar_lines (struct frame *, Lisp_Object, Lisp_Object); |
| 74 | extern int x_pixel_width P_ ((struct frame *)); | 74 | extern int x_pixel_width (struct frame *); |
| 75 | extern int x_pixel_height P_ ((struct frame *)); | 75 | extern int x_pixel_height (struct frame *); |
| 76 | 76 | ||
| 77 | #define XFreeGC (void) | 77 | #define XFreeGC (void) |
| 78 | #define x_destroy_bitmap(p1,p2) | 78 | #define x_destroy_bitmap(p1,p2) |
diff --git a/src/nsterm.h b/src/nsterm.h index 5b24eb6f289..bc0e6e286c2 100644 --- a/src/nsterm.h +++ b/src/nsterm.h | |||
| @@ -760,8 +760,8 @@ extern unsigned long ns_get_pixel (void *img, int x, int y); | |||
| 760 | extern void ns_put_pixel (void *img, int x, int y, unsigned long argb); | 760 | extern void ns_put_pixel (void *img, int x, int y, unsigned long argb); |
| 761 | extern void ns_set_alpha (void *img, int x, int y, unsigned char a); | 761 | extern void ns_set_alpha (void *img, int x, int y, unsigned char a); |
| 762 | 762 | ||
| 763 | extern int x_display_pixel_height P_ ((struct ns_display_info *)); | 763 | extern int x_display_pixel_height (struct ns_display_info *); |
| 764 | extern int x_display_pixel_width P_ ((struct ns_display_info *)); | 764 | extern int x_display_pixel_width (struct ns_display_info *); |
| 765 | 765 | ||
| 766 | /* This in nsterm.m */ | 766 | /* This in nsterm.m */ |
| 767 | extern unsigned long ns_get_rgb_color (struct frame *f, | 767 | extern unsigned long ns_get_rgb_color (struct frame *f, |
diff --git a/src/puresize.h b/src/puresize.h index 4e97e3731b7..682e8926135 100644 --- a/src/puresize.h +++ b/src/puresize.h | |||
| @@ -72,7 +72,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 72 | { if (PURE_P (obj)) \ | 72 | { if (PURE_P (obj)) \ |
| 73 | pure_write_error (); } | 73 | pure_write_error (); } |
| 74 | 74 | ||
| 75 | extern void pure_write_error P_ ((void)) NO_RETURN; | 75 | extern void pure_write_error (void) NO_RETURN; |
| 76 | 76 | ||
| 77 | /* Define PURE_P. */ | 77 | /* Define PURE_P. */ |
| 78 | 78 | ||
diff --git a/src/region-cache.h b/src/region-cache.h index 4a717d66081..e2972f2ea0a 100644 --- a/src/region-cache.h +++ b/src/region-cache.h | |||
| @@ -61,17 +61,17 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 61 | 61 | ||
| 62 | 62 | ||
| 63 | /* Allocate, initialize and return a new, empty region cache. */ | 63 | /* Allocate, initialize and return a new, empty region cache. */ |
| 64 | struct region_cache *new_region_cache P_ ((void)); | 64 | struct region_cache *new_region_cache (void); |
| 65 | 65 | ||
| 66 | /* Free a region cache. */ | 66 | /* Free a region cache. */ |
| 67 | void free_region_cache P_ ((struct region_cache *)); | 67 | void free_region_cache (struct region_cache *); |
| 68 | 68 | ||
| 69 | /* Assert that the region of BUF between START and END (absolute | 69 | /* Assert that the region of BUF between START and END (absolute |
| 70 | buffer positions) is "known," for the purposes of CACHE (e.g. "has | 70 | buffer positions) is "known," for the purposes of CACHE (e.g. "has |
| 71 | no newlines", in the case of the line cache). */ | 71 | no newlines", in the case of the line cache). */ |
| 72 | extern void know_region_cache P_ ((struct buffer *BUF, | 72 | extern void know_region_cache (struct buffer *BUF, |
| 73 | struct region_cache *CACHE, | 73 | struct region_cache *CACHE, |
| 74 | int START, int END)); | 74 | int START, int END); |
| 75 | 75 | ||
| 76 | /* Indicate that a section of BUF has changed, to invalidate CACHE. | 76 | /* Indicate that a section of BUF has changed, to invalidate CACHE. |
| 77 | HEAD is the number of chars unchanged at the beginning of the buffer. | 77 | HEAD is the number of chars unchanged at the beginning of the buffer. |
| @@ -81,9 +81,9 @@ extern void know_region_cache P_ ((struct buffer *BUF, | |||
| 81 | (This way of specifying regions makes more sense than absolute | 81 | (This way of specifying regions makes more sense than absolute |
| 82 | buffer positions in the presence of insertions and deletions; the | 82 | buffer positions in the presence of insertions and deletions; the |
| 83 | args to pass are the same before and after such an operation.) */ | 83 | args to pass are the same before and after such an operation.) */ |
| 84 | extern void invalidate_region_cache P_ ((struct buffer *BUF, | 84 | extern void invalidate_region_cache (struct buffer *BUF, |
| 85 | struct region_cache *CACHE, | 85 | struct region_cache *CACHE, |
| 86 | int HEAD, int TAIL)); | 86 | int HEAD, int TAIL); |
| 87 | 87 | ||
| 88 | /* The scanning functions. | 88 | /* The scanning functions. |
| 89 | 89 | ||
| @@ -97,18 +97,18 @@ extern void invalidate_region_cache P_ ((struct buffer *BUF, | |||
| 97 | /* Return true if the text immediately after POS in BUF is known, for | 97 | /* Return true if the text immediately after POS in BUF is known, for |
| 98 | the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest | 98 | the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest |
| 99 | position after POS where the knownness changes. */ | 99 | position after POS where the knownness changes. */ |
| 100 | extern int region_cache_forward P_ ((struct buffer *BUF, | 100 | extern int region_cache_forward (struct buffer *BUF, |
| 101 | struct region_cache *CACHE, | 101 | struct region_cache *CACHE, |
| 102 | int POS, | 102 | int POS, |
| 103 | int *NEXT)); | 103 | int *NEXT); |
| 104 | 104 | ||
| 105 | /* Return true if the text immediately before POS in BUF is known, for | 105 | /* Return true if the text immediately before POS in BUF is known, for |
| 106 | the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest | 106 | the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest |
| 107 | position before POS where the knownness changes. */ | 107 | position before POS where the knownness changes. */ |
| 108 | extern int region_cache_backward P_ ((struct buffer *BUF, | 108 | extern int region_cache_backward (struct buffer *BUF, |
| 109 | struct region_cache *CACHE, | 109 | struct region_cache *CACHE, |
| 110 | int POS, | 110 | int POS, |
| 111 | int *NEXT)); | 111 | int *NEXT); |
| 112 | 112 | ||
| 113 | /* arch-tag: 70f79125-ef22-4f58-9aec-a48ca2791435 | 113 | /* arch-tag: 70f79125-ef22-4f58-9aec-a48ca2791435 |
| 114 | (do not change this comment) */ | 114 | (do not change this comment) */ |
diff --git a/src/syntax.h b/src/syntax.h index ec8fab0166c..9eaf553f2e5 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -19,7 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | extern Lisp_Object Qsyntax_table_p; | 21 | extern Lisp_Object Qsyntax_table_p; |
| 22 | extern void update_syntax_table P_ ((int, int, int, Lisp_Object)); | 22 | extern void update_syntax_table (int, int, int, Lisp_Object); |
| 23 | 23 | ||
| 24 | /* The standard syntax table is stored where it will automatically | 24 | /* The standard syntax table is stored where it will automatically |
| 25 | be used in all new buffers. */ | 25 | be used in all new buffers. */ |
| @@ -346,9 +346,9 @@ struct gl_state_s | |||
| 346 | 346 | ||
| 347 | extern struct gl_state_s gl_state; | 347 | extern struct gl_state_s gl_state; |
| 348 | extern int parse_sexp_lookup_properties; | 348 | extern int parse_sexp_lookup_properties; |
| 349 | extern INTERVAL interval_of P_ ((int, Lisp_Object)); | 349 | extern INTERVAL interval_of (int, Lisp_Object); |
| 350 | 350 | ||
| 351 | extern int scan_words P_ ((int, int)); | 351 | extern int scan_words (int, int); |
| 352 | 352 | ||
| 353 | /* arch-tag: 28833cca-cd73-4741-8c85-a3111166a0e0 | 353 | /* arch-tag: 28833cca-cd73-4741-8c85-a3111166a0e0 |
| 354 | (do not change this comment) */ | 354 | (do not change this comment) */ |
diff --git a/src/syssignal.h b/src/syssignal.h index 71a69dfa413..35252c4b958 100644 --- a/src/syssignal.h +++ b/src/syssignal.h | |||
| @@ -17,7 +17,7 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 19 | ||
| 20 | extern void init_signals P_ ((void)); | 20 | extern void init_signals (void); |
| 21 | 21 | ||
| 22 | #if defined (HAVE_GTK_AND_PTHREAD) || defined (HAVE_NS) | 22 | #if defined (HAVE_GTK_AND_PTHREAD) || defined (HAVE_NS) |
| 23 | #include <pthread.h> | 23 | #include <pthread.h> |
| @@ -78,10 +78,10 @@ extern sigset_t sys_sigmask (); | |||
| 78 | appears to be assumed in the source, for example data.c:arith_error. */ | 78 | appears to be assumed in the source, for example data.c:arith_error. */ |
| 79 | typedef RETSIGTYPE (*signal_handler_t) (/*int*/); | 79 | typedef RETSIGTYPE (*signal_handler_t) (/*int*/); |
| 80 | 80 | ||
| 81 | signal_handler_t sys_signal P_ ((int signal_number, signal_handler_t action)); | 81 | signal_handler_t sys_signal (int signal_number, signal_handler_t action); |
| 82 | sigset_t sys_sigblock P_ ((sigset_t new_mask)); | 82 | sigset_t sys_sigblock (sigset_t new_mask); |
| 83 | sigset_t sys_sigunblock P_ ((sigset_t new_mask)); | 83 | sigset_t sys_sigunblock (sigset_t new_mask); |
| 84 | sigset_t sys_sigsetmask P_ ((sigset_t new_mask)); | 84 | sigset_t sys_sigsetmask (sigset_t new_mask); |
| 85 | 85 | ||
| 86 | #define sys_sigdel(MASK,SIG) sigdelset (&MASK,SIG) | 86 | #define sys_sigdel(MASK,SIG) sigdelset (&MASK,SIG) |
| 87 | 87 | ||
diff --git a/src/systime.h b/src/systime.h index 2f8d35805a4..bd789e9bd32 100644 --- a/src/systime.h +++ b/src/systime.h | |||
| @@ -136,17 +136,17 @@ extern time_t timezone; | |||
| 136 | #define EMACS_SET_SECS_USECS(time, secs, usecs) \ | 136 | #define EMACS_SET_SECS_USECS(time, secs, usecs) \ |
| 137 | (EMACS_SET_SECS (time, secs), EMACS_SET_USECS (time, usecs)) | 137 | (EMACS_SET_SECS (time, secs), EMACS_SET_USECS (time, usecs)) |
| 138 | 138 | ||
| 139 | extern int set_file_times __P ((const char *, EMACS_TIME, EMACS_TIME)); | 139 | extern int set_file_times (const char *, EMACS_TIME, EMACS_TIME); |
| 140 | 140 | ||
| 141 | /* defined in keyboard.c */ | 141 | /* defined in keyboard.c */ |
| 142 | extern void set_waiting_for_input __P ((EMACS_TIME *)); | 142 | extern void set_waiting_for_input (EMACS_TIME *); |
| 143 | 143 | ||
| 144 | /* When lisp.h is not included Lisp_Object is not defined (this can | 144 | /* When lisp.h is not included Lisp_Object is not defined (this can |
| 145 | happen when this files is used outside the src directory). | 145 | happen when this files is used outside the src directory). |
| 146 | Use GCPRO1 to determine if lisp.h was included. */ | 146 | Use GCPRO1 to determine if lisp.h was included. */ |
| 147 | #ifdef GCPRO1 | 147 | #ifdef GCPRO1 |
| 148 | /* defined in dired.c */ | 148 | /* defined in dired.c */ |
| 149 | extern Lisp_Object make_time __P ((time_t)); | 149 | extern Lisp_Object make_time (time_t); |
| 150 | #endif | 150 | #endif |
| 151 | 151 | ||
| 152 | /* Compare times T1 and T2. Value is 0 if T1 and T2 are the same. | 152 | /* Compare times T1 and T2. Value is 0 if T1 and T2 are the same. |
diff --git a/src/termhooks.h b/src/termhooks.h index 2b4011627c8..9af8a6c4f72 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -39,7 +39,7 @@ enum scroll_bar_part { | |||
| 39 | /* If the value of the frame parameter changed, whis hook is called. | 39 | /* If the value of the frame parameter changed, whis hook is called. |
| 40 | For example, if going from fullscreen to not fullscreen this hook | 40 | For example, if going from fullscreen to not fullscreen this hook |
| 41 | may do something OS dependent, like extended window manager hints on X11. */ | 41 | may do something OS dependent, like extended window manager hints on X11. */ |
| 42 | extern void (*fullscreen_hook) P_ ((struct frame *f)); | 42 | extern void (*fullscreen_hook) (struct frame *f); |
| 43 | 43 | ||
| 44 | 44 | ||
| 45 | /* Input queue declarations and hooks. */ | 45 | /* Input queue declarations and hooks. */ |
| @@ -415,28 +415,28 @@ struct terminal | |||
| 415 | 415 | ||
| 416 | /* Text display hooks. */ | 416 | /* Text display hooks. */ |
| 417 | 417 | ||
| 418 | void (*cursor_to_hook) P_ ((struct frame *f, int vpos, int hpos)); | 418 | void (*cursor_to_hook) (struct frame *f, int vpos, int hpos); |
| 419 | void (*raw_cursor_to_hook) P_ ((struct frame *, int, int)); | 419 | void (*raw_cursor_to_hook) (struct frame *, int, int); |
| 420 | 420 | ||
| 421 | void (*clear_to_end_hook) P_ ((struct frame *)); | 421 | void (*clear_to_end_hook) (struct frame *); |
| 422 | void (*clear_frame_hook) P_ ((struct frame *)); | 422 | void (*clear_frame_hook) (struct frame *); |
| 423 | void (*clear_end_of_line_hook) P_ ((struct frame *, int)); | 423 | void (*clear_end_of_line_hook) (struct frame *, int); |
| 424 | 424 | ||
| 425 | void (*ins_del_lines_hook) P_ ((struct frame *f, int, int)); | 425 | void (*ins_del_lines_hook) (struct frame *f, int, int); |
| 426 | 426 | ||
| 427 | void (*insert_glyphs_hook) P_ ((struct frame *f, struct glyph *s, int n)); | 427 | void (*insert_glyphs_hook) (struct frame *f, struct glyph *s, int n); |
| 428 | void (*write_glyphs_hook) P_ ((struct frame *f, struct glyph *s, int n)); | 428 | void (*write_glyphs_hook) (struct frame *f, struct glyph *s, int n); |
| 429 | void (*delete_glyphs_hook) P_ ((struct frame *, int)); | 429 | void (*delete_glyphs_hook) (struct frame *, int); |
| 430 | 430 | ||
| 431 | void (*ring_bell_hook) P_ ((struct frame *f)); | 431 | void (*ring_bell_hook) (struct frame *f); |
| 432 | void (*toggle_invisible_pointer_hook) P_ ((struct frame *f, int invisible)); | 432 | void (*toggle_invisible_pointer_hook) (struct frame *f, int invisible); |
| 433 | 433 | ||
| 434 | void (*reset_terminal_modes_hook) P_ ((struct terminal *)); | 434 | void (*reset_terminal_modes_hook) (struct terminal *); |
| 435 | void (*set_terminal_modes_hook) P_ ((struct terminal *)); | 435 | void (*set_terminal_modes_hook) (struct terminal *); |
| 436 | 436 | ||
| 437 | void (*update_begin_hook) P_ ((struct frame *)); | 437 | void (*update_begin_hook) (struct frame *); |
| 438 | void (*update_end_hook) P_ ((struct frame *)); | 438 | void (*update_end_hook) (struct frame *); |
| 439 | void (*set_terminal_window_hook) P_ ((struct frame *, int)); | 439 | void (*set_terminal_window_hook) (struct frame *, int); |
| 440 | 440 | ||
| 441 | /* Multi-frame and mouse support hooks. */ | 441 | /* Multi-frame and mouse support hooks. */ |
| 442 | 442 | ||
| @@ -458,12 +458,12 @@ struct terminal | |||
| 458 | 458 | ||
| 459 | This should clear mouse_moved until the next motion | 459 | This should clear mouse_moved until the next motion |
| 460 | event arrives. */ | 460 | event arrives. */ |
| 461 | void (*mouse_position_hook) P_ ((struct frame **f, int, | 461 | void (*mouse_position_hook) (struct frame **f, int, |
| 462 | Lisp_Object *bar_window, | 462 | Lisp_Object *bar_window, |
| 463 | enum scroll_bar_part *part, | 463 | enum scroll_bar_part *part, |
| 464 | Lisp_Object *x, | 464 | Lisp_Object *x, |
| 465 | Lisp_Object *y, | 465 | Lisp_Object *y, |
| 466 | unsigned long *time)); | 466 | unsigned long *time); |
| 467 | 467 | ||
| 468 | /* The window system handling code should set this if the mouse has | 468 | /* The window system handling code should set this if the mouse has |
| 469 | moved since the last call to the mouse_position_hook. Calling that | 469 | moved since the last call to the mouse_position_hook. Calling that |
| @@ -473,7 +473,7 @@ struct terminal | |||
| 473 | /* When a frame's focus redirection is changed, this hook tells the | 473 | /* When a frame's focus redirection is changed, this hook tells the |
| 474 | window system code to re-decide where to put the highlight. Under | 474 | window system code to re-decide where to put the highlight. Under |
| 475 | X, this means that Emacs lies about where the focus is. */ | 475 | X, this means that Emacs lies about where the focus is. */ |
| 476 | void (*frame_rehighlight_hook) P_ ((struct frame *)); | 476 | void (*frame_rehighlight_hook) (struct frame *); |
| 477 | 477 | ||
| 478 | /* If we're displaying frames using a window system that can stack | 478 | /* If we're displaying frames using a window system that can stack |
| 479 | frames on top of each other, this hook allows you to bring a frame | 479 | frames on top of each other, this hook allows you to bring a frame |
| @@ -485,12 +485,12 @@ struct terminal | |||
| 485 | If RAISE is non-zero, F is brought to the front, before all other | 485 | If RAISE is non-zero, F is brought to the front, before all other |
| 486 | windows. If RAISE is zero, F is sent to the back, behind all other | 486 | windows. If RAISE is zero, F is sent to the back, behind all other |
| 487 | windows. */ | 487 | windows. */ |
| 488 | void (*frame_raise_lower_hook) P_ ((struct frame *f, int raise)); | 488 | void (*frame_raise_lower_hook) (struct frame *f, int raise); |
| 489 | 489 | ||
| 490 | /* If the value of the frame parameter changed, whis hook is called. | 490 | /* If the value of the frame parameter changed, whis hook is called. |
| 491 | For example, if going from fullscreen to not fullscreen this hook | 491 | For example, if going from fullscreen to not fullscreen this hook |
| 492 | may do something OS dependent, like extended window manager hints on X11. */ | 492 | may do something OS dependent, like extended window manager hints on X11. */ |
| 493 | void (*fullscreen_hook) P_ ((struct frame *f)); | 493 | void (*fullscreen_hook) (struct frame *f); |
| 494 | 494 | ||
| 495 | 495 | ||
| 496 | /* Scroll bar hooks. */ | 496 | /* Scroll bar hooks. */ |
| @@ -520,9 +520,9 @@ struct terminal | |||
| 520 | indicate that we are displaying PORTION characters out of a total | 520 | indicate that we are displaying PORTION characters out of a total |
| 521 | of WHOLE characters, starting at POSITION. If WINDOW doesn't yet | 521 | of WHOLE characters, starting at POSITION. If WINDOW doesn't yet |
| 522 | have a scroll bar, create one for it. */ | 522 | have a scroll bar, create one for it. */ |
| 523 | void (*set_vertical_scroll_bar_hook) P_ ((struct window *window, | 523 | void (*set_vertical_scroll_bar_hook) (struct window *window, |
| 524 | int portion, int whole, | 524 | int portion, int whole, |
| 525 | int position)); | 525 | int position); |
| 526 | 526 | ||
| 527 | 527 | ||
| 528 | /* The following three hooks are used when we're doing a thorough | 528 | /* The following three hooks are used when we're doing a thorough |
| @@ -545,11 +545,11 @@ struct terminal | |||
| 545 | If non-zero, this hook should be safe to apply to any frame, | 545 | If non-zero, this hook should be safe to apply to any frame, |
| 546 | whether or not it can support scroll bars, and whether or not it is | 546 | whether or not it can support scroll bars, and whether or not it is |
| 547 | currently displaying them. */ | 547 | currently displaying them. */ |
| 548 | void (*condemn_scroll_bars_hook) P_ ((struct frame *frame)); | 548 | void (*condemn_scroll_bars_hook) (struct frame *frame); |
| 549 | 549 | ||
| 550 | /* Unmark WINDOW's scroll bar for deletion in this judgement cycle. | 550 | /* Unmark WINDOW's scroll bar for deletion in this judgement cycle. |
| 551 | Note that it's okay to redeem a scroll bar that is not condemned. */ | 551 | Note that it's okay to redeem a scroll bar that is not condemned. */ |
| 552 | void (*redeem_scroll_bar_hook) P_ ((struct window *window)); | 552 | void (*redeem_scroll_bar_hook) (struct window *window); |
| 553 | 553 | ||
| 554 | /* Remove all scroll bars on FRAME that haven't been saved since the | 554 | /* Remove all scroll bars on FRAME that haven't been saved since the |
| 555 | last call to `*condemn_scroll_bars_hook'. | 555 | last call to `*condemn_scroll_bars_hook'. |
| @@ -562,7 +562,7 @@ struct terminal | |||
| 562 | If non-zero, this hook should be safe to apply to any frame, | 562 | If non-zero, this hook should be safe to apply to any frame, |
| 563 | whether or not it can support scroll bars, and whether or not it is | 563 | whether or not it can support scroll bars, and whether or not it is |
| 564 | currently displaying them. */ | 564 | currently displaying them. */ |
| 565 | void (*judge_scroll_bars_hook) P_ ((struct frame *FRAME)); | 565 | void (*judge_scroll_bars_hook) (struct frame *FRAME); |
| 566 | 566 | ||
| 567 | 567 | ||
| 568 | /* Called to read input events. | 568 | /* Called to read input events. |
| @@ -584,17 +584,17 @@ struct terminal | |||
| 584 | Therefore, in most cases EXPECTED should be simply ignored. | 584 | Therefore, in most cases EXPECTED should be simply ignored. |
| 585 | 585 | ||
| 586 | XXX This documentation needs to be updated. */ | 586 | XXX This documentation needs to be updated. */ |
| 587 | int (*read_socket_hook) P_ ((struct terminal *terminal, | 587 | int (*read_socket_hook) (struct terminal *terminal, |
| 588 | int expected, | 588 | int expected, |
| 589 | struct input_event *hold_quit)); | 589 | struct input_event *hold_quit); |
| 590 | 590 | ||
| 591 | /* Called when a frame's display becomes entirely up to date. */ | 591 | /* Called when a frame's display becomes entirely up to date. */ |
| 592 | void (*frame_up_to_date_hook) P_ ((struct frame *)); | 592 | void (*frame_up_to_date_hook) (struct frame *); |
| 593 | 593 | ||
| 594 | 594 | ||
| 595 | /* Called to delete the device-specific portions of a frame that is | 595 | /* Called to delete the device-specific portions of a frame that is |
| 596 | on this terminal device. */ | 596 | on this terminal device. */ |
| 597 | void (*delete_frame_hook) P_ ((struct frame *)); | 597 | void (*delete_frame_hook) (struct frame *); |
| 598 | 598 | ||
| 599 | /* Called after the last frame on this terminal is deleted, or when | 599 | /* Called after the last frame on this terminal is deleted, or when |
| 600 | the display device was closed (hangup). | 600 | the display device was closed (hangup). |
| @@ -606,7 +606,7 @@ struct terminal | |||
| 606 | on the terminal. delete_frame ensures that there are no live | 606 | on the terminal. delete_frame ensures that there are no live |
| 607 | frames on the terminal when it calls this hook, so infinite | 607 | frames on the terminal when it calls this hook, so infinite |
| 608 | recursion is prevented. */ | 608 | recursion is prevented. */ |
| 609 | void (*delete_terminal_hook) P_ ((struct terminal *)); | 609 | void (*delete_terminal_hook) (struct terminal *); |
| 610 | }; | 610 | }; |
| 611 | 611 | ||
| 612 | 612 | ||
| @@ -647,10 +647,10 @@ extern struct terminal *terminal_list; | |||
| 647 | /* Return true if the terminal device is not suspended. */ | 647 | /* Return true if the terminal device is not suspended. */ |
| 648 | #define TERMINAL_ACTIVE_P(d) (((d)->type != output_termcap && (d)->type !=output_msdos_raw) || (d)->display_info.tty->input) | 648 | #define TERMINAL_ACTIVE_P(d) (((d)->type != output_termcap && (d)->type !=output_msdos_raw) || (d)->display_info.tty->input) |
| 649 | 649 | ||
| 650 | extern Lisp_Object get_terminal_param P_ ((struct terminal *, Lisp_Object)); | 650 | extern Lisp_Object get_terminal_param (struct terminal *, Lisp_Object); |
| 651 | extern struct terminal *get_terminal P_ ((Lisp_Object terminal, int)); | 651 | extern struct terminal *get_terminal (Lisp_Object terminal, int); |
| 652 | extern struct terminal *create_terminal P_ ((void)); | 652 | extern struct terminal *create_terminal (void); |
| 653 | extern void delete_terminal P_ ((struct terminal *)); | 653 | extern void delete_terminal (struct terminal *); |
| 654 | 654 | ||
| 655 | /* The initial terminal device, created by initial_term_init. */ | 655 | /* The initial terminal device, created by initial_term_init. */ |
| 656 | extern struct terminal *initial_terminal; | 656 | extern struct terminal *initial_terminal; |
diff --git a/src/w32term.h b/src/w32term.h index ea5f420a7dc..b5b3d4451f2 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -228,14 +228,14 @@ extern Lisp_Object Vx_pixel_size_width_font_regexp; | |||
| 228 | 228 | ||
| 229 | struct w32_display_info *x_display_info_for_name (); | 229 | struct w32_display_info *x_display_info_for_name (); |
| 230 | 230 | ||
| 231 | Lisp_Object display_x_get_resource P_ ((struct w32_display_info *, | 231 | Lisp_Object display_x_get_resource (struct w32_display_info *, |
| 232 | Lisp_Object, Lisp_Object, | 232 | Lisp_Object, Lisp_Object, |
| 233 | Lisp_Object, Lisp_Object)); | 233 | Lisp_Object, Lisp_Object); |
| 234 | 234 | ||
| 235 | extern struct w32_display_info *w32_term_init (); | 235 | extern struct w32_display_info *w32_term_init (); |
| 236 | 236 | ||
| 237 | extern int x_display_pixel_height P_ ((struct w32_display_info *)); | 237 | extern int x_display_pixel_height (struct w32_display_info *); |
| 238 | extern int x_display_pixel_width P_ ((struct w32_display_info *)); | 238 | extern int x_display_pixel_width (struct w32_display_info *); |
| 239 | 239 | ||
| 240 | 240 | ||
| 241 | #define PIX_TYPE COLORREF | 241 | #define PIX_TYPE COLORREF |
diff --git a/src/widget.h b/src/widget.h index 00c08914059..a1ddeb2e94f 100644 --- a/src/widget.h +++ b/src/widget.h | |||
| @@ -94,8 +94,8 @@ extern WidgetClass emacsFrameClass; | |||
| 94 | extern struct _DisplayContext* display_context; | 94 | extern struct _DisplayContext* display_context; |
| 95 | 95 | ||
| 96 | /* Special entrypoints */ | 96 | /* Special entrypoints */ |
| 97 | void EmacsFrameSetCharSize P_ ((Widget, int, int)); | 97 | void EmacsFrameSetCharSize (Widget, int, int); |
| 98 | void widget_store_internal_border P_ ((Widget widget)); | 98 | void widget_store_internal_border (Widget widget); |
| 99 | 99 | ||
| 100 | #endif /* _EmacsFrame_h */ | 100 | #endif /* _EmacsFrame_h */ |
| 101 | 101 | ||
diff --git a/src/window.h b/src/window.h index 17332f0af20..e9529487b14 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -785,25 +785,25 @@ EXFUN (Fwindow_vscroll, 2); | |||
| 785 | EXFUN (Fset_window_margins, 3); | 785 | EXFUN (Fset_window_margins, 3); |
| 786 | EXFUN (Fwindow_live_p, 1); | 786 | EXFUN (Fwindow_live_p, 1); |
| 787 | EXFUN (Fset_window_point, 2); | 787 | EXFUN (Fset_window_point, 2); |
| 788 | extern Lisp_Object make_window P_ ((void)); | 788 | extern Lisp_Object make_window (void); |
| 789 | extern void delete_window P_ ((Lisp_Object)); | 789 | extern void delete_window (Lisp_Object); |
| 790 | extern Lisp_Object window_from_coordinates P_ ((struct frame *, int, int, | 790 | extern Lisp_Object window_from_coordinates (struct frame *, int, int, |
| 791 | enum window_part *, | 791 | enum window_part *, |
| 792 | int *, int*, int)); | 792 | int *, int*, int); |
| 793 | EXFUN (Fwindow_dedicated_p, 1); | 793 | EXFUN (Fwindow_dedicated_p, 1); |
| 794 | extern int window_height P_ ((Lisp_Object)); | 794 | extern int window_height (Lisp_Object); |
| 795 | extern int window_width P_ ((Lisp_Object)); | 795 | extern int window_width (Lisp_Object); |
| 796 | EXFUN (Fwindow_full_width_p, 1); | 796 | EXFUN (Fwindow_full_width_p, 1); |
| 797 | extern void set_window_height P_ ((Lisp_Object, int, int)); | 797 | extern void set_window_height (Lisp_Object, int, int); |
| 798 | extern void set_window_width P_ ((Lisp_Object, int, int)); | 798 | extern void set_window_width (Lisp_Object, int, int); |
| 799 | extern void change_window_heights P_ ((Lisp_Object, int)); | 799 | extern void change_window_heights (Lisp_Object, int); |
| 800 | extern void delete_all_subwindows P_ ((struct window *)); | 800 | extern void delete_all_subwindows (struct window *); |
| 801 | extern void freeze_window_starts P_ ((struct frame *, int)); | 801 | extern void freeze_window_starts (struct frame *, int); |
| 802 | extern void foreach_window P_ ((struct frame *, | 802 | extern void foreach_window (struct frame *, |
| 803 | int (* fn) (struct window *, void *), | 803 | int (* fn) (struct window *, void *), |
| 804 | void *)); | 804 | void *); |
| 805 | extern void grow_mini_window P_ ((struct window *, int)); | 805 | extern void grow_mini_window (struct window *, int); |
| 806 | extern void shrink_mini_window P_ ((struct window *)); | 806 | extern void shrink_mini_window (struct window *); |
| 807 | 807 | ||
| 808 | void run_window_configuration_change_hook (struct frame *f); | 808 | void run_window_configuration_change_hook (struct frame *f); |
| 809 | 809 | ||
| @@ -811,8 +811,8 @@ void run_window_configuration_change_hook (struct frame *f); | |||
| 811 | means it's allowed to run hooks. See make_frame for a case where | 811 | means it's allowed to run hooks. See make_frame for a case where |
| 812 | it's not allowed. */ | 812 | it's not allowed. */ |
| 813 | 813 | ||
| 814 | void set_window_buffer P_ ((Lisp_Object window, Lisp_Object buffer, | 814 | void set_window_buffer (Lisp_Object window, Lisp_Object buffer, |
| 815 | int run_hooks_p, int keep_margins_p)); | 815 | int run_hooks_p, int keep_margins_p); |
| 816 | 816 | ||
| 817 | /* Prompt to display in front of the minibuffer contents. */ | 817 | /* Prompt to display in front of the minibuffer contents. */ |
| 818 | 818 | ||
| @@ -862,13 +862,13 @@ extern int buffer_shared; | |||
| 862 | /* If *ROWS or *COLS are too small a size for FRAME, set them to the | 862 | /* If *ROWS or *COLS are too small a size for FRAME, set them to the |
| 863 | minimum allowable size. */ | 863 | minimum allowable size. */ |
| 864 | 864 | ||
| 865 | extern void check_frame_size P_ ((struct frame *frame, int *rows, int *cols)); | 865 | extern void check_frame_size (struct frame *frame, int *rows, int *cols); |
| 866 | 866 | ||
| 867 | /* Return a pointer to the glyph W's physical cursor is on. Value is | 867 | /* Return a pointer to the glyph W's physical cursor is on. Value is |
| 868 | null if W's current matrix is invalid, so that no meaningfull glyph | 868 | null if W's current matrix is invalid, so that no meaningfull glyph |
| 869 | can be returned. */ | 869 | can be returned. */ |
| 870 | 870 | ||
| 871 | struct glyph *get_phys_cursor_glyph P_ ((struct window *w)); | 871 | struct glyph *get_phys_cursor_glyph (struct window *w); |
| 872 | 872 | ||
| 873 | /* Value is non-zero if WINDOW is a live window. */ | 873 | /* Value is non-zero if WINDOW is a live window. */ |
| 874 | 874 | ||
| @@ -891,24 +891,24 @@ EXFUN (Fsave_window_excursion, UNEVALLED); | |||
| 891 | EXFUN (Fsplit_window, 3); | 891 | EXFUN (Fsplit_window, 3); |
| 892 | EXFUN (Fset_window_configuration, 1); | 892 | EXFUN (Fset_window_configuration, 1); |
| 893 | EXFUN (Fcurrent_window_configuration, 1); | 893 | EXFUN (Fcurrent_window_configuration, 1); |
| 894 | extern int compare_window_configurations P_ ((Lisp_Object, Lisp_Object, int)); | 894 | extern int compare_window_configurations (Lisp_Object, Lisp_Object, int); |
| 895 | EXFUN (Fcoordinates_in_window_p, 2); | 895 | EXFUN (Fcoordinates_in_window_p, 2); |
| 896 | EXFUN (Fwindow_at, 3); | 896 | EXFUN (Fwindow_at, 3); |
| 897 | EXFUN (Fpos_visible_in_window_p, 3); | 897 | EXFUN (Fpos_visible_in_window_p, 3); |
| 898 | extern void mark_window_cursors_off P_ ((struct window *)); | 898 | extern void mark_window_cursors_off (struct window *); |
| 899 | extern int window_internal_height P_ ((struct window *)); | 899 | extern int window_internal_height (struct window *); |
| 900 | extern int window_internal_width P_ ((struct window *)); | 900 | extern int window_internal_width (struct window *); |
| 901 | EXFUN (Frecenter, 1); | 901 | EXFUN (Frecenter, 1); |
| 902 | EXFUN (Fscroll_other_window, 1); | 902 | EXFUN (Fscroll_other_window, 1); |
| 903 | EXFUN (Fset_window_start, 3); | 903 | EXFUN (Fset_window_start, 3); |
| 904 | extern void temp_output_buffer_show P_ ((Lisp_Object)); | 904 | extern void temp_output_buffer_show (Lisp_Object); |
| 905 | extern void replace_buffer_in_all_windows P_ ((Lisp_Object)); | 905 | extern void replace_buffer_in_all_windows (Lisp_Object); |
| 906 | extern void init_window_once P_ ((void)); | 906 | extern void init_window_once (void); |
| 907 | extern void init_window P_ ((void)); | 907 | extern void init_window (void); |
| 908 | extern void syms_of_window P_ ((void)); | 908 | extern void syms_of_window (void); |
| 909 | extern void keys_of_window P_ ((void)); | 909 | extern void keys_of_window (void); |
| 910 | 910 | ||
| 911 | extern int window_box_text_cols P_ ((struct window *w)); | 911 | extern int window_box_text_cols (struct window *w); |
| 912 | 912 | ||
| 913 | #endif /* not WINDOW_H_INCLUDED */ | 913 | #endif /* not WINDOW_H_INCLUDED */ |
| 914 | 914 | ||
diff --git a/src/xgselect.h b/src/xgselect.h index bae084f0d5c..f120d8866cf 100644 --- a/src/xgselect.h +++ b/src/xgselect.h | |||
| @@ -24,13 +24,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 24 | #include "systime.h" | 24 | #include "systime.h" |
| 25 | #include "sysselect.h" | 25 | #include "sysselect.h" |
| 26 | 26 | ||
| 27 | extern int xg_select P_ ((int max_fds, | 27 | extern int xg_select (int max_fds, |
| 28 | SELECT_TYPE *rfds, | 28 | SELECT_TYPE *rfds, |
| 29 | SELECT_TYPE *wfds, | 29 | SELECT_TYPE *wfds, |
| 30 | SELECT_TYPE *efds, | 30 | SELECT_TYPE *efds, |
| 31 | EMACS_TIME *timeout)); | 31 | EMACS_TIME *timeout); |
| 32 | 32 | ||
| 33 | extern void xgselect_initialize P_ ((void)); | 33 | extern void xgselect_initialize (void); |
| 34 | 34 | ||
| 35 | #endif /* XGSELECT_H */ | 35 | #endif /* XGSELECT_H */ |
| 36 | 36 | ||
diff --git a/src/xsettings.h b/src/xsettings.h index 53fca2ad6b5..50819d456c8 100644 --- a/src/xsettings.h +++ b/src/xsettings.h | |||
| @@ -24,11 +24,11 @@ EXFUN (Ffont_get_system_font, 0); | |||
| 24 | EXFUN (Ffont_get_system_normal_font, 0); | 24 | EXFUN (Ffont_get_system_normal_font, 0); |
| 25 | EXFUN (Ftool_bar_get_system_style, 0); | 25 | EXFUN (Ftool_bar_get_system_style, 0); |
| 26 | 26 | ||
| 27 | extern void xsettings_initialize P_ ((struct x_display_info *dpyinfo)); | 27 | extern void xsettings_initialize (struct x_display_info *dpyinfo); |
| 28 | extern void xft_settings_event P_ ((struct x_display_info *dpyinfo, | 28 | extern void xft_settings_event (struct x_display_info *dpyinfo, |
| 29 | XEvent *)); | 29 | XEvent *); |
| 30 | extern const char *xsettings_get_system_font P_ ((void)); | 30 | extern const char *xsettings_get_system_font (void); |
| 31 | extern const char *xsettings_get_system_normal_font P_ ((void)); | 31 | extern const char *xsettings_get_system_normal_font (void); |
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | #endif /* XSETTINGS_H */ | 34 | #endif /* XSETTINGS_H */ |
diff --git a/src/xterm.h b/src/xterm.h index beb2c0638dd..099c194ad72 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -378,13 +378,13 @@ extern int use_xim; | |||
| 378 | #endif | 378 | #endif |
| 379 | 379 | ||
| 380 | /* This checks to make sure we have a display. */ | 380 | /* This checks to make sure we have a display. */ |
| 381 | extern void check_x P_ ((void)); | 381 | extern void check_x (void); |
| 382 | 382 | ||
| 383 | extern struct frame *x_window_to_frame P_ ((struct x_display_info *, int)); | 383 | extern struct frame *x_window_to_frame (struct x_display_info *, int); |
| 384 | 384 | ||
| 385 | extern struct frame *x_any_window_to_frame P_ ((struct x_display_info *, int)); | 385 | extern struct frame *x_any_window_to_frame (struct x_display_info *, int); |
| 386 | extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, int)); | 386 | extern struct frame *x_menubar_window_to_frame (struct x_display_info *, int); |
| 387 | extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int)); | 387 | extern struct frame *x_top_window_to_frame (struct x_display_info *, int); |
| 388 | 388 | ||
| 389 | #if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) | 389 | #if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) |
| 390 | #define x_any_window_to_frame x_window_to_frame | 390 | #define x_any_window_to_frame x_window_to_frame |
| @@ -403,14 +403,14 @@ extern Lisp_Object x_display_name_list; | |||
| 403 | /* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */ | 403 | /* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */ |
| 404 | extern Lisp_Object Vx_pixel_size_width_font_regexp; | 404 | extern Lisp_Object Vx_pixel_size_width_font_regexp; |
| 405 | 405 | ||
| 406 | extern struct x_display_info *x_display_info_for_display P_ ((Display *)); | 406 | extern struct x_display_info *x_display_info_for_display (Display *); |
| 407 | extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object)); | 407 | extern struct x_display_info *x_display_info_for_name (Lisp_Object); |
| 408 | extern void x_set_frame_alpha P_ ((struct frame *)); | 408 | extern void x_set_frame_alpha (struct frame *); |
| 409 | 409 | ||
| 410 | extern struct x_display_info *x_term_init P_ ((Lisp_Object, char *, char *)); | 410 | extern struct x_display_info *x_term_init (Lisp_Object, char *, char *); |
| 411 | extern int x_display_ok P_ ((const char *)); | 411 | extern int x_display_ok (const char *); |
| 412 | 412 | ||
| 413 | extern void select_visual P_ ((struct x_display_info *)); | 413 | extern void select_visual (struct x_display_info *); |
| 414 | 414 | ||
| 415 | 415 | ||
| 416 | struct font; | 416 | struct font; |
| @@ -915,168 +915,168 @@ struct image; | |||
| 915 | 915 | ||
| 916 | /* From xselect.c. */ | 916 | /* From xselect.c. */ |
| 917 | 917 | ||
| 918 | void x_handle_selection_notify P_ ((XSelectionEvent *)); | 918 | void x_handle_selection_notify (XSelectionEvent *); |
| 919 | void x_handle_property_notify P_ ((XPropertyEvent *)); | 919 | void x_handle_property_notify (XPropertyEvent *); |
| 920 | 920 | ||
| 921 | /* From xfns.c. */ | 921 | /* From xfns.c. */ |
| 922 | 922 | ||
| 923 | Lisp_Object display_x_get_resource P_ ((struct x_display_info *, | 923 | Lisp_Object display_x_get_resource (struct x_display_info *, |
| 924 | Lisp_Object, Lisp_Object, | 924 | Lisp_Object, Lisp_Object, |
| 925 | Lisp_Object, Lisp_Object)); | 925 | Lisp_Object, Lisp_Object); |
| 926 | struct frame *check_x_frame P_ ((Lisp_Object)); | 926 | struct frame *check_x_frame (Lisp_Object); |
| 927 | EXFUN (Fx_display_color_p, 1); | 927 | EXFUN (Fx_display_color_p, 1); |
| 928 | EXFUN (Fx_display_grayscale_p, 1); | 928 | EXFUN (Fx_display_grayscale_p, 1); |
| 929 | extern void x_free_gcs P_ ((struct frame *)); | 929 | extern void x_free_gcs (struct frame *); |
| 930 | 930 | ||
| 931 | /* From xrdb.c. */ | 931 | /* From xrdb.c. */ |
| 932 | 932 | ||
| 933 | char *x_get_customization_string P_ ((XrmDatabase, char *, char *)); | 933 | char *x_get_customization_string (XrmDatabase, char *, char *); |
| 934 | XrmDatabase x_load_resources P_ ((Display *, char *, char *, char *)); | 934 | XrmDatabase x_load_resources (Display *, char *, char *, char *); |
| 935 | int x_get_resource P_ ((XrmDatabase, char *, char *, | 935 | int x_get_resource (XrmDatabase, char *, char *, |
| 936 | XrmRepresentation, XrmValue *)); | 936 | XrmRepresentation, XrmValue *); |
| 937 | void x_delete_display P_ ((struct x_display_info *)); | 937 | void x_delete_display (struct x_display_info *); |
| 938 | void x_make_frame_visible P_ ((struct frame *)); | 938 | void x_make_frame_visible (struct frame *); |
| 939 | void x_iconify_frame P_ ((struct frame *)); | 939 | void x_iconify_frame (struct frame *); |
| 940 | void x_wm_set_size_hint P_ ((struct frame *, long, int)); | 940 | void x_wm_set_size_hint (struct frame *, long, int); |
| 941 | int x_text_icon P_ ((struct frame *, char *)); | 941 | int x_text_icon (struct frame *, char *); |
| 942 | int x_bitmap_icon P_ ((struct frame *, Lisp_Object)); | 942 | int x_bitmap_icon (struct frame *, Lisp_Object); |
| 943 | void x_set_window_size P_ ((struct frame *, int, int, int)); | 943 | void x_set_window_size (struct frame *, int, int, int); |
| 944 | void x_wm_set_window_state P_ ((struct frame *, int)); | 944 | void x_wm_set_window_state (struct frame *, int); |
| 945 | int x_alloc_nearest_color P_ ((struct frame *, Colormap, XColor *)); | 945 | int x_alloc_nearest_color (struct frame *, Colormap, XColor *); |
| 946 | 946 | ||
| 947 | /* Defined in xterm.c */ | 947 | /* Defined in xterm.c */ |
| 948 | 948 | ||
| 949 | extern void cancel_mouse_face P_ ((struct frame *)); | 949 | extern void cancel_mouse_face (struct frame *); |
| 950 | extern void x_scroll_bar_clear P_ ((struct frame *)); | 950 | extern void x_scroll_bar_clear (struct frame *); |
| 951 | extern int x_text_icon P_ ((struct frame *, char *)); | 951 | extern int x_text_icon (struct frame *, char *); |
| 952 | extern int x_bitmap_icon P_ ((struct frame *, Lisp_Object)); | 952 | extern int x_bitmap_icon (struct frame *, Lisp_Object); |
| 953 | extern void x_catch_errors P_ ((Display *)); | 953 | extern void x_catch_errors (Display *); |
| 954 | extern void x_check_errors P_ ((Display *, char *)); | 954 | extern void x_check_errors (Display *, char *); |
| 955 | extern int x_had_errors_p P_ ((Display *)); | 955 | extern int x_had_errors_p (Display *); |
| 956 | extern int x_catching_errors P_ ((void)); | 956 | extern int x_catching_errors (void); |
| 957 | extern void x_uncatch_errors P_ ((void)); | 957 | extern void x_uncatch_errors (void); |
| 958 | extern void x_clear_errors P_ ((Display *)); | 958 | extern void x_clear_errors (Display *); |
| 959 | extern void x_set_window_size P_ ((struct frame *, int, int, int)); | 959 | extern void x_set_window_size (struct frame *, int, int, int); |
| 960 | extern void x_set_mouse_position P_ ((struct frame *, int, int)); | 960 | extern void x_set_mouse_position (struct frame *, int, int); |
| 961 | extern void x_set_mouse_pixel_position P_ ((struct frame *, int, int)); | 961 | extern void x_set_mouse_pixel_position (struct frame *, int, int); |
| 962 | extern void x_ewmh_activate_frame P_ ((struct frame *)); | 962 | extern void x_ewmh_activate_frame (struct frame *); |
| 963 | extern void x_raise_frame P_ ((struct frame *)); | 963 | extern void x_raise_frame (struct frame *); |
| 964 | extern void x_lower_frame P_ ((struct frame *)); | 964 | extern void x_lower_frame (struct frame *); |
| 965 | extern void x_make_frame_visible P_ ((struct frame *)); | 965 | extern void x_make_frame_visible (struct frame *); |
| 966 | extern void x_make_frame_invisible P_ ((struct frame *)); | 966 | extern void x_make_frame_invisible (struct frame *); |
| 967 | extern void x_iconify_frame P_ ((struct frame *)); | 967 | extern void x_iconify_frame (struct frame *); |
| 968 | extern void x_free_frame_resources P_ ((struct frame *)); | 968 | extern void x_free_frame_resources (struct frame *); |
| 969 | extern void x_destroy_window P_ ((struct frame *)); | 969 | extern void x_destroy_window (struct frame *); |
| 970 | extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); | 970 | extern void x_wm_set_size_hint (struct frame *, long, int); |
| 971 | extern void x_wm_set_window_state P_ ((struct frame *, int)); | 971 | extern void x_wm_set_window_state (struct frame *, int); |
| 972 | extern void x_wm_set_icon_pixmap P_ ((struct frame *, int)); | 972 | extern void x_wm_set_icon_pixmap (struct frame *, int); |
| 973 | extern void x_delete_display P_ ((struct x_display_info *)); | 973 | extern void x_delete_display (struct x_display_info *); |
| 974 | extern void x_delete_terminal P_ ((struct terminal *terminal)); | 974 | extern void x_delete_terminal (struct terminal *terminal); |
| 975 | extern void x_initialize P_ ((void)); | 975 | extern void x_initialize (void); |
| 976 | extern unsigned long x_copy_color P_ ((struct frame *, unsigned long)); | 976 | extern unsigned long x_copy_color (struct frame *, unsigned long); |
| 977 | #ifdef USE_X_TOOLKIT | 977 | #ifdef USE_X_TOOLKIT |
| 978 | extern XtAppContext Xt_app_con; | 978 | extern XtAppContext Xt_app_con; |
| 979 | extern int x_alloc_lighter_color_for_widget __P ((Widget, Display*, Colormap, | 979 | extern int x_alloc_lighter_color_for_widget (Widget, Display*, Colormap, |
| 980 | unsigned long *, | 980 | unsigned long *, |
| 981 | double, int)); | 981 | double, int); |
| 982 | extern void x_activate_timeout_atimer P_ ((void)); | 982 | extern void x_activate_timeout_atimer (void); |
| 983 | #endif | 983 | #endif |
| 984 | extern void x_query_colors P_ ((struct frame *f, XColor *, int)); | 984 | extern void x_query_colors (struct frame *f, XColor *, int); |
| 985 | extern void x_query_color P_ ((struct frame *f, XColor *)); | 985 | extern void x_query_color (struct frame *f, XColor *); |
| 986 | extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); | 986 | extern void x_clear_area (Display *, Window, int, int, int, int, int); |
| 987 | extern void set_vertical_scroll_bar P_ ((struct window *)); | 987 | extern void set_vertical_scroll_bar (struct window *); |
| 988 | 988 | ||
| 989 | extern int x_dispatch_event P_ ((XEvent *, Display *)); | 989 | extern int x_dispatch_event (XEvent *, Display *); |
| 990 | extern unsigned int x_x_to_emacs_modifiers P_ ((struct x_display_info *, | 990 | extern unsigned int x_x_to_emacs_modifiers (struct x_display_info *, |
| 991 | unsigned)); | 991 | unsigned); |
| 992 | extern int x_display_pixel_height P_ ((struct x_display_info *)); | 992 | extern int x_display_pixel_height (struct x_display_info *); |
| 993 | extern int x_display_pixel_width P_ ((struct x_display_info *)); | 993 | extern int x_display_pixel_width (struct x_display_info *); |
| 994 | 994 | ||
| 995 | extern void x_set_sticky P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 995 | extern void x_set_sticky (struct frame *, Lisp_Object, Lisp_Object); |
| 996 | extern void x_wait_for_event P_ ((struct frame *, int)); | 996 | extern void x_wait_for_event (struct frame *, int); |
| 997 | 997 | ||
| 998 | /* Defined in xselect.c */ | 998 | /* Defined in xselect.c */ |
| 999 | 999 | ||
| 1000 | extern void x_handle_property_notify P_ ((XPropertyEvent *)); | 1000 | extern void x_handle_property_notify (XPropertyEvent *); |
| 1001 | extern void x_handle_selection_notify P_ ((XSelectionEvent *)); | 1001 | extern void x_handle_selection_notify (XSelectionEvent *); |
| 1002 | extern void x_handle_selection_event P_ ((struct input_event *)); | 1002 | extern void x_handle_selection_event (struct input_event *); |
| 1003 | extern void x_clear_frame_selections P_ ((struct frame *)); | 1003 | extern void x_clear_frame_selections (struct frame *); |
| 1004 | 1004 | ||
| 1005 | extern int x_handle_dnd_message P_ ((struct frame *, | 1005 | extern int x_handle_dnd_message (struct frame *, |
| 1006 | XClientMessageEvent *, | 1006 | XClientMessageEvent *, |
| 1007 | struct x_display_info *, | 1007 | struct x_display_info *, |
| 1008 | struct input_event *bufp)); | 1008 | struct input_event *bufp); |
| 1009 | extern int x_check_property_data P_ ((Lisp_Object)); | 1009 | extern int x_check_property_data (Lisp_Object); |
| 1010 | extern void x_fill_property_data P_ ((Display *, | 1010 | extern void x_fill_property_data (Display *, |
| 1011 | Lisp_Object, | 1011 | Lisp_Object, |
| 1012 | void *, | 1012 | void *, |
| 1013 | int)); | 1013 | int); |
| 1014 | extern Lisp_Object x_property_data_to_lisp P_ ((struct frame *, | 1014 | extern Lisp_Object x_property_data_to_lisp (struct frame *, |
| 1015 | unsigned char *, | 1015 | unsigned char *, |
| 1016 | Atom, | 1016 | Atom, |
| 1017 | int, | 1017 | int, |
| 1018 | unsigned long)); | 1018 | unsigned long); |
| 1019 | 1019 | ||
| 1020 | /* Defined in xfns.c */ | 1020 | /* Defined in xfns.c */ |
| 1021 | 1021 | ||
| 1022 | extern struct x_display_info * check_x_display_info P_ ((Lisp_Object frame)); | 1022 | extern struct x_display_info * check_x_display_info (Lisp_Object frame); |
| 1023 | 1023 | ||
| 1024 | #ifdef USE_GTK | 1024 | #ifdef USE_GTK |
| 1025 | extern int xg_set_icon P_ ((struct frame *, Lisp_Object)); | 1025 | extern int xg_set_icon (struct frame *, Lisp_Object); |
| 1026 | extern int xg_set_icon_from_xpm_data P_ ((struct frame *, char**)); | 1026 | extern int xg_set_icon_from_xpm_data (struct frame *, char**); |
| 1027 | #endif /* USE_GTK */ | 1027 | #endif /* USE_GTK */ |
| 1028 | 1028 | ||
| 1029 | extern void x_real_positions P_ ((struct frame *, int *, int *)); | 1029 | extern void x_real_positions (struct frame *, int *, int *); |
| 1030 | extern int defined_color P_ ((struct frame *, char *, XColor *, int)); | 1030 | extern int defined_color (struct frame *, char *, XColor *, int); |
| 1031 | extern void x_set_border_pixel P_ ((struct frame *, int)); | 1031 | extern void x_set_border_pixel (struct frame *, int); |
| 1032 | extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1032 | extern void x_set_menu_bar_lines (struct frame *, Lisp_Object, Lisp_Object); |
| 1033 | extern void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1033 | extern void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object); |
| 1034 | extern void xic_free_xfontset P_ ((struct frame *)); | 1034 | extern void xic_free_xfontset (struct frame *); |
| 1035 | extern void create_frame_xic P_ ((struct frame *)); | 1035 | extern void create_frame_xic (struct frame *); |
| 1036 | extern void destroy_frame_xic P_ ((struct frame *)); | 1036 | extern void destroy_frame_xic (struct frame *); |
| 1037 | extern void xic_set_preeditarea P_ ((struct window *, int, int)); | 1037 | extern void xic_set_preeditarea (struct window *, int, int); |
| 1038 | extern void xic_set_statusarea P_ ((struct frame *)); | 1038 | extern void xic_set_statusarea (struct frame *); |
| 1039 | extern void xic_set_xfontset P_ ((struct frame *, char *)); | 1039 | extern void xic_set_xfontset (struct frame *, char *); |
| 1040 | extern int x_pixel_width P_ ((struct frame *)); | 1040 | extern int x_pixel_width (struct frame *); |
| 1041 | extern int x_pixel_height P_ ((struct frame *)); | 1041 | extern int x_pixel_height (struct frame *); |
| 1042 | extern int x_char_width P_ ((struct frame *)); | 1042 | extern int x_char_width (struct frame *); |
| 1043 | extern int x_char_height P_ ((struct frame *)); | 1043 | extern int x_char_height (struct frame *); |
| 1044 | extern int x_screen_planes P_ ((struct frame *)); | 1044 | extern int x_screen_planes (struct frame *); |
| 1045 | extern void x_sync P_ ((struct frame *)); | 1045 | extern void x_sync (struct frame *); |
| 1046 | extern int x_defined_color P_ ((struct frame *, char *, XColor *, int)); | 1046 | extern int x_defined_color (struct frame *, char *, XColor *, int); |
| 1047 | #ifdef HAVE_X_I18N | 1047 | #ifdef HAVE_X_I18N |
| 1048 | extern void free_frame_xic P_ ((struct frame *)); | 1048 | extern void free_frame_xic (struct frame *); |
| 1049 | #endif | 1049 | #endif |
| 1050 | extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 1050 | extern void x_set_tool_bar_lines (struct frame *, Lisp_Object, Lisp_Object); |
| 1051 | 1051 | ||
| 1052 | /* Defined in xfaces.c */ | 1052 | /* Defined in xfaces.c */ |
| 1053 | 1053 | ||
| 1054 | extern int compute_glyph_face P_ ((struct frame *, int, int)); | 1054 | extern int compute_glyph_face (struct frame *, int, int); |
| 1055 | extern int compute_glyph_face_1 P_ ((struct frame *, Lisp_Object, int)); | 1055 | extern int compute_glyph_face_1 (struct frame *, Lisp_Object, int); |
| 1056 | extern void x_free_dpy_colors P_ ((Display *, Screen *, Colormap, | 1056 | extern void x_free_dpy_colors (Display *, Screen *, Colormap, |
| 1057 | unsigned long *, int)); | 1057 | unsigned long *, int); |
| 1058 | 1058 | ||
| 1059 | /* Defined in xmenu.c */ | 1059 | /* Defined in xmenu.c */ |
| 1060 | 1060 | ||
| 1061 | extern void x_menu_set_in_use P_ ((int)); | 1061 | extern void x_menu_set_in_use (int); |
| 1062 | extern void x_menu_wait_for_event P_ ((void *data)); | 1062 | extern void x_menu_wait_for_event (void *data); |
| 1063 | extern void x_activate_menubar P_ ((struct frame *)); | 1063 | extern void x_activate_menubar (struct frame *); |
| 1064 | extern int popup_activated P_ ((void)); | 1064 | extern int popup_activated (void); |
| 1065 | extern void initialize_frame_menubar P_ ((struct frame *)); | 1065 | extern void initialize_frame_menubar (struct frame *); |
| 1066 | extern void free_frame_menubar P_ ((struct frame *)); | 1066 | extern void free_frame_menubar (struct frame *); |
| 1067 | 1067 | ||
| 1068 | /* Defined in widget.c */ | 1068 | /* Defined in widget.c */ |
| 1069 | 1069 | ||
| 1070 | #ifdef USE_X_TOOLKIT | 1070 | #ifdef USE_X_TOOLKIT |
| 1071 | extern void widget_store_internal_border P_ ((Widget)); | 1071 | extern void widget_store_internal_border (Widget); |
| 1072 | #endif | 1072 | #endif |
| 1073 | 1073 | ||
| 1074 | /* Defined in xsmfns.c */ | 1074 | /* Defined in xsmfns.c */ |
| 1075 | #ifdef HAVE_X_SM | 1075 | #ifdef HAVE_X_SM |
| 1076 | extern void x_session_initialize P_ ((struct x_display_info *dpyinfo)); | 1076 | extern void x_session_initialize (struct x_display_info *dpyinfo); |
| 1077 | extern int x_session_check_input P_ ((struct input_event *bufp)); | 1077 | extern int x_session_check_input (struct input_event *bufp); |
| 1078 | extern int x_session_have_connection P_ ((void)); | 1078 | extern int x_session_have_connection (void); |
| 1079 | extern void x_session_close P_ ((void)); | 1079 | extern void x_session_close (void); |
| 1080 | #endif | 1080 | #endif |
| 1081 | 1081 | ||
| 1082 | /* XEmbed implementation. */ | 1082 | /* XEmbed implementation. */ |
| @@ -1129,10 +1129,10 @@ enum xembed_accelerator | |||
| 1129 | 1129 | ||
| 1130 | /* Defined in xterm.c */ | 1130 | /* Defined in xterm.c */ |
| 1131 | 1131 | ||
| 1132 | extern void xembed_set_info P_ ((struct frame *f, enum xembed_info flags)); | 1132 | extern void xembed_set_info (struct frame *f, enum xembed_info flags); |
| 1133 | extern void xembed_send_message P_ ((struct frame *f, Time time, | 1133 | extern void xembed_send_message (struct frame *f, Time time, |
| 1134 | enum xembed_message message, | 1134 | enum xembed_message message, |
| 1135 | long detail, long data1, long data2)); | 1135 | long detail, long data1, long data2); |
| 1136 | 1136 | ||
| 1137 | /* Is the frame embedded into another application? */ | 1137 | /* Is the frame embedded into another application? */ |
| 1138 | 1138 | ||