diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-18 11:31:40 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-18 11:36:07 -0300 |
commit | 5aca2a6cd8fba00b34b2d3b64a802397d24cd28d (patch) | |
tree | 624347373111f5ada81a61c5451b3acdd6bc05ab /src/nvim/api/vim.c | |
parent | 72907c34f47ade2ddd9e8565c12dc8e1eebe0730 (diff) | |
download | rneovim-5aca2a6cd8fba00b34b2d3b64a802397d24cd28d.tar.gz rneovim-5aca2a6cd8fba00b34b2d3b64a802397d24cd28d.tar.bz2 rneovim-5aca2a6cd8fba00b34b2d3b64a802397d24cd28d.zip |
api: Rename find_{buffer,window,tabpage}
They were renamed to find_{buffer,window,tabpage}_by_handle to avoid conflicts
with existing functions of the same name.
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index b99311a61a..e7261e1096 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -291,7 +291,7 @@ Buffer vim_get_current_buffer(void) /// @param[out] err Details of an error that may have occurred void vim_set_current_buffer(Buffer buffer, Error *err) { - buf_T *buf = find_buffer(buffer, err); + buf_T *buf = find_buffer_by_handle(buffer, err); if (!buf) { return; @@ -348,7 +348,7 @@ Window vim_get_current_window(void) /// @param handle The window handle void vim_set_current_window(Window window, Error *err) { - win_T *win = find_window(window, err); + win_T *win = find_window_by_handle(window, err); if (!win) { return; @@ -407,7 +407,7 @@ Tabpage vim_get_current_tabpage(void) /// @param[out] err Details of an error that may have occurred void vim_set_current_tabpage(Tabpage tabpage, Error *err) { - tabpage_T *tp = find_tab(tabpage, err); + tabpage_T *tp = find_tab_by_handle(tabpage, err); if (!tp) { return; |