mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
api: Allow kObjectTypeNil to be zero without breaking compatibility
This commit is contained in:
@@ -100,15 +100,16 @@ typedef struct {
|
||||
|
||||
typedef enum {
|
||||
kObjectTypeNil = 0,
|
||||
kObjectTypeBuffer,
|
||||
kObjectTypeWindow,
|
||||
kObjectTypeTabpage,
|
||||
kObjectTypeBoolean,
|
||||
kObjectTypeInteger,
|
||||
kObjectTypeFloat,
|
||||
kObjectTypeString,
|
||||
kObjectTypeArray,
|
||||
kObjectTypeDictionary,
|
||||
// EXT types, cannot be split or reordered, see #EXT_OBJECT_TYPE_SHIFT
|
||||
kObjectTypeBuffer,
|
||||
kObjectTypeWindow,
|
||||
kObjectTypeTabpage,
|
||||
} ObjectType;
|
||||
|
||||
struct object {
|
||||
|
Reference in New Issue
Block a user