aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/handle.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-23 15:49:35 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-23 16:06:58 -0300
commit5fdf854f78eb1a87acb2d28b3d941d988bd1b74e (patch)
tree8210d30edfa8a0660ad38a7627c8b7555969ed3d /src/nvim/api/private/handle.h
parent20848c4064fc82c160d68770b2e64f5115f0bf60 (diff)
downloadrneovim-5fdf854f78eb1a87acb2d28b3d941d988bd1b74e.tar.gz
rneovim-5fdf854f78eb1a87acb2d28b3d941d988bd1b74e.tar.bz2
rneovim-5fdf854f78eb1a87acb2d28b3d941d988bd1b74e.zip
API: Refactor: Register/unregister created/destroyed tabpages
- Add the 'handle' field to `tabpage_T` - Add declare/implement functions for registering/unregistering/retrieving tabpages - Register/unregister tabpages when they are created/destroyed.
Diffstat (limited to 'src/nvim/api/private/handle.h')
-rw-r--r--src/nvim/api/private/handle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/private/handle.h b/src/nvim/api/private/handle.h
index 29c80e10d4..27df453233 100644
--- a/src/nvim/api/private/handle.h
+++ b/src/nvim/api/private/handle.h
@@ -11,6 +11,7 @@
HANDLE_DECLS(buf_T, buffer)
HANDLE_DECLS(win_T, window)
+HANDLE_DECLS(tabpage_T, tabpage)
void handle_init(void);