mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
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.
This commit is contained in:
@@ -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
|
||||
///
|
||||
|
Reference in New Issue
Block a user