aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/tabpage.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-23 15:49:44 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-23 16:06:58 -0300
commita842fe4dc1e0624a6332ee0fef40517e7925dfb4 (patch)
treea7a870dcff8ddbaaf00d7a4eb78b209dfc0b1ad5 /src/nvim/api/tabpage.h
parentf70f9bfac1ae62828d222bc6ccb528e6e93be523 (diff)
downloadrneovim-a842fe4dc1e0624a6332ee0fef40517e7925dfb4.tar.gz
rneovim-a842fe4dc1e0624a6332ee0fef40517e7925dfb4.tar.bz2
rneovim-a842fe4dc1e0624a6332ee0fef40517e7925dfb4.zip
API: Refactor: Return handles instead of indexes
- Define specialized arrays for each remote object type - Implement msgpack_rpc functions for dealing with the new types - Refactor all functions dealing with buffers, windows and tabpages to return/accept handles instead of list indexes.
Diffstat (limited to 'src/nvim/api/tabpage.h')
-rw-r--r--src/nvim/api/tabpage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/tabpage.h b/src/nvim/api/tabpage.h
index abf4377ee4..dddcecbdbd 100644
--- a/src/nvim/api/tabpage.h
+++ b/src/nvim/api/tabpage.h
@@ -11,7 +11,7 @@
/// @param tabpage The tabpage
/// @param[out] err Details of an error that may have occurred
/// @return The number of windows in `tabpage`
-Integer tabpage_get_window_count(Tabpage tabpage, Error *err);
+WindowArray tabpage_get_windows(Tabpage tabpage, Error *err);
/// Gets a tabpage variable
///