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 u_save_cursor(void); |
7 | int u_save(linenr_T top, linenr_T bot); |
8 | int u_savesub(linenr_T lnum); |
9 | int u_inssub(linenr_T lnum); |
10 | int u_savedel(linenr_T lnum, long nlines); |
11 | _Bool undo_allowed(void); |
12 | int u_savecommon(linenr_T top, linenr_T bot, linenr_T newbot, int reload); |
13 | void u_compute_hash(char_u *hash); |
14 | char *u_get_undo_file_name(const char *const buf_ffname, const _Bool reading) FUNC_ATTR_WARN_UNUSED_RESULT; |
15 | void u_write_undo(const char *const name, const _Bool forceit, buf_T *const buf, char_u *const hash) FUNC_ATTR_NONNULL_ARG(3, 4); |
16 | void u_read_undo(char *name, char_u *hash, char_u *orig_name) FUNC_ATTR_NONNULL_ARG(2); |
17 | void u_undo(int count); |
18 | void u_redo(int count); |
19 | _Bool u_undo_and_forget(int count); |
20 | void undo_time(long step, _Bool sec, _Bool file, _Bool absolute); |
21 | void u_sync(int force ); |
22 | void ex_undolist(exarg_T *eap); |
23 | void ex_undojoin(exarg_T *eap); |
24 | void u_unchanged(buf_T *buf); |
25 | void u_find_first_changed(void); |
26 | void u_update_save_nr(buf_T *buf); |
27 | void u_clearall(buf_T *buf); |
28 | void u_saveline(linenr_T lnum); |
29 | void u_clearline(void); |
30 | void u_undoline(void); |
31 | void u_blockfree(buf_T *buf); |
32 | _Bool bufIsChanged(buf_T *buf) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT; |
33 | _Bool anyBufIsChanged(void) FUNC_ATTR_WARN_UNUSED_RESULT; |
34 | _Bool curbufIsChanged(void) FUNC_ATTR_WARN_UNUSED_RESULT; |
35 | list_T *u_eval_tree(const u_header_T *const first_uhp) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_RET; |
36 | #include "nvim/func_attr.h" |
37 | |