mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
API: Refactor: Add macro infrastructure for typed arrays
- Add macros supporting typed arrays in the remote API - Refactor StringArray-related functions on top of the new macros
This commit is contained in:
@@ -34,10 +34,7 @@ REMOTE_TYPE(Tabpage);
|
||||
|
||||
typedef struct object Object;
|
||||
|
||||
typedef struct {
|
||||
String *items;
|
||||
size_t size;
|
||||
} StringArray;
|
||||
TYPED_ARRAY_OF(String);
|
||||
|
||||
typedef struct {
|
||||
Integer row, col;
|
||||
|
Reference in New Issue
Block a user