mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 03:16:31 +00:00
multigrid: reorganize types and global varaibles
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "nvim/func_attr.h"
|
||||
#include "nvim/types.h"
|
||||
|
||||
#define ARRAY_DICT_INIT {.size = 0, .capacity = 0, .items = NULL}
|
||||
#define STRING_INIT {.data = NULL, .size = 0}
|
||||
@@ -20,8 +21,6 @@
|
||||
# define DictionaryOf(...) Dictionary
|
||||
#endif
|
||||
|
||||
typedef int handle_T;
|
||||
|
||||
// Basic types
|
||||
typedef enum {
|
||||
kErrorTypeNone = -1,
|
||||
|
@@ -264,7 +264,7 @@ void nvim_ui_try_resize_grid(uint64_t channel_id, Integer grid, Integer width,
|
||||
return;
|
||||
}
|
||||
|
||||
ui_grid_resize((GridHandle)grid, (int)width, (int)height, error);
|
||||
ui_grid_resize((handle_T)grid, (int)width, (int)height, error);
|
||||
}
|
||||
|
||||
/// Pushes data into UI.UIData, to be consumed later by remote_ui_flush().
|
||||
|
Reference in New Issue
Block a user