comparison src/window.c @ 5025:322441058afc v7.3.1256

updated for version 7.3.1256 Problem: Can't build without eval or autocmd feature. Solution: Add #ifdefs.
author Bram Moolenaar <bram@vim.org>
date Fri, 28 Jun 2013 20:16:55 +0200
parents a1b41dabc682
children cad8d29b0bc0
comparison
equal deleted inserted replaced
5024:7a2ffd685c0e 5025:322441058afc
51 static void win_enter_ext __ARGS((win_T *wp, int undo_sync, int no_curwin, int trigger_enter_autocmds, int trigger_leave_autocmds)); 51 static void win_enter_ext __ARGS((win_T *wp, int undo_sync, int no_curwin, int trigger_enter_autocmds, int trigger_leave_autocmds));
52 static void win_free __ARGS((win_T *wp, tabpage_T *tp)); 52 static void win_free __ARGS((win_T *wp, tabpage_T *tp));
53 static void frame_append __ARGS((frame_T *after, frame_T *frp)); 53 static void frame_append __ARGS((frame_T *after, frame_T *frp));
54 static void frame_insert __ARGS((frame_T *before, frame_T *frp)); 54 static void frame_insert __ARGS((frame_T *before, frame_T *frp));
55 static void frame_remove __ARGS((frame_T *frp)); 55 static void frame_remove __ARGS((frame_T *frp));
56 #ifdef FEAT_VERTSPLIT 56 # ifdef FEAT_VERTSPLIT
57 static void win_goto_ver __ARGS((int up, long count)); 57 static void win_goto_ver __ARGS((int up, long count));
58 static void win_goto_hor __ARGS((int left, long count)); 58 static void win_goto_hor __ARGS((int left, long count));
59 #endif 59 # endif
60 static void frame_add_height __ARGS((frame_T *frp, int n)); 60 static void frame_add_height __ARGS((frame_T *frp, int n));
61 static void last_status_rec __ARGS((frame_T *fr, int statusline)); 61 static void last_status_rec __ARGS((frame_T *fr, int statusline));
62 62
63 static void make_snapshot_rec __ARGS((frame_T *fr, frame_T **frp)); 63 static void make_snapshot_rec __ARGS((frame_T *fr, frame_T **frp));
64 static void clear_snapshot __ARGS((tabpage_T *tp, int idx)); 64 static void clear_snapshot __ARGS((tabpage_T *tp, int idx));
6926 # endif 6926 # endif
6927 return i; 6927 return i;
6928 } 6928 }
6929 #endif 6929 #endif
6930 6930
6931 #ifdef FEAT_WINDOWS
6931 /* 6932 /*
6932 * Return TRUE if "topfrp" and its children are at the right height. 6933 * Return TRUE if "topfrp" and its children are at the right height.
6933 */ 6934 */
6934 static int 6935 static int
6935 frame_check_height(topfrp, height) 6936 frame_check_height(topfrp, height)
6946 if (frp->fr_height != height) 6947 if (frp->fr_height != height)
6947 return FALSE; 6948 return FALSE;
6948 6949
6949 return TRUE; 6950 return TRUE;
6950 } 6951 }
6952 #endif
6951 6953
6952 #ifdef FEAT_VERTSPLIT 6954 #ifdef FEAT_VERTSPLIT
6953 /* 6955 /*
6954 * Return TRUE if "topfrp" and its children are at the right width. 6956 * Return TRUE if "topfrp" and its children are at the right width.
6955 */ 6957 */