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.
This commit is contained in:
Thiago de Arruda
2014-05-23 15:49:35 -03:00
parent 20848c4064
commit 5fdf854f78
4 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
HANDLE_DECLS(buf_T, buffer)
HANDLE_DECLS(win_T, window)
HANDLE_DECLS(tabpage_T, tabpage)
void handle_init(void);