1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | int get_op_type(int char1, int char2); |
7 | int op_on_lines(int op); |
8 | int get_op_char(int optype); |
9 | int (int optype); |
10 | void op_shift(oparg_T *oap, int curs_top, int amount); |
11 | void shift_line(int left, int round, int amount, int call_changed_bytes ); |
12 | void op_reindent(oparg_T *oap, Indenter how); |
13 | int get_expr_register(void); |
14 | void set_expr_line(char_u *new_line); |
15 | char_u *get_expr_line(void); |
16 | char_u *get_expr_line_src(void); |
17 | _Bool valid_yank_reg(int regname, _Bool writing); |
18 | yankreg_T *get_yank_register(int regname, int mode); |
19 | yankreg_T *copy_register(int name) FUNC_ATTR_NONNULL_RET; |
20 | _Bool yank_register_mline(int regname); |
21 | int do_record(int c); |
22 | int do_execreg(int regname, int colon, int addcr, int silent ); |
23 | int insert_reg(int regname, int literally ); |
24 | _Bool get_spec_reg(int regname, char_u **argp, _Bool *allocated, _Bool errmsg ); |
25 | _Bool cmdline_paste_reg(int regname, _Bool literally, _Bool remcr); |
26 | int op_delete(oparg_T *oap); |
27 | int op_replace(oparg_T *oap, int c); |
28 | void op_tilde(oparg_T *oap); |
29 | _Bool swapchar(int op_type, pos_T *pos) FUNC_ATTR_NONNULL_ARG(2); |
30 | void op_insert(oparg_T *oap, long count1); |
31 | int op_change(oparg_T *oap); |
32 | void init_yank(void); |
33 | void free_register(yankreg_T *reg) FUNC_ATTR_NONNULL_ALL; |
34 | _Bool op_yank(oparg_T *oap, _Bool message, int deleting) FUNC_ATTR_NONNULL_ALL; |
35 | void do_put(int regname, yankreg_T *reg, int dir, long count, int flags); |
36 | void adjust_cursor_eol(void); |
37 | int preprocs_left(void); |
38 | int get_register_name(int num); |
39 | void ex_display(exarg_T *eap); |
40 | char_u *(char_u *line, _Bool process, _Bool include_space, _Bool * ); |
41 | int do_join(size_t count, int insert_space, int save_undo, int use_formatoptions, _Bool setmark); |
42 | void op_format(oparg_T *oap, int keep_cursor ); |
43 | void op_formatexpr(oparg_T *oap); |
44 | int fex_format(linenr_T lnum, long count, int c ); |
45 | void format_lines(linenr_T line_count, int avoid_fex ); |
46 | int paragraph_start(linenr_T lnum); |
47 | void op_addsub(oparg_T *oap, linenr_T Prenum1, _Bool g_cmd); |
48 | int do_addsub(int op_type, pos_T *pos, int length, linenr_T Prenum1); |
49 | MotionType get_reg_type(int regname, colnr_T *reg_width); |
50 | void format_reg_type(MotionType reg_type, colnr_T reg_width, char *buf, size_t buf_len) FUNC_ATTR_NONNULL_ALL; |
51 | void *get_reg_contents(int regname, int flags); |
52 | void write_reg_contents(int name, const char_u *str, ssize_t len, int must_append); |
53 | void write_reg_contents_lst(int name, char_u **strings, _Bool must_append, MotionType yank_type, colnr_T block_len); |
54 | void write_reg_contents_ex(int name, const char_u *str, ssize_t len, _Bool must_append, MotionType yank_type, colnr_T block_len); |
55 | void clear_oparg(oparg_T *oap); |
56 | void cursor_pos_info(dict_T *dict); |
57 | int get_default_register_name(void); |
58 | _Bool prepare_yankreg_from_object(yankreg_T *reg, String regtype, size_t lines); |
59 | void finish_yankreg_from_object(yankreg_T *reg, _Bool clipboard_adjust); |
60 | void start_batch_changes(void); |
61 | void end_batch_changes(void); |
62 | int save_batch_count(void); |
63 | void restore_batch_count(int save_count); |
64 | const void *op_global_reg_iter(const void *const iter, char *const name, yankreg_T *const reg, _Bool *is_unnamed) FUNC_ATTR_NONNULL_ARG(2, 3, 4) FUNC_ATTR_WARN_UNUSED_RESULT; |
65 | const void *op_reg_iter(const void *const iter, const yankreg_T *const regs, char *const name, yankreg_T *const reg, _Bool *is_unnamed) FUNC_ATTR_NONNULL_ARG(3, 4, 5) FUNC_ATTR_WARN_UNUSED_RESULT; |
66 | size_t op_reg_amount(void) FUNC_ATTR_WARN_UNUSED_RESULT; |
67 | _Bool op_reg_set(const char name, const yankreg_T reg, _Bool is_unnamed); |
68 | const yankreg_T *op_reg_get(const char name); |
69 | _Bool op_reg_set_previous(const char name) FUNC_ATTR_WARN_UNUSED_RESULT; |
70 | #include "nvim/func_attr.h" |
71 | |