aboutsummaryrefslogtreecommitdiff
path: root/src/api/tabpage.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-07 17:59:16 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-12 19:28:30 -0300
commitb3268d071277c8967b3e3ecb60430718e1f36472 (patch)
tree37fbdeb52835cd3fff0648301292aec12f25bb12 /src/api/tabpage.c
parentfc22317389fa8713f27f5a754ee142ae003f5871 (diff)
downloadrneovim-b3268d071277c8967b3e3ecb60430718e1f36472.tar.gz
rneovim-b3268d071277c8967b3e3ecb60430718e1f36472.tar.bz2
rneovim-b3268d071277c8967b3e3ecb60430718e1f36472.zip
Refactor API types and prototypes
- Split functions with multiple files in the 'api' subdirectory - Move/Add more types in the 'api/defs.h' header - Add more prototypes - Refactor scripts/msgpack-gen.lua - Move msgpack modules to 'os' subdirectory
Diffstat (limited to 'src/api/tabpage.c')
-rw-r--r--src/api/tabpage.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/api/tabpage.c b/src/api/tabpage.c
new file mode 100644
index 0000000000..1bbde0d986
--- /dev/null
+++ b/src/api/tabpage.c
@@ -0,0 +1,32 @@
+#include <stdbool.h>
+#include <stdint.h>
+#include <stdlib.h>
+
+#include "api/tabpage.h"
+#include "api/defs.h"
+
+int64_t tabpage_get_window_count(Tabpage tabpage, Error *err)
+{
+ abort();
+}
+
+Object tabpage_get_var(Tabpage tabpage, String name, Error *err)
+{
+ abort();
+}
+
+void tabpage_set_var(Tabpage tabpage, String name, Object value, Error *err)
+{
+ abort();
+}
+
+Window tabpage_get_buffer(Tabpage tabpage, Error *err)
+{
+ abort();
+}
+
+bool tabpage_is_valid(Tabpage tabpage)
+{
+ abort();
+}
+