diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-23 18:10:52 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-23 18:10:52 -0300 |
commit | 9e95c8aa331e3872253e7a06be32103b440bc97f (patch) | |
tree | d25a81cd37939466e5b9c8b33b3566f9aefbdf49 /src/nvim/api/vim.h | |
parent | f1e52c496ddb89f830cdbc4f23d756131106b97f (diff) | |
parent | 6c96e42e2c18bd6ae685b5a41c69b03954aa0375 (diff) | |
download | rneovim-9e95c8aa331e3872253e7a06be32103b440bc97f.tar.gz rneovim-9e95c8aa331e3872253e7a06be32103b440bc97f.tar.bz2 rneovim-9e95c8aa331e3872253e7a06be32103b440bc97f.zip |
Merge branch 'use-uids-for-api-remote-objects'
Diffstat (limited to 'src/nvim/api/vim.h')
-rw-r--r-- | src/nvim/api/vim.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/api/vim.h b/src/nvim/api/vim.h index 4ecc9fc2d0..acfab11cf7 100644 --- a/src/nvim/api/vim.h +++ b/src/nvim/api/vim.h @@ -4,7 +4,7 @@ #include <stdint.h> #include <stdbool.h> -#include "nvim/api/defs.h" +#include "nvim/api/private/defs.h" /// Send keys to vim input buffer, simulating user input. /// @@ -108,10 +108,10 @@ void vim_out_write(String str); /// @param str The message void vim_err_write(String str); -/// Gets the number of buffers +/// Gets the current list of buffer handles /// /// @return The number of buffers -Integer vim_get_buffer_count(void); +BufferArray vim_get_buffers(void); /// Return the current buffer /// @@ -124,10 +124,10 @@ 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); -/// Gets the number of windows +/// Gets the current list of window handles /// /// @return The number of windows -Integer vim_get_window_count(void); +WindowArray vim_get_windows(void); /// Return the current window /// @@ -139,10 +139,10 @@ Window vim_get_current_window(void); /// @param handle The window handle void vim_set_current_window(Window window, Error *err); -/// Gets the number of tab pages +/// Gets the current list of tabpage handles /// /// @return The number of tab pages -Integer vim_get_tabpage_count(void); +TabpageArray vim_get_tabpages(void); /// Return the current tab page /// |