Lines Matching refs:win

991 ruby_window_free(win_T *win)  in ruby_window_free()  argument
993 if (win->w_ruby_ref) in ruby_window_free()
995 rb_hash_aset(objtbl, rb_obj_id((VALUE) win->w_ruby_ref), Qnil); in ruby_window_free()
996 RDATA(win->w_ruby_ref)->data = NULL; in ruby_window_free()
1574 window_dsize(const void *win UNUSED) in window_dsize()
1581 window_new(win_T *win) in window_new() argument
1583 if (win->w_ruby_ref) in window_new()
1585 return (VALUE) win->w_ruby_ref; in window_new()
1590 VALUE obj = TypedData_Wrap_Struct(cVimWindow, &window_type, win); in window_new()
1592 VALUE obj = Data_Wrap_Struct(cVimWindow, 0, 0, win); in window_new()
1594 win->w_ruby_ref = (void *) obj; in window_new()
1603 win_T *win; in get_win() local
1606 TypedData_Get_Struct(obj, win_T, &window_type, win); in get_win()
1608 Data_Get_Struct(obj, win_T, win); in get_win()
1610 if (win == NULL) in get_win()
1612 return win; in get_win()
1675 win_T *win = get_win(self); in window_buffer() local
1677 return buffer_new(win->w_buffer); in window_buffer()
1683 win_T *win = get_win(self); in window_height() local
1685 return INT2NUM(win->w_height); in window_height()
1691 win_T *win = get_win(self); in window_set_height() local
1694 curwin = win; in window_set_height()
1709 win_T *win = get_win(self); in window_set_width() local
1712 curwin = win; in window_set_width()
1721 win_T *win = get_win(self); in window_cursor() local
1723 return rb_assoc_new(INT2NUM(win->w_cursor.lnum), INT2NUM(win->w_cursor.col)); in window_cursor()
1730 win_T *win = get_win(self); in window_set_cursor() local
1737 win->w_cursor.lnum = NUM2LONG(lnum); in window_set_cursor()
1738 win->w_cursor.col = NUM2UINT(col); in window_set_cursor()
1739 win->w_set_curswant = TRUE; in window_set_cursor()