aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorPaul Eggert2011-11-08 12:05:27 -0800
committerPaul Eggert2011-11-08 12:05:27 -0800
commit09db192c23bc7205341a075b41d101a7bdf786ed (patch)
treedbf77a06e084bcc7853156f294a9946c6f38c8ad /src/dispextern.h
parent0edcba87d0297124b988fb5c22b20a0c6ac13af1 (diff)
downloademacs-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.h16
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);
3006void set_vertical_scroll_bar (struct window *); 3006void set_vertical_scroll_bar (struct window *);
3007#endif 3007#endif
3008int try_window (Lisp_Object, struct text_pos, int); 3008int try_window (Lisp_Object, struct text_pos, int);
3009extern void window_box (struct window *, int, int *, int *, int *, int *); 3009void window_box (struct window *, int, int *, int *, int *, int *);
3010extern int window_box_height (struct window *); 3010int window_box_height (struct window *);
3011extern int window_text_bottom_y (struct window *); 3011int window_text_bottom_y (struct window *);
3012extern int window_box_width (struct window *, int); 3012int window_box_width (struct window *, int);
3013extern int window_box_left (struct window *, int); 3013int window_box_left (struct window *, int);
3014extern int window_box_left_offset (struct window *, int); 3014int window_box_left_offset (struct window *, int);
3015extern int window_box_right (struct window *, int); 3015int window_box_right (struct window *, int);
3016extern int window_box_right_offset (struct window *, int); 3016int window_box_right_offset (struct window *, int);
3017int estimate_mode_line_height (struct frame *, enum face_id); 3017int estimate_mode_line_height (struct frame *, enum face_id);
3018void pixel_to_glyph_coords (struct frame *, int, int, int *, int *, 3018void pixel_to_glyph_coords (struct frame *, int, int, int *, int *,
3019 NativeRectangle *, int); 3019 NativeRectangle *, int);