diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-23 22:15:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-23 22:15:25 +0200 |
commit | c3328169d5566b97a6a6921067017e4369dd7cd6 (patch) | |
tree | 88ffb8f039efc23a461181aeae7b0bdf606b2404 /src/proto/ops.pro | |
parent | c61a48d25995e5ee2a3813f64c531b91bb23e9b9 (diff) | |
download | vim-git-c3328169d5566b97a6a6921067017e4369dd7cd6.tar.gz |
patch 8.1.1736: viminfo support is spread outv8.1.1736
Problem: Viminfo support is spread out.
Solution: Move more viminfo code to viminfo.c. (Yegappan Lakshmanan,
closes #4717) Reorder code to make most functions static.
Diffstat (limited to 'src/proto/ops.pro')
-rw-r--r-- | src/proto/ops.pro | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/proto/ops.pro b/src/proto/ops.pro index 0ff27a2c8..ed5877dfb 100644 --- a/src/proto/ops.pro +++ b/src/proto/ops.pro @@ -1,4 +1,8 @@ /* ops.c */ +yankreg_T *get_y_regs(void); +yankreg_T *get_y_current(void); +yankreg_T *get_y_previous(void); +void set_y_previous(yankreg_T *yreg); int get_op_type(int char1, int char2); int op_on_lines(int op); int op_is_change(int op); @@ -19,6 +23,8 @@ void put_register(int name, void *reg); void free_register(void *reg); int yank_register_mline(int regname); int do_record(int c); +int get_execreg_lastc(void); +void set_execreg_lastc(int lastc); int do_execreg(int regname, int colon, int addcr, int silent); int insert_reg(int regname, int literally_arg); int get_spec_reg(int regname, char_u **argp, int *allocated, int errmsg); @@ -47,11 +53,6 @@ int fex_format(linenr_T lnum, long count, int c); void format_lines(linenr_T line_count, int avoid_fex); int paragraph_start(linenr_T lnum); void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); -void prepare_viminfo_registers(void); -void finish_viminfo_registers(void); -int read_viminfo_register(vir_T *virp, int force); -void handle_viminfo_register(garray_T *values, int force); -void write_viminfo_registers(FILE *fp); void x11_export_final_selection(void); void clip_free_selection(Clipboard_T *cbd); void clip_get_selection(Clipboard_T *cbd); |