diff options
| author | Paul Eggert | 2011-11-08 12:05:27 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-11-08 12:05:27 -0800 |
| commit | 09db192c23bc7205341a075b41d101a7bdf786ed (patch) | |
| tree | dbf77a06e084bcc7853156f294a9946c6f38c8ad /src/dispextern.h | |
| parent | 0edcba87d0297124b988fb5c22b20a0c6ac13af1 (diff) | |
| download | emacs-09db192c23bc7205341a075b41d101a7bdf786ed.tar.gz emacs-09db192c23bc7205341a075b41d101a7bdf786ed.zip | |
Avoid some portability problems by eschewing 'extern inline' functions.
The trivial performance wins aren't worth the portability hassles; see
<http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00084.html>
et seq.
* dispextern.h (window_box, window_box_height, window_text_bottom_y)
(window_box_width, window_box_left, window_box_left_offset)
(window_box_right, window_box_right_offset): Undo previous change,
by removing the "extern"s.
* intervals.c (adjust_intervals_for_insertion)
(adjust_intervals_for_deletion): Undo previous change,
making these static again.
(offset_intervals, temp_set_point_both, temp_set_point)
(copy_intervals_to_string): No longer inline.
* xdisp.c (window_text_bottom_y, window_box_width)
(window_box_height, window_box_left_offset)
(window_box_right_offset, window_box_left, window_box_right)
(window_box): No longer inline.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index fdc7f2f908d..5c60a5499da 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -3006,14 +3006,14 @@ int resize_mini_window (struct window *, int); | |||
| 3006 | void set_vertical_scroll_bar (struct window *); | 3006 | void set_vertical_scroll_bar (struct window *); |
| 3007 | #endif | 3007 | #endif |
| 3008 | int try_window (Lisp_Object, struct text_pos, int); | 3008 | int try_window (Lisp_Object, struct text_pos, int); |
| 3009 | extern void window_box (struct window *, int, int *, int *, int *, int *); | 3009 | void window_box (struct window *, int, int *, int *, int *, int *); |
| 3010 | extern int window_box_height (struct window *); | 3010 | int window_box_height (struct window *); |
| 3011 | extern int window_text_bottom_y (struct window *); | 3011 | int window_text_bottom_y (struct window *); |
| 3012 | extern int window_box_width (struct window *, int); | 3012 | int window_box_width (struct window *, int); |
| 3013 | extern int window_box_left (struct window *, int); | 3013 | int window_box_left (struct window *, int); |
| 3014 | extern int window_box_left_offset (struct window *, int); | 3014 | int window_box_left_offset (struct window *, int); |
| 3015 | extern int window_box_right (struct window *, int); | 3015 | int window_box_right (struct window *, int); |
| 3016 | extern int window_box_right_offset (struct window *, int); | 3016 | int window_box_right_offset (struct window *, int); |
| 3017 | int estimate_mode_line_height (struct frame *, enum face_id); | 3017 | int estimate_mode_line_height (struct frame *, enum face_id); |
| 3018 | void pixel_to_glyph_coords (struct frame *, int, int, int *, int *, | 3018 | void pixel_to_glyph_coords (struct frame *, int, int, int *, int *, |
| 3019 | NativeRectangle *, int); | 3019 | NativeRectangle *, int); |