diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-09-11 04:01:41 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-09-13 16:20:09 +0200 |
commit | df072c3b2b20fb7d3d9d50b5ab0df92827aa628f (patch) | |
tree | fb80cb1409d60a6316d534b989451cd9986934e6 /src/nvim/fileio.h | |
parent | 7eb4d2f79dcc712dae1513516b9db5f574d51437 (diff) | |
download | rneovim-df072c3b2b20fb7d3d9d50b5ab0df92827aa628f.tar.gz rneovim-df072c3b2b20fb7d3d9d50b5ab0df92827aa628f.tar.bz2 rneovim-df072c3b2b20fb7d3d9d50b5ab0df92827aa628f.zip |
refactor: eliminate misc2.c
move `call_shell` to misc1.c
Move some fns to state.c
Move some fns to option.c
Move some fns to memline.c
Move `vim_chdir*` fns to file_search.c
Move some fns to new module, bytes.c
Move some fns to fileio.c
Diffstat (limited to 'src/nvim/fileio.h')
-rw-r--r-- | src/nvim/fileio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/fileio.h b/src/nvim/fileio.h index d93f3f3eb3..ceb101167d 100644 --- a/src/nvim/fileio.h +++ b/src/nvim/fileio.h @@ -12,6 +12,8 @@ #define READ_DUMMY 0x10 /* reading into a dummy buffer */ #define READ_KEEP_UNDO 0x20 /* keep undo info*/ +#define READ_STRING(x, y) (char_u *)read_string((x), (size_t)(y)) + /* * Struct to save values in before executing autocommands for a buffer that is * not the current buffer. |