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.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.c')
-rw-r--r-- | src/api.c | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/src/api.c b/src/api.c deleted file mode 100644 index 93aee546c6..0000000000 --- a/src/api.c +++ /dev/null @@ -1,112 +0,0 @@ -#include <stdint.h> -#include <stdlib.h> - -#include "api.h" - -void api_push_keys(char *str) -{ - abort(); -} - -void api_command(char *str) -{ - abort(); -} - -void api_eval(char *str) -{ - abort(); -} - -uint32_t api_bind_eval(char *str) -{ - abort(); -} - -char **api_list_runtime_paths() -{ - abort(); -} - -char **api_list_buffers(void) -{ - abort(); - return NULL; -} - -char **api_list_windows(void) -{ - abort(); - return NULL; -} - -char **api_list_tabpages(void) -{ - abort(); - return NULL; -} - -char *api_get_current_line(void) -{ - abort(); - return NULL; -} - -uint32_t api_get_current_buffer(void) -{ - abort(); - return 0; -} - -uint32_t api_get_current_window(void) -{ - abort(); - return 0; -} - -uint32_t api_get_current_tabpage(void) -{ - abort(); - return 0; -} - -void api_set_current_line(char *line) -{ - abort(); -} - -void api_set_current_buffer(uint32_t id) -{ - abort(); -} - -void api_set_current_window(uint32_t id) -{ - abort(); -} - -void api_set_current_tabpage(uint32_t id) -{ - abort(); -} - -char *api_get_option(char *name) -{ - abort(); - return NULL; -} - -void api_set_option(char *name, char *value) -{ - abort(); -} - -void api_out_write(char *str) -{ - abort(); -} - -void api_err_write(char *str) -{ - abort(); -} |