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 setmark(int c); |
7 | void free_fmark(fmark_T fm); |
8 | void free_xfmark(xfmark_T fm); |
9 | void clear_fmark(fmark_T *fm) FUNC_ATTR_NONNULL_ALL; |
10 | int setmark_pos(int c, pos_T *pos, int fnum); |
11 | void setpcmark(void); |
12 | void checkpcmark(void); |
13 | pos_T *movemark(int count); |
14 | pos_T *movechangelist(int count); |
15 | pos_T *getmark_buf(buf_T *buf, int c, int changefile); |
16 | pos_T *getmark(int c, int changefile); |
17 | pos_T *getmark_buf_fnum(buf_T *buf, int c, int changefile, int *fnum); |
18 | pos_T *getnextmark(pos_T *startpos, int dir, int begin_line ); |
19 | void fmarks_check_names(buf_T *buf); |
20 | int check_mark(pos_T *pos); |
21 | void clrallmarks(buf_T *const buf) FUNC_ATTR_NONNULL_ALL; |
22 | char_u *fm_getname(fmark_T *fmark, int lead_len); |
23 | void do_marks(exarg_T *eap); |
24 | void ex_delmarks(exarg_T *eap); |
25 | void ex_jumps(exarg_T *eap); |
26 | void ex_clearjumps(exarg_T *eap); |
27 | void ex_changes(exarg_T *eap); |
28 | void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after, _Bool end_temp); |
29 | void mark_adjust_nofold(linenr_T line1, linenr_T line2, long amount, long amount_after, _Bool end_temp); |
30 | void mark_col_adjust(linenr_T lnum, colnr_T mincol, long lnum_amount, long col_amount, int spaces_removed); |
31 | void cleanup_jumplist(win_T *wp, _Bool checktail); |
32 | void copy_jumplist(win_T *from, win_T *to); |
33 | const void *mark_jumplist_iter(const void *const iter, const win_T *const win, xfmark_T *const fm) FUNC_ATTR_NONNULL_ARG(2, 3) FUNC_ATTR_WARN_UNUSED_RESULT; |
34 | const void *mark_global_iter(const void *const iter, char *const name, xfmark_T *const fm) FUNC_ATTR_NONNULL_ARG(2, 3) FUNC_ATTR_WARN_UNUSED_RESULT; |
35 | const void *mark_buffer_iter(const void *const iter, const buf_T *const buf, char *const name, fmark_T *const fm) FUNC_ATTR_NONNULL_ARG(2, 3, 4) FUNC_ATTR_WARN_UNUSED_RESULT; |
36 | _Bool mark_set_global(const char name, const xfmark_T fm, const _Bool update); |
37 | _Bool mark_set_local(const char name, buf_T *const buf, const fmark_T fm, const _Bool update) FUNC_ATTR_NONNULL_ALL; |
38 | void free_jumplist(win_T *wp); |
39 | void set_last_cursor(win_T *win); |
40 | void mark_mb_adjustpos(buf_T *buf, pos_T *lp) FUNC_ATTR_NONNULL_ALL; |
41 | #include "nvim/func_attr.h" |
42 | |