mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
API: Refactor: Register/unregister created/destroyed windows
- Add the 'handle' field to `win_T` - Add declare/implement functions for registering/unregistering/retrieving windows - Register/unregister windows when they are created/destroyed.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
void handle_unregister_##name(type *name);
|
||||
|
||||
HANDLE_DECLS(buf_T, buffer)
|
||||
HANDLE_DECLS(win_T, window)
|
||||
|
||||
void handle_init(void);
|
||||
|
||||
|
Reference in New Issue
Block a user