* window.h (WSET): Remove.
commite8c17b818670b73acc2499b501aef3aab2ae8e58
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 18 Aug 2012 01:42:52 +0000 (17 18:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 18 Aug 2012 01:42:52 +0000 (17 18:42 -0700)
treec337fcdcfe153432f7af6ceccae7e09dc80f0285
parent3f22b86fc7d9b66ff3e332b9a56350e93ddbd0aa
* window.h (WSET): Remove.

Replace all uses with calls to new setter functions.
Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
(WINDOW_INLINE): New macro.
(wset_buffer, wset_frame, wset_left_col, wset_next, wset_prev)
(wset_redisplay_end_trigger, wset_top_line, wset_total_cols)
(wset_total_lines, wset_vertical_scroll_bar)
(wset_window_end_pos, wset_window_end_valid)
(wset_window_end_vpos): New setter functions.
* window.c (WINDOW_INLINE):
Define to EXTERN_INLINE, so that the corresponding functions
are compiled into code.
(wset_combination_limit, wset_dedicated, wset_display_table)
(wset_hchild, wset_left_fringe_width, wset_left_margin_cols)
(wset_new_normal, wset_new_total, wset_next_buffers)
(wset_normal_cols, wset_normal_lines, wset_parent, wset_pointm)
(wset_prev_buffers, wset_right_fringe_width)
(wset_right_margin_cols, wset_scroll_bar_width, wset_start)
(wset_temslot, wset_vchild, wset_vertical_scroll_bar_type)
(wset_window_parameters):
* xdisp.c (wset_base_line_number, wset_base_line_pos)
(wset_column_number_displayed, wset_region_showing):
New setter functions.

Fixes: debbugs:12215
12 files changed:
src/ChangeLog
src/dispnew.c
src/frame.c
src/indent.c
src/nsterm.m
src/w32fns.c
src/w32term.c
src/window.c
src/window.h
src/xdisp.c
src/xfns.c
src/xterm.c