diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-07 17:59:16 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-12 19:28:30 -0300 |
commit | b3268d071277c8967b3e3ecb60430718e1f36472 (patch) | |
tree | 37fbdeb52835cd3fff0648301292aec12f25bb12 /src/api/window.c | |
parent | fc22317389fa8713f27f5a754ee142ae003f5871 (diff) | |
download | rneovim-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/window.c')
-rw-r--r-- | src/api/window.c | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/api/window.c b/src/api/window.c new file mode 100644 index 0000000000..fe59c2dc8b --- /dev/null +++ b/src/api/window.c @@ -0,0 +1,73 @@ +#include <stdbool.h> +#include <stdint.h> +#include <stdlib.h> + +#include "api/window.h" +#include "api/defs.h" + + +Buffer window_get_buffer(Window window, Error *err) +{ + abort(); +} + +Position window_get_cursor(Window window, Error *err) +{ + abort(); +} + +void window_set_cursor(Window window, Position pos, Error *err) +{ + abort(); +} + +int64_t window_get_height(Window window, Error *err) +{ + abort(); +} + +void window_set_height(Window window, int64_t height, Error *err) +{ + abort(); +} + +int64_t window_get_width(Window window, Error *err) +{ + abort(); +} + +Object window_get_var(Window window, String name, Error *err) +{ + abort(); +} + +void window_set_var(Window window, String name, Object value, Error *err) +{ + abort(); +} + +String window_get_option(Window window, String name, Error *err) +{ + abort(); +} + +void window_set_option(Window window, String name, String value, Error *err) +{ + abort(); +} + +Position window_get_pos(Window window, Error *err) +{ + abort(); +} + +Tabpage window_get_tabpage(Window window, Error *err) +{ + abort(); +} + +bool window_is_valid(Window window) +{ + abort(); +} + |