aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/deprecated.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-12-05 14:34:17 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2020-12-05 14:34:17 +0100
commitb1ef6de6208354d4d1ef8f60e95abaec7e7257ed (patch)
treef23c1725567bb8440890099132abc9fdb11f096f /src/nvim/api/deprecated.h
parentc348e816fc530f185d799270ad3c39bd0d6799a6 (diff)
downloadrneovim-b1ef6de6208354d4d1ef8f60e95abaec7e7257ed.tar.gz
rneovim-b1ef6de6208354d4d1ef8f60e95abaec7e7257ed.tar.bz2
rneovim-b1ef6de6208354d4d1ef8f60e95abaec7e7257ed.zip
api: move deprecated functions to separate files
Most these are just calls to non-deprecated variants, and take up unnecessary space and search hits in the other files.
Diffstat (limited to 'src/nvim/api/deprecated.h')
-rw-r--r--src/nvim/api/deprecated.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/api/deprecated.h b/src/nvim/api/deprecated.h
new file mode 100644
index 0000000000..79095167e1
--- /dev/null
+++ b/src/nvim/api/deprecated.h
@@ -0,0 +1,11 @@
+#ifndef NVIM_API_DEPRECATED_H
+#define NVIM_API_DEPRECATED_H
+
+#include <stdint.h>
+
+#include "nvim/api/private/defs.h"
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "api/deprecated.h.generated.h"
+#endif
+#endif // NVIM_API_DEPRECATED_H