aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/api/private/defs.h')
-rw-r--r--src/nvim/api/private/defs.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/api/private/defs.h b/src/nvim/api/private/defs.h
index 689594f231..11800ed786 100644
--- a/src/nvim/api/private/defs.h
+++ b/src/nvim/api/private/defs.h
@@ -8,7 +8,6 @@
#define ARRAY_DICT_INIT {.size = 0, .items = NULL}
#define STRING_INIT {.data = NULL, .size = 0}
#define OBJECT_INIT { .type = kObjectTypeNil }
-#define POSITION_INIT { .row = 0, .col = 0 }
#define REMOTE_TYPE(type) typedef uint64_t type
// Basic types
@@ -33,10 +32,6 @@ REMOTE_TYPE(Tabpage);
typedef struct object Object;
typedef struct {
- Integer row, col;
-} Position;
-
-typedef struct {
Object *items;
size_t size, capacity;
} Array;
@@ -52,7 +47,6 @@ typedef enum {
// The following comments are markers that msgpack-gen.lua uses to extract
// types, don't remove!
// start custom types
- kObjectTypePosition,
kObjectTypeBuffer,
kObjectTypeWindow,
kObjectTypeTabpage,
@@ -69,7 +63,6 @@ typedef enum {
struct object {
ObjectType type;
union {
- Position position;
Buffer buffer;
Window window;
Tabpage tabpage;